CVE-2026-64027

Source
https://cve.org/CVERecord?id=CVE-2026-64027
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64027.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64027
Downstream
Published
2026-07-19T15:39:18.470Z
Modified
2026-07-21T03:47:49.009800669Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
net: shaper: rework the VALID marking (again)
Details

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 netshaperrollback() 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 smploadacquire() / smpstorerelease() barriers are marginally cleaner.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64027.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
93954b40f6a4fc43226c01a15b02732f884500f1
Fixed
2417df5e7bb4184b9d3a2988036bf2c46e594545
Fixed
96ea960dd40fd55302e0fd755176f26a95e6a50c
Fixed
b8d7519352ba8c6df83259295d4a3bad093cae90

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64027.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.34
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.11

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64027.json"