# CVE-2026-90317: bpf: Invalidate RCU pointers after final spin unlock

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **Published:** 2026-09-17T16:08:35.537Z
- **Modified:** 2026-10-19T09:19:25.673Z

## Who should check

- Anyone running Linux \>= 5861d1e8dbc4e1a03ebffb96ac041026cdd34c07, \< f81972b235f3ebfa40bdce8bcfee3f242fb24065; \>= 5861d1e8dbc4e1a03ebffb96ac041026cdd34c07, \< 7ae71629357d0a6d0bdadb929c7b296d5b7e61c2; \>= 5861d1e8dbc4e1a03ebffb96ac041026cdd34c07, \< 180c7000712db77063b3a26f4c97e7dd9038f449
- Anyone running Linux 6.6

## Description

In the Linux kernel, the following vulnerability has been resolved:

bpf: Invalidate RCU pointers after final spin unlock

In a sleepable BPF program, a spin lock can provide the only RCU protection
for a kptr. The final bpf\_spin\_unlock() ends that protection, but the
verifier leaves the pointer valid. Another CPU can then free the object
before the pointer is used. A capability-limited runtime PoC triggered a
task\_struct use-after-free in \_\_bpf\_get\_task\_stack().

Record whether the program is in an RCU-protected context before releasing
the lock. Invalidate RCU-protected pointers only when the unlock leaves the
final such context. This preserves valid pointers in non-sleepable programs
and inside an explicit RCU read-side section.

## Affected and fixed versions

- Linux: \>= 5861d1e8dbc4e1a03ebffb96ac041026cdd34c07, \< f81972b235f3ebfa40bdce8bcfee3f242fb24065; \>= 5861d1e8dbc4e1a03ebffb96ac041026cdd34c07, \< 7ae71629357d0a6d0bdadb929c7b296d5b7e61c2; \>= 5861d1e8dbc4e1a03ebffb96ac041026cdd34c07, \< 180c7000712db77063b3a26f4c97e7dd9038f449 (cvelist)
- Linux: 6.6 (cvelist)

## Mitigation

- Upgrade Linux to 180c7000712db77063b3a26f4c97e7dd9038f449 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-90317. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-90317.md
Affected: Linux >= 5861d1e8dbc4e1a03ebffb96ac041026cdd34c07, < f81972b235f3ebfa40bdce8bcfee3f242fb24065; >= 5861d1e8dbc4e1a03ebffb96ac041026cdd34c07, < 7ae71629357d0a6d0bdadb929c7b296d5b7e61c2; >= 5861d1e8dbc4e1a03ebffb96ac041026cdd34c07, < 180c7000712db77063b3a26f4c97e7dd9038f449; Linux 6.6
Fixed in: Linux 7ae71629357d0a6d0bdadb929c7b296d5b7e61c2, Linux 180c7000712db77063b3a26f4c97e7dd9038f449

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-90317 being exploited?

There is no confirmed exploitation: CVE-2026-90317 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-90317?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-90317?

Linux \>= 5861d1e8dbc4e1a03ebffb96ac041026cdd34c07, \< f81972b235f3ebfa40bdce8bcfee3f242fb24065; \>= 5861d1e8dbc4e1a03ebffb96ac041026cdd34c07, \< 7ae71629357d0a6d0bdadb929c7b296d5b7e61c2; \>= 5861d1e8dbc4e1a03ebffb96ac041026cdd34c07, \< 180c7000712db77063b3a26f4c97e7dd9038f449; Linux 6.6.

### Is there a fix for CVE-2026-90317?

Yes. Fixed in Linux 7ae71629357d0a6d0bdadb929c7b296d5b7e61c2, Linux 180c7000712db77063b3a26f4c97e7dd9038f449. Upgrade Linux to 180c7000712db77063b3a26f4c97e7dd9038f449 or later.

### How do I check if I'm affected by CVE-2026-90317?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/f81972b235f3ebfa40bdce8bcfee3f242fb24065>
- other: <https://git.kernel.org/stable/c/7ae71629357d0a6d0bdadb929c7b296d5b7e61c2>
- other: <https://git.kernel.org/stable/c/180c7000712db77063b3a26f4c97e7dd9038f449>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-90317>

HTML: <https://flawdb.com/CVE-2026-90317> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-90317>
