Inotify listener confusion via invalid watch descriptor
Published Dec 24, 2025 · Updated Dec 24, 2025
Race condition in the Linux kernel allows local users to confuse inotify listeners by causing an invalid watch descriptor event. During concurrent mark teardown and inode-event handling, inotify_handle_inode_event() reads i_mark->wd after it has been reset to -1 and reports that value to userspace. Exploitation requires local access and winning the teardown race; the documented consequence is incorrect listener state rather than kernel code execution.
Summary
What happened
Race condition in the Linux kernel allows local users to confuse inotify listeners by causing an invalid watch descriptor event. During concurrent mark teardown and inode-event handling, inotify_handle_inode_event() reads i_mark->wd after it has been reset to -1 and reports that value to userspace. Exploitation requires local access and winning the teardown race; the documented consequence is incorrect listener state rather than kernel code execution.
The record
- CVE
- CVE-2023-54119
- Published
- Dec 24, 2025
- Updated
- Dec 24, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- Unavailable
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 24, 2025CVE publishedPublication date reported by the CVE source.
- Dec 24, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.6.31
- Affected versionversion=7e790dd5fc937bc8d2400c30a05e32a9e9eef276 <145f54ea336b06cf4f92eeee996f2ffca939ea43
- Affected versionversion=7e790dd5fc937bc8d2400c30a05e32a9e9eef276 <17ad86d8c12220de97e80d88b5b4c934a40e1812
- Affected versionversion=7e790dd5fc937bc8d2400c30a05e32a9e9eef276 <2d65c97777e5b4a845637800d5d7b648f5772106
- Affected versionversion=7e790dd5fc937bc8d2400c30a05e32a9e9eef276 <8fb33166aed888769ea63d6af49515893f8a1f14
- Affected versionversion=7e790dd5fc937bc8d2400c30a05e32a9e9eef276 <a48bacee05860c6089c3482bcdc80720b0ee5732
- Affected versionversion=7e790dd5fc937bc8d2400c30a05e32a9e9eef276 <c915d8f5918bea7c3962b09b8884ca128bfd9b0c
- Affected versionversion=7e790dd5fc937bc8d2400c30a05e32a9e9eef276 <fb3294998489d39835006240e9c6e6b2ac62022e
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
No sourced classifications are available.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo