bpf, x86: Fix trampoline stack size for 128-bit arguments (Linux Linux)

CVE-2026-90358
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.17 % · centile 6 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

Description

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.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected a9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2 < 2189232984b45ac8281c80484ab9f67b380a2ca1 ; affected a9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2 < 7f96bf0d24b2acc0732906b60a10f06783f2470d ; affected a9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2 < 4aed2346fa9b88d458eeb8c01123f3c07585a675 ; affected a9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2 < 40f3bfbbb222b92278f3797614b70f68d46824ac ; affected a9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2 < a6d7d7a253c550e74b0651897fe313c2f9b2301f ; affected a9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2 < 814cba835ef648e0c5eb79505c96c0493b29eea6
Linux · Linuxaffected 6.1 ; unaffected 0 < 6.1 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.110 ≤ 6.12.* ; unaffected 6.18.52 ≤ 6.18.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD