dax: read holder_ops once in dax_holder_notify_failure()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0a42180d5410c98829ee72d1d426fb7faf9e6873, Kernel 1661b9bf78def01a8c96409569772d9b2592f4ba, Kernel 6a37acecc7c29136235cbc446a1b89e81414344b and 3 more.
In the Linux kernel, the following vulnerability has been resolved: dax: read holder_ops once in dax_holder_notify_failure() dax_holder_notify_failure() reads dax_dev->holder_ops twice without READ_ONCE() -- once for the NULL check and once for the indirect notify_failure() call. A concurrent fs_put_dax() can clear holder_ops between the two reads, so the check can observe a non-NULL pointer while the call dereferences NULL. (kill_dax() also clears holder_ops, but only after synchronize_srcu(), so it cannot race a reader that is inside dax_read_lock(); fs_put_dax() does no such synchronization.) Fetch holder_ops once into a local with READ_ONCE() so the NULL check and the indirect call observe the same value.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.0, >=8012b866085523758780850087102421dbcce522 <0a42180d5410c98829ee72d1d426fb7faf9e6873, >=8012b866085523758780850087102421dbcce522 <1661b9bf78def01a8c96409569772d9b2592f4ba, >=8012b866085523758780850087102421dbcce522 <6a37acecc7c29136235cbc446a1b89e81414344b, >=8012b866085523758780850087102421dbcce522 <7ae9d15bdcde0f2955ae13b6a95587f9e23b2359, >=8012b866085523758780850087102421dbcce522 <eb412f80311fc7ab6eb3203091a3fe59a5e9fd30, >=8012b866085523758780850087102421dbcce522 <ee1251621d1c7cf3155c6704542cbb358d799968 | 0a42180d5410c98829ee72d1d426fb7faf9e6873, 1661b9bf78def01a8c96409569772d9b2592f4ba, 6a37acecc7c29136235cbc446a1b89e81414344b, 7ae9d15bdcde0f2955ae13b6a95587f9e23b2359, eb412f80311fc7ab6eb3203091a3fe59a5e9fd30, ee1251621d1c7cf3155c6704542cbb358d799968 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket