CVE-2026-64027CWE-362

CVE-2026-64027

High · published July 19, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
2.6
In the wild
Unconfirmed
What it is

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

net: shaper: rework the VALID marking (again)

Recent commit changed the semantics from NOT_VALID to VALID.

I didn't realize that the flags are not stored atomically

with the entry in XArray. There's still a race of reader

observing a VALID mark for a slot, getting interrupted,

writer replacing the entry with a different one, reader

continuing, fetching the entry which is now a different

pointer than the pointer for which VALID was meant.

The biggest consequence of this is that we may see a UAF

since net_shaper_rollback() assumed that entries without

VALID can be freed without observing RCU.

Looks like the XArray marks are buying us nothing at this

point. Let's convert the code to an explicit valid field.

The smp_load_acquire() / smp_store_release() barriers are

marginally cleaner.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00134 · 2.6th percentile
Weakness
CWE-362 · Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Published
2026-07-19T20:17Z
Affected products (6)
ProductVersionsFixed in
linux/linux_kernel≥ 6.13, < 6.18.346.18.34
linux/linux_kernel≥ 6.19, < 7.0.117.0.11
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (3)
EPSS history
Timeline
  • 19 JUL 15:39Z
    net: shaper: rework the VALID marking (again)
    cvelistv5