ovl: check that the parents of volatile/dirty are dirs
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e34d2ef818e4c7676d8d8e1bf43e6a1ed39efb2a, Kernel 3bf6fda63259692331d21392c3f7c0c02594dae5, Kernel 68439a05ed529a8b0350f8c6ff3618ff4a8d972d and 4 more.
In the Linux kernel, the following vulnerability has been resolved: ovl: check that the parents of volatile/dirty are dirs An unprivileged user crashes the kernel by mounting overlayfs with the volatile option. A dentry that serves as the parent of a lookup must be a directory. ovl_create_volatile_dirty() walks work/incompat/volatile/dirty by name, and ovl_lookup_or_create() returns an existing entry whatever its type. A file or a symlink that another task creates during the mount becomes the parent of the next lookup, which calls a NULL ->lookup. An unprivileged user mounted overlayfs with "volatile" in a user namespace while a second process created a symlink named work/incompat, and the mount task oopsed on a NULL ->lookup call. Fix this by returning -ENOTDIR from ovl_lookup_or_create() when the caller asked for a directory and the existing entry is a non-dir.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=c86243b090bc25f81abe33ddfa9fe833e02c4d64 <e34d2ef818e4c7676d8d8e1bf43e6a1ed39efb2a, >=c86243b090bc25f81abe33ddfa9fe833e02c4d64 <3bf6fda63259692331d21392c3f7c0c02594dae5, >=c86243b090bc25f81abe33ddfa9fe833e02c4d64 <68439a05ed529a8b0350f8c6ff3618ff4a8d972d, >=c86243b090bc25f81abe33ddfa9fe833e02c4d64 <a343bd631606d9d508808fca272e1e482ed6c61f, =5.10 | e34d2ef818e4c7676d8d8e1bf43e6a1ed39efb2a, 3bf6fda63259692331d21392c3f7c0c02594dae5, 68439a05ed529a8b0350f8c6ff3618ff4a8d972d, a343bd631606d9d508808fca272e1e482ed6c61f |
| linux-kernel: Kernel | >=6.13.0 <6.18.61, >=6.19.0 <7.3.2, >=5.10.0 <6.12.117 | 6.18.61, 7.3.2, 6.12.117 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket