Nixpkgs security tracker

Login with GitHub
⚠️ You are using a production deployment that is still only suitable for demo purposes. Any work done in this might be wiped later without notice.

Suggestion detail

Dismissed
(max. allowed matches exceeded)
created 4 weeks ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
libceph: remove debugfs files before client teardown

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 products

Linux
  • <e4c804726c4afce3ba648b982d564f6af2cfa328
  • <d3dc8889d39a676bf840132bd5c5c48cb0daba23
  • =<*
  • =<6.6.*
  • <8f5a3abc54ba24dbceb14cc3a719908c4f688091
  • =<6.18.*
  • =<6.12.*
  • ==2.6.34
  • =<7.1.*
  • <b9fedda2f628e030384228de0dafc574b7fb0c2f
  • <2.6.34
  • <fc1010e7e0204ece6cc0f9af4f473e9553535eab