CVE-2026-64027
JSON

7.8high

net: shaper: rework the VALID marking (again)

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.10% (higher than 0% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 93954b40f6a4fc43226c01a15b02732f884500f1 before 2417df5e7bb4184b9d3a2988036bf2c46e594545, from 93954b40f6a4fc43226c01a15b02732f884500f1 before 96ea960dd40fd55302e0fd755176f26a95e6a50c, from 93954b40f6a4fc43226c01a15b02732f884500f1 before b8d7519352ba8c6df83259295d4a3bad093cae90, 6.13
Not affected: before 6.13, from 6.18.34 up to 6.18.*, from 7.0.11 up to 7.0.*, from 7.1 up to *
CVE List
linux linux_kernelfrom 6.13 before 6.18.34, from 6.19 before 7.0.11, 7.1NVD

Classification

CWE-362

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-64027 changed 2026-10-19CVE Terms of Use
NVDCVE-2026-64027 changed 2026-10-19Public domain