CVE-2026-143380: btrfs: scrub: fix lost error return value when scrubbing raid56 parity stripe
In the Linux kernel, the following vulnerability has been resolved:
btrfs: scrub: fix lost error return value when scrubbing raid56 parity stripe
If we find errors we are returning the value of 'ret', which has a value of 0 from some previous function call that succeeded, instead of returning an -EIO error. Fix this by returning -EIO instead of 'ret'.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7 - Compensating control
In btrfs scrub handling for a RAID56 parity stripe, return -EIO when an error is found instead of returning the stale value of ret.
Event History
Frequently Asked Questions
Which deployments are relevant to this issue?
It applies to Linux kernel systems using Btrfs with RAID56 parity stripes when a scrub operation processes those stripes. Systems not using Btrfs RAID56 parity configurations are not implicated by the available information.
How could the issue appear operationally?
When scrub finds errors on a RAID56 parity stripe, it can return success because it returns a previously successful value of 0 instead of -EIO. A scrub that reports success despite detected parity-stripe errors is the relevant failure condition.