# CVE-2026-90312: bpf: Check load-acquire src ptr type before the load

> 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:32.287Z
- **Modified:** 2026-10-19T09:19:25.150Z

## Who should check

- Anyone running Linux \>= c03bb2fa327e4c25d6c5360a8803a4b1cdc2d0b9, \< 6ee7b00888498cf387dd30729e18a05328b94709; \>= c03bb2fa327e4c25d6c5360a8803a4b1cdc2d0b9, \< 422a416041172af1ac610736d5f556d22b31b115; \>= c03bb2fa327e4c25d6c5360a8803a4b1cdc2d0b9, \< b87803391baa7e0bef60549d8841f12e549ad057
- Anyone running Linux 6.15

## Description

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

bpf: Check load-acquire src ptr type before the load

check\_atomic\_load() calls check\_load\_mem() before atomic\_ptr\_type\_ok().
For a load-acquire that fetches into its own source register (dst\_reg ==
src\_reg), check\_load\_mem() overwrites src\_reg's type with the type of the
loaded value, so the subsequent atomic\_ptr\_type\_ok() no longer sees the
source pointer and fails to reject the disallowed types (ctx, pkt,
flow\_keys, sock).

Since bpf\_convert\_ctx\_accesses() does not rewrite atomic loads, the raw
access to the underlying kernel object is left in place. The destination
type is taken from the ctx access itself, so a load-acquire of the sk
field of struct \_\_sk\_buff for example leaves the register typed as
PTR\_TO\_SOCK\_COMMON\_OR\_NULL, which type\_is\_sk\_pointer() does not match
either, while it actually holds unconverted struct sk\_buff bytes. Once
the NULL check has passed this is a type confusion, not just a leak of
kernel data.

Validate src\_reg with check\_reg\_arg() and check the source pointer type
with atomic\_ptr\_type\_ok() before the load again, mirroring
check\_atomic\_rmw(). Out-of-range register numbers are already rejected
earlier by check\_and\_resolve\_insns() (commit 503d21ef8eac ("bpf: Do
register range validation early")), and the only exemption there,
is\_stack\_arg\_ldx(), requires BPF\_LDX \| BPF\_MEM \| BPF\_DW and thus never
matches a BPF\_ATOMIC insn. atomic\_ptr\_type\_ok() can therefore not
dereference register state out of bounds, that is, the out-of-bounds
read addressed by the Fixes commit below does not reappear (as proven
also via selftest).

## Affected and fixed versions

- Linux: \>= c03bb2fa327e4c25d6c5360a8803a4b1cdc2d0b9, \< 6ee7b00888498cf387dd30729e18a05328b94709; \>= c03bb2fa327e4c25d6c5360a8803a4b1cdc2d0b9, \< 422a416041172af1ac610736d5f556d22b31b115; \>= c03bb2fa327e4c25d6c5360a8803a4b1cdc2d0b9, \< b87803391baa7e0bef60549d8841f12e549ad057 (cvelist)
- Linux: 6.15 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-90312.md
Affected: Linux >= c03bb2fa327e4c25d6c5360a8803a4b1cdc2d0b9, < 6ee7b00888498cf387dd30729e18a05328b94709; >= c03bb2fa327e4c25d6c5360a8803a4b1cdc2d0b9, < 422a416041172af1ac610736d5f556d22b31b115; >= c03bb2fa327e4c25d6c5360a8803a4b1cdc2d0b9, < b87803391baa7e0bef60549d8841f12e549ad057; Linux 6.15
Fixed in: Linux 6ee7b00888498cf387dd30729e18a05328b94709, Linux 422a416041172af1ac610736d5f556d22b31b115

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-90312 being exploited?

There is no confirmed exploitation: CVE-2026-90312 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-90312?

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

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

Linux \>= c03bb2fa327e4c25d6c5360a8803a4b1cdc2d0b9, \< 6ee7b00888498cf387dd30729e18a05328b94709; \>= c03bb2fa327e4c25d6c5360a8803a4b1cdc2d0b9, \< 422a416041172af1ac610736d5f556d22b31b115; \>= c03bb2fa327e4c25d6c5360a8803a4b1cdc2d0b9, \< b87803391baa7e0bef60549d8841f12e549ad057; Linux 6.15.

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

Yes. Fixed in Linux 6ee7b00888498cf387dd30729e18a05328b94709, Linux 422a416041172af1ac610736d5f556d22b31b115. No fix listed yet: follow the vendor advisory.

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

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/6ee7b00888498cf387dd30729e18a05328b94709>
- other: <https://git.kernel.org/stable/c/422a416041172af1ac610736d5f556d22b31b115>
- other: <https://git.kernel.org/stable/c/b87803391baa7e0bef60549d8841f12e549ad057>

## 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-90312>

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