CVE-2026-139051

medium

Description

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.

References

https://git.kernel.org/stable/c/ced6f89824f84baeb80a1775e72776978e641808

https://git.kernel.org/stable/c/669bb5af15d41a21359d00a441490f87a88eb52a

https://git.kernel.org/stable/c/288194ff49e8e98b4369e73a40c1eb9aeb8fc2e1

https://git.kernel.org/stable/c/18ba0295bd43fc086408f3cf515bc57491dbbe3c

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-138803

Details

Source: Mitre, NVD

Published: 2026-11-30

Updated: 2026-11-30

Risk Information

CVSS v2

Base Score: 4.7

Vector: CVSS2#AV:L/AC:M/Au:N/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 4.7

Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium