CVE-2026-23047

libceph: make calc_target() set t->paused, not just clear it

State
Published
Severity
Not scored
Published
Feb 4, 2026
Updated
May 11, 2026
Reserved
Jan 13, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

libceph: make calc_target() set t->paused, not just clear it

Currently calc_target() clears t->paused if the request shouldn't be paused anymore, but doesn't ever set t->paused even though it's able to determine when the request should be paused. Setting t->paused is left to __submit_request() which is fine for regular requests but doesn't work for linger requests -- since __submit_request() doesn't operate on linger requests, there is nowhere for lreq->t.paused to be set. One consequence of this is that watches don't get reestablished on paused -> unpaused transitions in cases where requests have been paused long enough for the (paused) unwatch request to time out and for the subsequent (re)watch request to enter the paused state. On top of the watch not getting reestablished, rbd_reregister_watch() gets stuck with rbd_dev->watch_mutex held:

rbd_register_watch __rbd_register_watch ceph_osdc_watch linger_reg_commit_wait

It's waiting for lreq->reg_commit_wait to be completed, but for that to happen the respective request needs to end up on need_resend_linger list and be kicked when requests are unpaused. There is no chance for that if the request in question is never marked paused in the first place.

The fact that rbd_dev->watch_mutex remains taken out forever then prevents the image from getting unmapped -- "rbd unmap" would inevitably hang in D state on an attempt to grab the mutex.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 922dab6134178cae317ae00de86376cba59f3147 to before 2b3329b3c29d9e188e40d902d5230c2d5989b940Affected
  • 922dab6134178cae317ae00de86376cba59f3147 to before 5d0dc83cb9a69c1d0bea58f1c430199b05f6b021Affected
  • 922dab6134178cae317ae00de86376cba59f3147 to before 4d3399c52e0e61720ae898f5a0b5b75d4460ae24Affected
  • 922dab6134178cae317ae00de86376cba59f3147 to before 4ebc711b738d139cabe2fc9e7e7749847676a342Affected
  • 922dab6134178cae317ae00de86376cba59f3147 to before 6f468f6ff233c6a81e0e761d9124e982903fe9a5Affected
  • 922dab6134178cae317ae00de86376cba59f3147 to before 5647d42c47b535573b63e073e91164d6a5bb058cAffected
  • 922dab6134178cae317ae00de86376cba59f3147 to before c0fe2994f9a9d0a2ec9e42441ea5ba74b6a16176Affected
LinuxLinux
  • 4.7Affected
  • before 4.7Not affected
  • 5.10.248 through 5.10.*Not affected
  • 5.15.198 through 5.15.*Not affected
  • 6.1.161 through 6.1.*Not affected
  • 6.6.121 through 6.6.*Not affected
  • 6.12.66 through 6.12.*Not affected
  • 6.18.6 through 6.18.*Not affected
  • 6.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.