# CVE-2026-64027: net: shaper: rework the VALID marking (again)

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.10%, higher than 0% of CVEs (2026-12-01)
- Published: 2026-07-19T15:39:18.470Z
- Modified: 2026-10-19T21:17:20.240Z
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)
- linux linux_kernel: from 6.13 before 6.18.34; from 6.19 before 7.0.11; 7.1

## References

- <https://git.kernel.org/stable/c/2417df5e7bb4184b9d3a2988036bf2c46e594545> (patch)
- <https://git.kernel.org/stable/c/96ea960dd40fd55302e0fd755176f26a95e6a50c> (patch)
- <https://git.kernel.org/stable/c/b8d7519352ba8c6df83259295d4a3bad093cae90> (patch)

## Sources

- CVE List: [CVE-2026-64027](https://www.cve.org/CVERecord?id=CVE-2026-64027), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-64027](https://nvd.nist.gov/vuln/detail/CVE-2026-64027), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-64027 · Whole record: https://cve.day/CVE-2026-64027.json · Rebuilt by cve.day 2026-11-25T22:59:28.941Z
