VDB

CVE-2026-90359

CVE-2026-90359 PUBLISHED

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

Reported by linux · Published September 17, 2026

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().

EPSS 0.20% · 10.0th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-modules-extra-commonAmazon Linux1:6.12.114-139.210.amzn2023
bpftool6.12Amazon Linux1:6.12.114-139.210.amzn2023
python3-perf6.12Amazon Linux1:6.12.114-139.210.amzn2023
kernel6.12Amazon Linux1:6.12.114-139.210.amzn2023
kernel6.12-headersAmazon Linux1:6.12.114-139.210.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.114-139.210.amzn2023
kernel-livepatch-6.12.114-139.210Amazon Linux1:1.0-0.amzn2023
LinuxLinuxde54ba33690d2dd3c4aa686c9693505644285b0b, d36ac53fc83baf843c51b7afd6d2471f36b713d8, c48796aa6c392cde93946e5d5a9a1f1b1cf72feb, 9a9e902bd0556052534641f7d5f868c6dc4b84ae

Risk scores

EPSS Score
0.20%
10.0th percentile

Affected products

VendorProductVersions
LinuxLinuxfec56f5890d93fc2ed74166c397dc186b1c25951, fec56f5890d93fc2ed74166c397dc186b1c25951, fec56f5890d93fc2ed74166c397dc186b1c25951
LinuxLinux5.5, 0, 6.12.114
amazon:2023kernel6.12-modules-extra-common0
amazon:2023bpftool6.120
amazon:2023python3-perf6.120
amazon:2023kernel6.120
amazon:2023kernel6.12-headers0
amazon:2023kernel6.12-tools0
amazon:2023kernel-livepatch-6.12.114-139.2100
LinuxLinux*, *, *
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-devel0
amazon:2023kernel6.12-tools-devel0
linuxlinux_kernel5.5, 5.5, 5.5
amazon:2023perf6.120

Timeline

  • Sep 17, 2026 Coalition ESS Score
  • Sep 17, 2026 CVE Published
  • Sep 18, 2026 EPSS Score (13 in total, the first dated here)
  • Oct 21, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-90359
vulnetix vdb fixes CVE-2026-90359

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-90359/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›