# CVE-2026-90359: bpf: Reject \>8 byte return values on return-reading trampoline paths

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-09-17T16:09:04.187Z
- **Modified:** 2026-10-21T13:20:52.317Z

## Who should check

- Anyone running Linux \>= fec56f5890d93fc2ed74166c397dc186b1c25951, \< de54ba33690d2dd3c4aa686c9693505644285b0b; \>= fec56f5890d93fc2ed74166c397dc186b1c25951, \< 9a9e902bd0556052534641f7d5f868c6dc4b84ae; \>= fec56f5890d93fc2ed74166c397dc186b1c25951, \< d36ac53fc83baf843c51b7afd6d2471f36b713d8; \>= fec56f5890d93fc2ed74166c397dc186b1c25951, \< c48796aa6c392cde93946e5d5a9a1f1b1cf72feb
- Anyone running Linux 5.5

## Description

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

bpf: Reject \>8 byte return values on return-reading trampoline paths

btf\_distill\_func\_proto() builds the function model used for the
fentry/fexit/fmod\_ret/fsession trampolines and struct\_ops. It has
accepted a 16-byte \_\_int128 return value since the trampoline was
introduced: \_\_get\_type\_size() returns the integer's type size, and the
return-type check only rejected ret \< 0.

But the BPF trampoline preserves only 8 bytes of the return value (RAX on
x86, i.e. R0). For an attach type that reads the target's return value the
second half (RDX / R3) is neither saved nor restored, so a program
attached to a function returning a 16-byte value corrupts the value seen
by the real caller and itself observes only half of it. struct\_ops
trampolines have the same limitation.

This affects the attach types that read the target's return value: fexit,
fmod\_ret and fsession (plus the \_multi variants of fexit and fsession),
and struct\_ops. fentry/fentry\_multi run before the target returns and are
unaffected.

Reject a \>8 byte return value for these attach types in
bpf\_check\_attach\_target() and bpf\_check\_attach\_btf\_id\_multi(), and for
struct\_ops in bpf\_struct\_ops\_desc\_init().

## Affected and fixed versions

- Linux: \>= fec56f5890d93fc2ed74166c397dc186b1c25951, \< de54ba33690d2dd3c4aa686c9693505644285b0b; \>= fec56f5890d93fc2ed74166c397dc186b1c25951, \< 9a9e902bd0556052534641f7d5f868c6dc4b84ae; \>= fec56f5890d93fc2ed74166c397dc186b1c25951, \< d36ac53fc83baf843c51b7afd6d2471f36b713d8; \>= fec56f5890d93fc2ed74166c397dc186b1c25951, \< c48796aa6c392cde93946e5d5a9a1f1b1cf72feb (cvelist)
- Linux: 5.5 (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-90359. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-90359.md
Affected: Linux >= fec56f5890d93fc2ed74166c397dc186b1c25951, < de54ba33690d2dd3c4aa686c9693505644285b0b; >= fec56f5890d93fc2ed74166c397dc186b1c25951, < 9a9e902bd0556052534641f7d5f868c6dc4b84ae; >= fec56f5890d93fc2ed74166c397dc186b1c25951, < d36ac53fc83baf843c51b7afd6d2471f36b713d8; >= fec56f5890d93fc2ed74166…
Fixed in: Linux 9a9e902bd0556052534641f7d5f868c6dc4b84ae

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= fec56f5890d93fc2ed74166c397dc186b1c25951, \< de54ba33690d2dd3c4aa686c9693505644285b0b; \>= fec56f5890d93fc2ed74166c397dc186b1c25951, \< 9a9e902bd0556052534641f7d5f868c6dc4b84ae; \>= fec56f5890d93fc2ed74166c397dc186b1c25951, \< d36ac53fc83baf843c51b7afd6d2471f36b713d8; \>= fec56f5890d93fc2ed74166c397dc186b1c25951, \< c48796aa6c392cde93946e5d5a9a1f1b1cf72feb; Linux 5.5.

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

Yes. Fixed in Linux 9a9e902bd0556052534641f7d5f868c6dc4b84ae. No fix listed yet: follow the vendor advisory.

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

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/de54ba33690d2dd3c4aa686c9693505644285b0b>
- other: <https://git.kernel.org/stable/c/9a9e902bd0556052534641f7d5f868c6dc4b84ae>
- other: <https://git.kernel.org/stable/c/d36ac53fc83baf843c51b7afd6d2471f36b713d8>
- other: <https://git.kernel.org/stable/c/c48796aa6c392cde93946e5d5a9a1f1b1cf72feb>

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

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