CVE-2025-40249 — Use of Expired File Descriptor in Linux
Severity
7.2HIGHOSV
No vectorEPSS
0.0%
top 89.68%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedDec 4
Latest updateApr 6
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 …
Affected Packages5 packages
▶CVEListV5linux/linux40b7c49950bd56c984b1f6722f865b922879260e — dccc6daa8afa0f64c432e4c867f275747e3415e1+2