---
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
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-90358.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-90358'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2536499'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-90358'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-90358'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-90358.mbox
  - url: 'https://git.kernel.org/stable/c/7f96bf0d24b2acc0732906b60a10f06783f2470d'
  - url: 'https://kernelcve.org/list/?q=CVE-2026-90358'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
  - score-dispute
epss: 0.00168
epssPercentile: 0.06172
ingestedAt: '2026-09-17T16:21:47.813Z'
cwe:
  - CWE-131
  - CWE-787
scores:
  nvd: 7.8
  vendor: 5.5
  cna: 7.8
---

## 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.

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · updated 2026-10-23 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-90358.json)
