CVE-2026-74365
nvdimm/btt: Handle preemption in BTT lane acquisition
Reported by linux · Published August 15, 2026
In the Linux kernel, the following vulnerability has been resolved: nvdimm/btt: Handle preemption in BTT lane acquisition BTT lanes serialize access to per-lane metadata and workspace state during BTT I/O. The btt-check unit test reports data mismatches during BTT writes due to a race in lane acquisition that can lead to silent data corruption. The existing lane model uses a spinlock together with a per-CPU recursion count. That recursion model stopped being valid after BTT lanes became preemptible: another task can run on the same CPU, observe a non-zero recursion count, bypass locking, and use the same lane concurrently. BTT lanes are also held across arena_write_bytes() calls. That path reaches nsio_rw_bytes(), which flushes writes with nvdimm_flush(). Some provider flush callbacks can sleep, making a spinlock the wrong primitive for the lane lifetime. Replace the spinlock-based recursion model with a dynamically allocated per-lane mutex array and take the lane lock unconditionally. Add might_sleep() to catch any future atomic-context caller. Found with the ndctl unit test btt-check.sh.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| perf | Amazon Linux | 1:6.1.180-225.360.amzn2023 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.41-94.142.amzn2023 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| kernel6.12 | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.100-125.179.amzn2023 |
| kernel6.18-tools | Amazon Linux | 1:6.18.41-94.142.amzn2023 |
| kernel-headers | Amazon Linux | 1:6.1.180-225.360.amzn2023 |
| python3-perf | Amazon Linux | 1:6.1.180-225.360.amzn2023 |
| microvm-kernel6.18 | Amazon Linux | 1:6.18.41-94.142.amzn2023 |
| kernel-tools | Amazon Linux | 1:6.1.180-225.360.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | f23859748e3d530217b197e146a9ac84faf0a282, 6f50b414f1a0d790f11a6438a3ad6d0577eb2c18, 36c75ce3bd299878fd9b238e9803d3817ddafbf3 |
| Linux | Linux | 6.7, 0, 6.1.178 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel-tools | 0 |
| Linux | Linux | 7.2, *, * |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| linux | linux_kernel | 5.10.201, 5.15.139, 6.5.12 |
…and 18 more
Timeline
- Aug 15, 2026 CVE Published
- Aug 16, 2026 EPSS Score (10 in total, the first dated here)
- Aug 19, 2026 Security Advisory
- Oct 16, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-74365
vulnetix vdb fixes CVE-2026-74365
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-74365/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart