libceph: remove debugfs files before client teardown
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel fe46b7e06f14f6f94766832df309b249cb689d27, Kernel 463a264e9094384112a5c8b46f0a9ddaf8566904, Kernel 8f5a3abc54ba24dbceb14cc3a719908c4f688091 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: libceph: remove debugfs files before client teardown ceph_destroy_client() tears down the monitor client before removing the per-client debugfs files. A concurrent read of the monmap debugfs file can enter monmap_show() after ceph_monc_stop() has freed monc->monmap, triggering a use-after-free. Remove the debugfs files before stopping the OSD and monitor clients. debugfs_remove() drains active handlers and prevents new accesses, so the debugfs callbacks can no longer race the rest of client teardown.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=76aa844d5b2fb8c839180d3f5874e333b297e5fd <fe46b7e06f14f6f94766832df309b249cb689d27, >=76aa844d5b2fb8c839180d3f5874e333b297e5fd <463a264e9094384112a5c8b46f0a9ddaf8566904, >=76aa844d5b2fb8c839180d3f5874e333b297e5fd <8f5a3abc54ba24dbceb14cc3a719908c4f688091, >=76aa844d5b2fb8c839180d3f5874e333b297e5fd <ac78549d186090ee7125d28c3a8c376573b36194, >=76aa844d5b2fb8c839180d3f5874e333b297e5fd <b9fedda2f628e030384228de0dafc574b7fb0c2f, >=76aa844d5b2fb8c839180d3f5874e333b297e5fd <d3dc8889d39a676bf840132bd5c5c48cb0daba23, >=76aa844d5b2fb8c839180d3f5874e333b297e5fd <e4c804726c4afce3ba648b982d564f6af2cfa328, >=76aa844d5b2fb8c839180d3f5874e333b297e5fd <fc1010e7e0204ece6cc0f9af4f473e9553535eab, =2.6.34 | fe46b7e06f14f6f94766832df309b249cb689d27, 463a264e9094384112a5c8b46f0a9ddaf8566904, 8f5a3abc54ba24dbceb14cc3a719908c4f688091, ac78549d186090ee7125d28c3a8c376573b36194, b9fedda2f628e030384228de0dafc574b7fb0c2f, d3dc8889d39a676bf840132bd5c5c48cb0daba23, e4c804726c4afce3ba648b982d564f6af2cfa328, fc1010e7e0204ece6cc0f9af4f473e9553535eab |
| linux-kernel: Kernel | >=5.11.0 <5.15.216, >=5.16.0 <6.1.183, >=6.13.0 <6.18.42, >=6.19.0 <7.1.6, >=6.2.0 <6.6.148, >=6.7.0 <6.12.101, >=2.6.34 <5.10.265 | 5.15.216, 6.1.183, 6.18.42, 7.1.6, 6.6.148, 6.12.101, 5.10.265 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket