{"api_version":"1","generated_at":"2026-09-19T08:40:30+00:00","cve":"CVE-2026-90358","urls":{"html":"https://cve.report/CVE-2026-90358","api":"https://cve.report/api/cve/CVE-2026-90358.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-90358","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-90358"},"summary":{"title":"bpf, x86: Fix trampoline stack size for 128-bit arguments","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-09-17 17:17:34","updated_at":"2026-09-18 18:17:55"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/40f3bfbbb222b92278f3797614b70f68d46824ac","name":"https://git.kernel.org/stable/c/40f3bfbbb222b92278f3797614b70f68d46824ac","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a6d7d7a253c550e74b0651897fe313c2f9b2301f","name":"https://git.kernel.org/stable/c/a6d7d7a253c550e74b0651897fe313c2f9b2301f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4aed2346fa9b88d458eeb8c01123f3c07585a675","name":"https://git.kernel.org/stable/c/4aed2346fa9b88d458eeb8c01123f3c07585a675","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/814cba835ef648e0c5eb79505c96c0493b29eea6","name":"https://git.kernel.org/stable/c/814cba835ef648e0c5eb79505c96c0493b29eea6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-90358","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90358","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2 4aed2346fa9b88d458eeb8c01123f3c07585a675 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2 40f3bfbbb222b92278f3797614b70f68d46824ac git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2 a6d7d7a253c550e74b0651897fe313c2f9b2301f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2 814cba835ef648e0c5eb79505c96c0493b29eea6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.1","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.110 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.52 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.6 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"90358","cve":"CVE-2026-90358","epss":"0.002000000","percentile":"0.102000000","score_date":"2026-09-18","updated_at":"2026-09-19 00:06:16"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["arch/x86/net/bpf_jit_comp.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"4aed2346fa9b88d458eeb8c01123f3c07585a675","status":"affected","version":"a9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2","versionType":"git"},{"lessThan":"40f3bfbbb222b92278f3797614b70f68d46824ac","status":"affected","version":"a9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2","versionType":"git"},{"lessThan":"a6d7d7a253c550e74b0651897fe313c2f9b2301f","status":"affected","version":"a9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2","versionType":"git"},{"lessThan":"814cba835ef648e0c5eb79505c96c0493b29eea6","status":"affected","version":"a9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["arch/x86/net/bpf_jit_comp.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.1"},{"lessThan":"6.1","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.110","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.52","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.110","versionStartIncluding":"6.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.52","versionStartIncluding":"6.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.6","versionStartIncluding":"6.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3-rc1","versionStartIncluding":"6.1","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"AV:L - The under-allocation is in __arch_prepare_bpf_trampoline()/save_args() in arch/x86/net/bpf_jit_comp.c and is reached only when a local process issues bpf(BPF_PROG_LOAD) for BPF_PROG_TYPE_TRACING fentry/fexit and bpf(BPF_LINK_CREATE) against a BTF function with a 16-byte integer argument. BPF is a local syscall vector, not a network protocol parser.\nAC:L - The attacker selects an attach target whose BTF has arg_size==16 without BTF_FMODEL_STRUCT_ARG (e.g. bpf_testmod_test_int128_arg). __arch_prepare_bpf_trampoline() then under-counts nr_regs by one slot per such argument and save_args() deterministically overwrites the next stack slot; no race or uninfluenced layout is required.\nPR:L - bpf_prog_load() rejects BPF_PROG_TYPE_TRACING unless bpf_token_capable(CAP_BPF) and, via is_perfmon_prog_type(), bpf_token_capable(CAP_PERFMON). Those capabilities are delegable with BPF tokens and are scored Low, not init-namespace root, consistent with other BPF trampoline CVEs.\nUI:N - The attacker loads the fentry/fexit program, attaches it with BPF_LINK_CREATE, and invokes the target themselves (for bpf_testmod, a read of the module sysfs test file that calls bpf_testmod_test_int128_arg). No separate victim mount or click is required.\nS:U - save_args() overwrites the trampoline's own saved RBP and adjacent slots in the host kernel stack. That is in-kernel memory corruption on the same authority, not a KVM/Xen guest-to-host, IOMMU, or sandbox boundary crossing.\nC:H - The extra 8-byte store of the __int128's second register (RSI) lands in adjacent trampoline slots. On an fentry trampoline without a return-value slot that is saved RBP, so leave pivots RSP through argument contents and subsequent pops/unwinds can disclose kernel stack/memory.\nI:H - The same OOB store overwrites saved RBP (and with two 16-byte scalars, the return address at RBP+8). The trampoline epilogue then executes leave; ret on a corrupted frame, which is kernel stack memory corruption exploitable for a stack pivot and control-flow hijack.\nA:H - Overwriting saved RBP with the high half of a small __int128 (0 for bpf_testmod_test_int128_arg((__int128)1,...)) makes leave load a bogus frame pointer, so the following pop/ret oopses or panics the kernel."}]}],"providerMetadata":{"dateUpdated":"2026-09-18T17:54:50.685Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/4aed2346fa9b88d458eeb8c01123f3c07585a675"},{"url":"https://git.kernel.org/stable/c/40f3bfbbb222b92278f3797614b70f68d46824ac"},{"url":"https://git.kernel.org/stable/c/a6d7d7a253c550e74b0651897fe313c2f9b2301f"},{"url":"https://git.kernel.org/stable/c/814cba835ef648e0c5eb79505c96c0493b29eea6"}],"title":"bpf, x86: Fix trampoline stack size for 128-bit arguments","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-90358","datePublished":"2026-09-17T16:09:03.531Z","dateReserved":"2026-09-11T19:38:34.806Z","dateUpdated":"2026-09-18T17:54:50.685Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-17 17:17:34","lastModifiedDate":"2026-09-18 18:17:55","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"90358","Ordinal":"1","Title":"bpf, x86: Fix trampoline stack size for 128-bit arguments","CVE":"CVE-2026-90358","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"90358","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"bpf, x86: Fix trampoline stack size for 128-bit arguments"}]}}}