Bug 2536499 (CVE-2026-90358) - CVE-2026-90358 kernel: bpf, x86: Fix trampoline stack size for 128-bit arguments
Summary: CVE-2026-90358 kernel: bpf, x86: Fix trampoline stack size for 128-bit arguments
Keywords:
Status: NEW
Alias: CVE-2026-90358
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-17 18:13 UTC by OSIDB Bzimport
Modified: 2026-10-20 10:54 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-17 18:13:52 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.