BreachSpiderVerified, not vibes

CVE-2025-40249 in Associated products

High 7.8

In the Linux kernel, the following vulnerability has been resolved: gpio: cdev: make sure the cdev fd is still active before emitting events With the final call to fput() on a file descriptor, the release action may be deferred and scheduled on a work queue. The reference count of that descriptor is still zero and...

Affects 1 product from 5 vendors. Facts below cite their sources.

CVSS 3.17.8
EPSS0.2%
EPSS percentile7th
FixUnknown

Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Associated — —
Callback — —
Count — —
Kernel — —
Linux Linux 6.13

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

In the Linux kernel, the following vulnerability has been resolved: gpio: cdev: make sure the cdev fd is still active before emitting events With the final call to fput() on a file descriptor, the release action may be deferred and scheduled on a work queue. The reference count of that descriptor is still zero and it must not be used. It's possible that a GPIO change, we want to notify the user-space about, happens AFTER the reference count on the file descriptor associated with the character device went down to zero but BEFORE the .release() callback was called from the workqueue and so BEFORE we unregistered from the notifier. Using the regular get_file() routine in this situation triggers the following warning: struct file::f_count incremented from zero; use-after-free condition present! So use the get_file_active() variant that will return NULL on file descriptors that have been or are being released.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-40249
BreachSpider IDBS-2025-GLOBAL-259008-I
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2025-12-04
Last modified2026-10-19
SourceNVD

Analysis AI-written, not human-reviewed

A vulnerability in the Linux kernel's GPIO character device (cdev) implementation could allow an attacker to potentially exploit a race condition where a file descriptor is used after it has been released.

The vulnerability arises from a race condition where the final call to fput() on a file descriptor may be deferred and scheduled on a work queue. This can lead to a situation where the reference count of the descriptor is zero, and it should not be used. If a GPIO change event occurs during this window, it could lead to undefined behavior, including potential privilege escalation or denial of service.

Questions

What is CVE-2025-40249?

A vulnerability in the Linux kernel's GPIO character device (cdev) implementation could allow an attacker to potentially exploit a race condition where a file descriptor is used after it has been released.

What is the CVSS score for CVE-2025-40249?

CVE-2025-40249 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.2%.

Is CVE-2025-40249 actively exploited?

No confirmed active exploitation of CVE-2025-40249 as of 2026-10-25.

How do I remediate CVE-2025-40249?

Priority: MEDIUM.

What systems are affected by CVE-2025-40249?

CVE-2025-40249 affects Associated; Callback; Count; Kernel; Linux Linux.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Associated","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-19.