CVE-2026-74365
Received Received - Intake

Race Condition in Linux Kernel BTT Leads to Data Corruption

Vulnerability report for CVE-2026-74365, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-15

Last updated on: 2026-08-15

Assigner: kernel.org

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-15
Last Modified
2026-08-15
Generated
2026-08-15
AI Q&A
2026-08-15
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux_kernel nvdimm *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves a race condition in BTT (Block Translation Table) lane acquisition for nvdimm (Non-Volatile Dual In-line Memory Module) devices. The issue occurs because BTT lanes, which serialize access to metadata and workspace state during I/O operations, became preemptible. This allows another task on the same CPU to bypass locking by observing a non-zero recursion count, leading to concurrent access and potential silent data corruption.

Detection Guidance

This vulnerability is specific to the Linux kernel's BTT (Block Translation Table) implementation and is detected through kernel testing. The ndctl unit test btt-check.sh can identify issues related to BTT lane acquisition races. Run: ndctl check --test=btt-check. Monitor kernel logs for data corruption warnings during BTT I/O operations.

Impact Analysis

This vulnerability can cause silent data corruption during BTT writes on systems using nvdimm devices. Users may experience data loss or inconsistencies without immediate detection, as the race condition allows concurrent access to shared metadata and workspace state.

Mitigation Strategies

Apply the latest kernel patches addressing this issue. Update the nvdimm/btt subsystem to use the new per-lane mutex model. Avoid running untrusted workloads on systems with vulnerable kernels. Monitor for silent data corruption in BTT operations.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-74365. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart