ovl: inherit FMODE_NONOTIFY when opening directory realfiles
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f9589ab7e895998c6e3b4a2b71acebdc3156c329, Kernel 09eb00634387f24d42f96dcb5a2f9b566185d68c, Kernel 323899b4ed233d5b6e2fc160c16fbf39cf0317da and 12 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=130fdbc3d1f9966dd4230709c30f3768bccd3065 <f9589ab7e895998c6e3b4a2b71acebdc3156c329, >=130fdbc3d1f9966dd4230709c30f3768bccd3065 <09eb00634387f24d42f96dcb5a2f9b566185d68c, >=130fdbc3d1f9966dd4230709c30f3768bccd3065 <323899b4ed233d5b6e2fc160c16fbf39cf0317da, >=130fdbc3d1f9966dd4230709c30f3768bccd3065 <3d9763c9de7871372d8eb3bad2f852574bda8f9f, >=130fdbc3d1f9966dd4230709c30f3768bccd3065 <59290a9eb2988bea24cc18ace316ee28c9f51138, >=130fdbc3d1f9966dd4230709c30f3768bccd3065 <628e3fb65f8bed95638c9359f280c57a1ce15200, >=130fdbc3d1f9966dd4230709c30f3768bccd3065 <96e109ae697eb1b14e5f28ecc00312e023ae5775, >=130fdbc3d1f9966dd4230709c30f3768bccd3065 <c3ccfbb2acb259b5d3d030fdb63d3cf96de33330, =5.8 | f9589ab7e895998c6e3b4a2b71acebdc3156c329, 09eb00634387f24d42f96dcb5a2f9b566185d68c, 323899b4ed233d5b6e2fc160c16fbf39cf0317da, 3d9763c9de7871372d8eb3bad2f852574bda8f9f, 59290a9eb2988bea24cc18ace316ee28c9f51138, 628e3fb65f8bed95638c9359f280c57a1ce15200, 96e109ae697eb1b14e5f28ecc00312e023ae5775, c3ccfbb2acb259b5d3d030fdb63d3cf96de33330 |
| linux-kernel: Kernel | >=5.16.0 <6.1.193, >=5.8.0 <5.10.275, >=6.13.0 <6.18.65, >=6.19.0 <7.3.5, >=6.2.0 <6.6.163, >=6.7.0 <6.12.119, >=5.11.0 <5.15.226 | 6.1.193, 5.10.275, 6.18.65, 7.3.5, 6.6.163, 6.12.119, 5.15.226 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket