CVE-2026-90358

Summary

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.

Affected Software

VendorProductVersion RangeStatus
LinuxLinuxa9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2 < 4aed2346fa9b88d458eeb8c01123f3c07585a675affected
LinuxLinuxa9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2 < 40f3bfbbb222b92278f3797614b70f68d46824acaffected
LinuxLinuxa9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2 < a6d7d7a253c550e74b0651897fe313c2f9b2301faffected
LinuxLinuxa9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2 < 814cba835ef648e0c5eb79505c96c0493b29eea6affected
LinuxLinux6.1affected
LinuxLinux0 < 6.1unaffected
LinuxLinux6.12.110 <= 6.12.*unaffected
LinuxLinux6.18.52 <= 6.18.*unaffected
LinuxLinux7.2.6 <= 7.2.*unaffected
LinuxLinux7.3-rc1 <= *unaffected

Weaknesses

References