CVE-2023-54119 — Time-of-check Time-of-use (TOCTOU) Race Condition in Linux
Severity
3.3LOW
No vectorEPSS
0.0%
top 89.30%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedDec 24
Description
In the Linux kernel, the following vulnerability has been resolved:
inotify: Avoid reporting event with invalid wd
When inotify_freeing_mark() races with inotify_handle_inode_event() it
can happen that inotify_handle_inode_event() sees that i_mark->wd got
already reset to -1 and reports this value to userspace which can
confuse the inotify listener. Avoid the problem by validating that wd is
sensible (and pretend the mark got removed before the event got
generated otherwise).
Affected Packages4 packages
▶CVEListV5linux/linux7e790dd5fc937bc8d2400c30a05e32a9e9eef276 — 8fb33166aed888769ea63d6af49515893f8a1f14+7
🔴Vulnerability Details
3GHSA▶
GHSA-wgxf-ch55-cw7h: In the Linux kernel, the following vulnerability has been resolved:
inotify: Avoid reporting event with invalid wd
When inotify_freeing_mark() races↗2025-12-24
OSV▶
CVE-2023-54119: In the Linux kernel, the following vulnerability has been resolved: inotify: Avoid reporting event with invalid wd When inotify_freeing_mark() races w↗2025-12-24