CVE-2026-72489

staging: nvec: fix use-after-free in nvec_rx_completed()

HIGH
8.4
CVSS Score
Published: August 15, 2026 at 05:57 AM UTC
Updated: August 17, 2026 at 06:19 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.4
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: staging: nvec: fix use-after-free in nvec_rx_completed() In nvec_rx_completed(), when an incomplete RX transfer is detected, nvec_msg_free() is called to return the message back to the pool by clearing its 'used' atomic flag. Immediately after this, the code accesses nvec->rx->data[0] to check the message type. Since nvec_msg_free() marks the pool slot as available via atomic_set(), any concurrent or subsequent call to nvec_msg_alloc() could claim that same slot and overwrite its data[] array. Reading nvec->rx->data[0] after freeing the message is therefore a use-after-free. Fix this by saving the message type byte before calling nvec_msg_free(), then using the saved value for the battery quirk check.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.2 ≤ v < 5.10.2613.2 ≤ v < 5.15.2123.2 ≤ v < 6.1.1783.2 ≤ v < 6.12.973.2 ≤ v < 6.18.403.2 ≤ v < 6.6.1453.2 ≤ v < 7.1.53.2 ≤ v < 7.23.2d6bdcf2e1019351cbc176e963b7756766bdd8721
Vendor states this is fixed in 08626fcfe12308ca3f8b22c538ba7dee0b2dce7a (fixed)
Vendor states this is fixed in 26813881181deb3a32fbb59eadb2599cbe8423f6 (fixed)
Vendor states this is fixed in 5de04caa46b635e180cecbd164e333eca535db94 (fixed)
Vendor states this is fixed in 6b2ea886ebdae44a2394029844a4e78f58e1587d (fixed)
Vendor states this is fixed in 9f7fe4165a1f1014bdadc8e744c0fd3c2d8c0b89 (fixed)
Vendor states this is fixed in a37625c7b688fcf68a54263528eccbabfd7fa17a (fixed)
Vendor states this is fixed in bb3d592c7d6c4ec8ac6640c690ca13298e7e8e90 (fixed)
Vendor states this is fixed in f19a5bc059051143c489dd6f79a0f9c3bfd13aea (fixed)
Vendor states this is fixed in 3.2 (unaffected)
Vendor states this is fixed in 5.10.261 (unaffected)
Vendor states this is fixed in 5.15.212 (unaffected)
Vendor states this is fixed in 6.1.178 (unaffected)
Vendor states this is fixed in 6.12.97 (unaffected)
Vendor states this is fixed in 6.18.40 (unaffected)
Vendor states this is fixed in 6.6.145 (unaffected)
Vendor states this is fixed in 7.1.5 (unaffected)
Vendor states this is fixed in 7.2 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

CVSS

8.4HIGHLinux
Vector?

Quick Info

StatusRECEIVED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card