{"id":"CVE-2026-90317","title":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Invalidate RCU pointers after final spin unlock\n\nIn a sleepable BPF program, a spin lock can provide the only RCU protection\nfor a kptr","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Invalidate RCU pointers after final spin unlock\n\nIn a sleepable BPF program, a spin lock can provide the only RCU protection\nfor a kptr. The final bpf_spin_unlock(…","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","vendor":"Linux","product":"Linux","affected":["Linux >= 5861d1e8dbc4e1a03ebffb96ac041026cdd34c07 < 7ae71629357d0a6d0bdadb929c7b296d5b7e61c2","Linux >= 5861d1e8dbc4e1a03ebffb96ac041026cdd34c07 < 180c7000712db77063b3a26f4c97e7dd9038f449","Linux 6.6"],"published":"2026-09-17","updated":"2026-09-18","sourceUpdated":"2026-09-18T18:17:53.437","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-90317","references":[{"url":"https://git.kernel.org/stable/c/180c7000712db77063b3a26f4c97e7dd9038f449","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/7ae71629357d0a6d0bdadb929c7b296d5b7e61c2","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}],"tags":["nvd","cve.org"],"epss":0.00154,"epssPercentile":0.04927,"ingestedAt":"2026-09-17T16:21:47.824Z","slug":"CVE-2026-90317","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Invalidate RCU pointers after final spin unlock\n\nIn a sleepable BPF program, a spin lock can provide the only RCU protection\nfor a kptr. The final bpf_spin_unlock() ends that protection, but the\nverifier leaves the pointer valid. Another CPU can then free the object\nbefore the pointer is used. A capability-limited runtime PoC triggered a\ntask_struct use-after-free in __bpf_get_task_stack().\n\nRecord whether the program is in an RCU-protected context before releasing\nthe lock. Invalidate RCU-protected pointers only when the unlock leaves the\nfinal such context. This preserves valid pointers in non-sleepable programs\nand inside an explicit RCU read-side section.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[{"seq":207249,"id":"CVE-2026-90317","ts":1789757339886,"field":"cvss","old":null,"new":"7.8"},{"seq":207248,"id":"CVE-2026-90317","ts":1789757339886,"field":"severity","old":"none","new":"high"}]}