# CVE-2026-90358: bpf, x86: Fix trampoline stack size for 128-bit arguments

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 4% of CVEs (2026-11-30)
- Published: 2026-09-17T16:09:03.531Z
- Modified: 2026-10-30T13:20:51.127Z
- Assigned by: Linux

## Description

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

bpf, x86: Fix trampoline stack size for 128-bit arguments

btf_distill_func_proto() accepts a function argument up to 16 bytes, so a
128-bit scalar such as __int128 reaches the x86 trampoline with
arg_size == 16. But the current implementation assumes an __int128
argument only needs one register, so the register save area is
under-allocated and save_args() overwrites adjacent stack slots.

Compute the register count from arg_size for all arguments to fix it.

(As written by CVE List.)

## Affected

- Linux Linux: from a9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2 before 2189232984b45ac8281c80484ab9f67b380a2ca1; from a9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2 before 7f96bf0d24b2acc0732906b60a10f06783f2470d; from a9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2 before 4aed2346fa9b88d458eeb8c01123f3c07585a675; from a9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2 before 40f3bfbbb222b92278f3797614b70f68d46824ac; from a9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2 before a6d7d7a253c550e74b0651897fe313c2f9b2301f; from a9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2 before 814cba835ef648e0c5eb79505c96c0493b29eea6; 6.1 (not affected: before 6.1; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/2189232984b45ac8281c80484ab9f67b380a2ca1>
- <https://git.kernel.org/stable/c/7f96bf0d24b2acc0732906b60a10f06783f2470d>
- <https://git.kernel.org/stable/c/4aed2346fa9b88d458eeb8c01123f3c07585a675>
- <https://git.kernel.org/stable/c/40f3bfbbb222b92278f3797614b70f68d46824ac>
- <https://git.kernel.org/stable/c/a6d7d7a253c550e74b0651897fe313c2f9b2301f>
- <https://git.kernel.org/stable/c/814cba835ef648e0c5eb79505c96c0493b29eea6>

## Sources

- CVE List: [CVE-2026-90358](https://www.cve.org/CVERecord?id=CVE-2026-90358), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-90358](https://nvd.nist.gov/vuln/detail/CVE-2026-90358), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-90358 · Whole record: https://cve.day/CVE-2026-90358.json · Rebuilt by cve.day 2026-11-25T22:59:39.393Z
