CVE-2026-139143

block: don't enter reclaim under rq_qos_mutex

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

block: don't enter reclaim under rq_qos_mutex

ioc_qos_write() and the wbt_lat_usec writers take rq_qos_mutex with the
queue frozen, blkcg_deactivate_policy() does the same with blkcg_mutex,
so nothing holding either may wait for IO. blkg_conf_prep() got
GFP_NOIO for the blkg in commit 5d726c4dbeed, but the
radix_tree_preload() right after it, the policy init functions and the
GFP_KERNEL fallback in blkcg_activate_policy() can still enter reclaim
there. lockdep reports the cycle on the first write to io.max.

Use GFP_NOIO for all of them.

Analysis

AI-generated

Technical impact

The vulnerability originates in the Linux kernel block layer where certain write paths acquire the rq_qos_mutex or blkcg_mutex while the block queue is frozen, but they fail to use the GFP_NOIO flag during memory allocation. Consequently, the kernel can trigger memory reclaim while holding these mutexes, creating a circular dependency that can deadlock the system. This deadlock can be triggered by repeatedly issuing I/O write operations against block devices, potentially causing the kernel to stall or crash. The weakness is a classic deadlock scenario, classified as CWE‑754.

Affected Systems

All publicly released Linux kernel versions that do not incorporate the block‑layer commit adding GFP_NOIO to all relevant paths are vulnerable. The commit identifier 5d726c4dbeed and related commit hashes indicate the fix timeline, so any kernel released before that commit should be considered at risk. Up‑to‑date kernels that include the revision that introduces GFP_NOIO to all paths should be used.

Risk and Exploitability

No CVSS score is provided, and the EPSS estimate is unavailable. The KEV catalog does not list this vulnerability, indicating that it has not been widely exploited yet. The flaw requires local or privileged I/O access in order to trigger the conflicting mutex acquisitions. A successful exploitation would result in a kernel‑level deadlock that can make the host system unresponsive, synchronously affecting all users. Because the scenario relies on sustained high‑frequency block I/O, the risk is moderated by the need for persistent I/O rather than a single request, but if an attacker can achieve that, the impact is serious.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a Linux kernel version that contains the block‑layer commit adding GFP_NOIO to all relevant paths.
  • If a kernel upgrade cannot be performed immediately, restrict high‑frequency block I/O from untrusted or non‑essential processes, reducing the likelihood of triggering the reclaim path.
  • Remain vigilant by monitoring distribution releases for kernel updates and consider backporting the specific commit if the vendor does not yet provide an updated kernel.

Generated by OpenCVE AI on December 1, 2026 at 08:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-754
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: block: don't enter reclaim under rq_qos_mutex ioc_qos_write() and the wbt_lat_usec writers take rq_qos_mutex with the queue frozen, blkcg_deactivate_policy() does the same with blkcg_mutex, so nothing holding either may wait for IO. blkg_conf_prep() got GFP_NOIO for the blkg in commit 5d726c4dbeed, but the radix_tree_preload() right after it, the policy init functions and the GFP_KERNEL fallback in blkcg_activate_policy() can still enter reclaim there. lockdep reports the cycle on the first write to io.max. Use GFP_NOIO for all of them.
Title block: don't enter reclaim under rq_qos_mutex
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-754

    Improper Check for Unusual or Exceptional Conditions

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:31 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM