CVE-2026-74372

Source
https://cve.org/CVERecord?id=CVE-2026-74372
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74372.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-74372
Downstream
Published
2026-08-15T05:58:52.306Z
Modified
2026-08-16T03:48:55.089564008Z
Summary
raid1: fix nr_pending leak in REQ_ATOMIC bad-block error path
Details

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

raid1: fix nrpending leak in REQATOMIC bad-block error path

In raid1writerequest(), each per-mirror loop iteration begins by incrementing rdev->nrpending. If a REQATOMIC write encounters a badblock within the requested range, the code jumps to err_handle without dropping the reference taken for the current mirror.

errhandle's cleanup loop will only decrements for k < i and r1bio->bios[k] is non-NULL. The current slot is therefore skipped, leaving its nrpending reference leaked permanently. The reference prevents the rdev from ever being removed, since raid1removeconf() refuses to remove an rdev with nrpending > 0.

Fix this by calling rdevdecpending() before jumping to err_handle.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74372.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f2a38abf5f1c5aeb3be8e9f4d3d815c867fff7ca
Fixed
5ac9e793ba2583d72740d929e7858a6c82e22ed5
Fixed
731485617bf862f1289c3f40ed1f800d0475826f
Fixed
909d9dc3b5730c8ed7b764c68bc788342df2a07b

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74372.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.40
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74372.json"