CVE-2026-139118: blk-mq: free the bitmaps of tags in the SRCU callback

Published Nov 30, 2026
·
Updated

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

blk-mq: free the bitmaps of tags in the SRCU callback

Commit ad0d05dbddc1 keeps struct blkmqtags and the requests until the iterators under tagssrcu are gone, but the two bitmaps they walk are still freed right away. When the number of hardware queues shrinks, blkmqtagsetbusyiter() may be about to walk tags that blkmqupdatenrhwqueues() frees. sbitmapfree() clears the map pointer, so that's a NULL dereference or a use-after-free, depending on the timing.

Free the bitmaps with the rest in the callback.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch ad0d05dbddc1

Event History

Nov 30, 2026
CVE Published
via MITRE·01:31 PM
Data Sourced
via MITRE·01:31 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203