---
id: CVE-2026-90358
title: |-
  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 rea…
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 rea…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= a9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2 <
    4aed2346fa9b88d458eeb8c01123f3c07585a675
  - >-
    Linux >= a9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2 <
    40f3bfbbb222b92278f3797614b70f68d46824ac
  - >-
    Linux >= a9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2 <
    a6d7d7a253c550e74b0651897fe313c2f9b2301f
  - >-
    Linux >= a9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2 <
    814cba835ef648e0c5eb79505c96c0493b29eea6
  - Linux 6.1
published: '2026-09-17'
updated: '2026-09-18'
sourceUpdated: '2026-09-18T18:17:55.317'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-90358'
references:
  - url: 'https://git.kernel.org/stable/c/40f3bfbbb222b92278f3797614b70f68d46824ac'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/4aed2346fa9b88d458eeb8c01123f3c07585a675'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/814cba835ef648e0c5eb79505c96c0493b29eea6'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/a6d7d7a253c550e74b0651897fe313c2f9b2301f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
epss: 0.00163
epssPercentile: 0.05964
ingestedAt: '2026-09-17T16:21:47.813Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
