CVE-2026-139143: block: don't enter reclaim under rq_qos_mutex

Published Nov 30, 2026
·
Updated

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

block: don't enter reclaim under rqqosmutex

iocqoswrite() and the wbtlatusec writers take rqqosmutex with the queue frozen, blkcgdeactivatepolicy() does the same with blkcgmutex, so nothing holding either may wait for IO. blkgconfprep() got GFPNOIO for the blkg in commit 5d726c4dbeed, but the radixtreepreload() right after it, the policy init functions and the GFPKERNEL fallback in blkcgactivatepolicy() can still enter reclaim there. lockdep reports the cycle on the first write to io.max.

Use GFPNOIO for all of them.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Use GFP_NOIO for allocations performed while holding rq_qos_mutex or blkcg_mutex, including the GFP_KERNEL fallback in blkcg_activate_policy().

Event History

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

Frequently Asked Questions

1

What conditions are needed to trigger this issue?

The issue can be triggered when cgroup I/O QoS configuration is changed, including the first write to io.max, or when wbt_lat_usec is written. These paths operate with the request queue frozen and hold rq_qos_mutex or blkcg_mutex.

2

What is the practical impact?

Memory allocation in these configuration paths can enter reclaim while the relevant mutex is held, creating a lock dependency cycle. Lockdep reports the cycle on the first write to io.max.

3

How can exposure be reduced before applying the fix?

Avoid changing io.max or wbt_lat_usec settings while affected code is in use. The resolved change uses GFP_NOIO for allocations in these paths so they do not enter I/O reclaim while the mutexes are held.

4

How can I check whether a system is affected?

Look for lockdep reports associated with the first write to io.max. Systems that do not use these cgroup I/O QoS or writeback-throttling configuration paths may not exercise the vulnerable behavior.

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