What’s Vulnerable › Vulnerabilities

CVE-2026-99637: ovl: inherit FMODE_NONOTIFY when opening directory realfiles

Description

In the Linux kernel, the following vulnerability has been resolved: ovl: inherit FMODE_NONOTIFY when opening directory realfiles When fanotify hands a listener an fd for a permission event on an overlay directory, ovl_dir_open_realfile() opens the real directory via dentry_open(), not backing_file_open(), so the lower open could still raise FS_OPEN_PERM and deadlock a listener that also marks the backing filesystem. Export dentry_open_nonotify() and call it from ovl_path_open_realfile() when the overlay user file must not generate events. Ordinary ovl_path_open() callers are unchanged.

Affected products

How to fix

Upgrade to a fixed version: Linux 7.4-rc2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-99637 or the next vulnerability affects your stack