Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 76aa844d5b2fb8c839180d3f5874e333b297e5fd before ac78549d186090ee7125d28c3a8c376573b36194; affected 76aa844d5b2fb8c839180d3f5874e333b297e5fd before 463a264e9094384112a5c8b46f0a9ddaf8566904; affected 76aa844d5b2fb8c839180d3f5874e333b297e5fd before fe46b7e06f14f6f94766832df309b249cb689d27; affected 76aa844d5b2fb8c839180d3f5874e333b297e5fd before fc1010e7e0204ece6cc0f9af4f473e9553535eab; affected 76aa844d5b2fb8c839180d3f5874e333b297e5fd before d3dc8889d39a676bf840132bd5c5c48cb0daba23; affected 76aa844d5b2fb8c839180d3f5874e333b297e5fd before 8f5a3abc54ba24dbceb14cc3a719908c4f688091; affected 76aa844d5b2fb8c839180d3f5874e333b297e5fd before b9fedda2f628e030384228de0dafc574b7fb0c2f; affected 76aa844d5b2fb8c839180d3f5874e333b297e5fd before e4c804726c4afce3ba648b982d564f6af2cfa328 |
| Linux / Linux | affected 2.6.34; unaffected 0 before 2.6.34; unaffected 5.10.265 through 5.10.*; unaffected 5.15.216 through 5.15.*; unaffected 6.1.183 through 6.1.*; unaffected 6.6.148 through 6.6.*; unaffected 6.12.101 through 6.12.*; unaffected 6.18.42 through 6.18.*; unaffected 7.1.6 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/ac78549d186090ee7125d28c3a8c376573b36194
- https://git.kernel.org/stable/c/463a264e9094384112a5c8b46f0a9ddaf8566904
- https://git.kernel.org/stable/c/fe46b7e06f14f6f94766832df309b249cb689d27
- https://git.kernel.org/stable/c/fc1010e7e0204ece6cc0f9af4f473e9553535eab
- https://git.kernel.org/stable/c/d3dc8889d39a676bf840132bd5c5c48cb0daba23
- https://git.kernel.org/stable/c/8f5a3abc54ba24dbceb14cc3a719908c4f688091
- https://git.kernel.org/stable/c/b9fedda2f628e030384228de0dafc574b7fb0c2f
- https://git.kernel.org/stable/c/e4c804726c4afce3ba648b982d564f6af2cfa328
ADP enrichment
No English description supplied.
No references supplied.