Bug 2425110 (CVE-2023-54119) - CVE-2023-54119 kernel: inotify: Avoid reporting event with invalid wd
Summary: CVE-2023-54119 kernel: inotify: Avoid reporting event with invalid wd
Keywords:
Status: NEW
Alias: CVE-2023-54119
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-24 14:03 UTC by OSIDB Bzimport
Modified: 2025-12-25 01:58 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-24 14:03:38 UTC
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).


Note You need to log in before you can comment on or make changes to this bug.