CVE-2026-74372
raid1: fix nr_pending leak in REQ_ATOMIC bad-block error path
Reported by linux · Published August 15, 2026
In the Linux kernel, the following vulnerability has been resolved: raid1: fix nr_pending leak in REQ_ATOMIC bad-block error path In raid1_write_request(), each per-mirror loop iteration begins by incrementing rdev->nr_pending. If a REQ_ATOMIC write encounters a badblock within the requested range, the code jumps to err_handle without dropping the reference taken for the current mirror. err_handle's cleanup loop will only decrements for k < i and r1_bio->bios[k] is non-NULL. The current slot is therefore skipped, leaving its nr_pending reference leaked permanently. The reference prevents the rdev from ever being removed, since raid1_remove_conf() refuses to remove an rdev with nr_pending > 0. Fix this by calling rdev_dec_pending() before jumping to err_handle.
EPSS 0.21% · 10.7th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | 909d9dc3b5730c8ed7b764c68bc788342df2a07b, 731485617bf862f1289c3f40ed1f800d0475826f, 5ac9e793ba2583d72740d929e7858a6c82e22ed5 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | f2a38abf5f1c5aeb3be8e9f4d3d815c867fff7ca, f2a38abf5f1c5aeb3be8e9f4d3d815c867fff7ca, f2a38abf5f1c5aeb3be8e9f4d3d815c867fff7ca |
| Linux | Linux | 6.13, 0, 6.18.40 |
| Linux | Linux | *, 7.2, 7.1.5 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| linux | linux_kernel | 6.13, 6.13, 6.13 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel-livepatch-6.18.41-94.142 | 0 |
Timeline
- Aug 15, 2026 CVE Published
- Aug 16, 2026 EPSS Score (14 in total, the first dated here)
- Aug 17, 2026 CVE Updated
- Aug 19, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-74372
vulnetix vdb fixes CVE-2026-74372
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-74372/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart