{"id":"CVE-2026-90358","summary":"bpf, x86: Fix trampoline stack size for 128-bit arguments","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf, x86: Fix trampoline stack size for 128-bit arguments\n\nbtf_distill_func_proto() accepts a function argument up to 16 bytes, so a\n128-bit scalar such as __int128 reaches the x86 trampoline with\narg_size == 16. But the current implementation assumes an __int128\nargument only needs one register, so the register save area is\nunder-allocated and save_args() overwrites adjacent stack slots.\n\nCompute the register count from arg_size for all arguments to fix it.","modified":"2026-09-19T03:47:26.020317584Z","published":"2026-09-17T16:09:03.531Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90358.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/40f3bfbbb222b92278f3797614b70f68d46824ac"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4aed2346fa9b88d458eeb8c01123f3c07585a675"},{"type":"WEB","url":"https://git.kernel.org/stable/c/814cba835ef648e0c5eb79505c96c0493b29eea6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a6d7d7a253c550e74b0651897fe313c2f9b2301f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90358.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90358"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2"},{"fixed":"4aed2346fa9b88d458eeb8c01123f3c07585a675"},{"fixed":"40f3bfbbb222b92278f3797614b70f68d46824ac"},{"fixed":"a6d7d7a253c550e74b0651897fe313c2f9b2301f"},{"fixed":"814cba835ef648e0c5eb79505c96c0493b29eea6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90358.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.1.0"},{"fixed":"6.12.110"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.52"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90358.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}