CVE-2026-139051: fs: make sure to call fsnotify_inoderemove() only once when inode is dead
fs: make sure to call fsnotifyinoderemove() only once when inode is dead
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.117 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.63 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.4-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1Fixed in 7.3.4-1
Event History
Frequently Asked Questions
What conditions are needed to trigger the race?
The race requires fsnotify_removeinode() to run while the inode still has a live alias. The issue also involves open_by_handle(), which could otherwise add new aliases to an inode considered dead.
What is the practical impact if the race occurs?
It can cause crashes in fsnotify code or prevent inode mark notifications from being delivered. The fix defers final inode-mark cleanup until the inode has no links and no remaining aliases.