CVE-2023-54119

inotify: Avoid reporting event with invalid wd

published December 24, 2025

CVSS
—
EPSS
0%
Percentile
11.2
In the wild
Unconfirmed
What it is

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).

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00214 · 11.2th percentile
Published
2025-12-24T13:06Z
EPSS history
Timeline
  • 24 DEC 13:06Z
    inotify: Avoid reporting event with invalid wd
    cvelistv5