{"id":"CVE-2026-64027","revision":"7b7cdaa22c4548af8a3eeadefd8245ab","records":[{"revision":"7b7cdaa22c4548af8a3eeadefd8245ab","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-64027","aliases":[],"title":"net: shaper: rework the VALID marking (again)","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: shaper: rework the VALID marking (again)\n\nRecent commit changed the semantics from NOT_VALID to VALID.\nI didn't realize that the flags are not stored atomically\nwith the entry in XArray. There's still a race of reader\nobserving a VALID mark for a slot, getting interrupted,\nwriter replacing the entry with a different one, reader\ncontinuing, fetching the entry which is now a different\npointer than the pointer for which VALID was meant.\n\nThe biggest consequence of this is that we may see a UAF\nsince net_shaper_rollback() assumed that entries without\nVALID can be freed without observing RCU.\n\nLooks like the XArray marks are buying us nothing at this\npoint. Let's convert the code to an explicit valid field.\nThe smp_load_acquire() / smp_store_release() barriers are\nmarginally cleaner.","state":0,"publishedAt":"2026-07-19T15:39:18.47+00:00","modifiedAt":"2026-10-19T20:28:09.258+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"include/net/net_shaper.h\",\n                        \"net/shaper/shaper.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"93954b40f6a4fc43226c01a15b02732f884500f1\",\n                            \"lessThan\": \"2417df5e7bb4184b9d3a2988036bf2c46e594545\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"93954b40f6a4fc43226c01a15b02732f884500f1\",\n                            \"lessThan\": \"96ea960dd40fd55302e0fd755176f26a95e6a50c\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"93954b40f6a4fc43226c01a15b02732f884500f1\",\n                            \"lessThan\": \"b8d7519352ba8c6df83259295d4a3bad093cae90\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"include/net/net_shaper.h\",\n                        \"net/shaper/shaper.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.13\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.13\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.34\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.0.11\",\n                            \"lessThanOrEqual\": \"7.0.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.1\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"severity":"HIGH"}],"references":["https://git.kernel.org/stable/c/2417df5e7bb4184b9d3a2988036bf2c46e594545","https://git.kernel.org/stable/c/96ea960dd40fd55302e0fd755176f26a95e6a50c","https://git.kernel.org/stable/c/b8d7519352ba8c6df83259295d4a3bad093cae90"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-64027","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-64027","identifiers":["CVE-2026-64027"]},"retained":false,"historicalAffected":[]}],"coverage":[]}