Bug 2586805 (CVE-2026-139051) - CVE-2026-139051 kernel: kernel: Denial of Service via race condition in fsnotify
Summary: CVE-2026-139051 kernel: kernel: Denial of Service via race condition in fsnotify
Keywords:
Status: NEW
Alias: CVE-2026-139051
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 14:41 UTC by OSIDB Bzimport
Modified: 2026-12-01 03:45 UTC (History)
17 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 14:41:30 UTC
In the Linux kernel, the following vulnerability has been resolved:

fs: make sure to call fsnotify_inoderemove() only once when inode is dead

Daehyeon reported a race wherein fsnotify_removeinode() can be called
when inode still has a live alias.  This can lead to several undesired
outcomes such as crashes in fsnotify code or avoidance of inode mark
notifications.

Check that inode is really "dead", meaning no nlink and no more aliases
before calling fsnotify_inoderemove() for final cleanup of inode marks.
Also do not allow open_by_handle() to add new aliases to a "dead" inode.

Ideally, we'd call fsnotify_inoderemove() once last inode reference is
dropped to make things simpler. Alas fsnotify inode marks currently hold
inode references and thus this doesn't work. Once we teach fsnotify to
avoid holding inode references, these games with dead inodes can go as
well.


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