CVE-2026-139127

block: don't lose the status of a failed flush request

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 lose the status of a failed flush request

flush_end_io() stores the status in fq->rq_status for whoever drops the
last reference to finish the flush sequence. blk_mq_put_rq_ref() calls
it with BLK_STS_OK from tag iterators and the timeout handler and
overwrites an error the real completion stored. With two extra
references, reading /sys/block/<disk>/inflight is enough for that, a
failed flush completes everything waiting on it with success and fsync()
lies to the application.

Only store a status that is an error.

Analysis

AI-generated

Technical impact

The flaw resides in kernel block flush handling, where an error status from a failed flush operation is overwritten with a success code by the flush_end_io() routine. This causes the system to report successful write completion (fsync()) even though the underlying flush failed. The result is that data intended to be written to disk may be lost or corrupted while the application believes the data is safely stored. The weakness originates from improper error handling, specifically failing to preserve an error status and incorrectly propagating success.

Affected Systems

All Linux kernel implementations (Linux:Linux) that have not yet incorporated the patch corresponding to the commit references provided are vulnerable. The affected versions include every kernel release prior to the commit that fixed the flaw, regardless of distribution.

Risk and Exploitability

The EPSS score is not available, and the vulnerability is not listed as a CISA KEV. The vulnerability requires manipulation of kernel block flush requests, which generally implies a privileged or local attacker with kernel access. An attacker who can cause a flush to fail and still obtain a success indication could bypass integrity checks, potentially leading to data corruption or loss. Because the caller receives a success flag, there is a high chance that applications will continue to rely on the erroneous state, amplifying the potential impact. The lack of an available exploitation score suggests limited public exploitation, but the kernel-level nature makes it a serious issue for compromised systems.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version containing the commit that fixes the error propagation flaw.
  • Ensure that all distribution packages are updated to the latest patched kernel release.
  • Verify that the kernel configuration does not drop the error status flag during flush handling.

Generated by OpenCVE AI on December 1, 2026 at 08:51 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-753
CWE-754
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: block: don't lose the status of a failed flush request flush_end_io() stores the status in fq->rq_status for whoever drops the last reference to finish the flush sequence. blk_mq_put_rq_ref() calls it with BLK_STS_OK from tag iterators and the timeout handler and overwrites an error the real completion stored. With two extra references, reading /sys/block/<disk>/inflight is enough for that, a failed flush completes everything waiting on it with success and fsync() lies to the application. Only store a status that is an error.
Title block: don't lose the status of a failed flush request
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-753
  • 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