CVE-2026-53090

bpf: Fix ld_{abs,ind} failure path analysis in subprogs

HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.14 % · centile 3 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix ld_{abs,ind} failure path analysis in subprogs Usage of ld_{abs,ind} instructions got extended into subprogs some time ago via commit 09b28d76eac4 ("bpf: Add abnormal return checks."). These are only allowed in subprograms when the latter are BTF annotated and have scalar return types. The code generator in bpf_gen_ld_abs() has an abnormal exit path (r0=0 + exit) from legacy cBPF times. While the enforcement is on scalar return types, the verifier must also simulate the path of abnormal exit if the packet data load via ld_{abs,ind} failed. This is currently not the case. Fix it by having the verifier simulate both success and failure paths, and extend it in similar ways as we do for tail calls. The success path (r0=unknown, continue to next insn) is pushed onto stack for later validation and the r0=0 and return to the caller is done on the fall-through side.

Faiblesses (CWE)

  • CWE-253 — Incorrect Check of Function Return Value

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.1MEDIUM 6.4CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:Hredhat-SADP
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)
CVSS 3.1MEDIUM 6.4CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:HNVD · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 09b28d76eac48e922dc293da1aa2b2b85c32aeee < 928d354ae3557e8f755a227e67be88034eb3cd7f ; affected 09b28d76eac48e922dc293da1aa2b2b85c32aeee < 8a800497d9f6c2ec9c2c1ba7b71d0ac2ea7f7bbe ; affected 09b28d76eac48e922dc293da1aa2b2b85c32aeee < de1055e7f9e67af32b1f3376066272b04e5223c0 ; affected 09b28d76eac48e922dc293da1aa2b2b85c32aeee < 37ad2bb11e9de92cb7b94548705eeedd87f7d392 ; affected 09b28d76eac48e922dc293da1aa2b2b85c32aeee < 8674e2db06cff6b50f2216eed9a761d15425bb34 ; affected 09b28d76eac48e922dc293da1aa2b2b85c32aeee < ce01a4e5cfac7adbe0be565f90cd32ecbb2f8337
Linux · Linuxaffected 5.10 ; unaffected 0 < 5.10 ; unaffected 5.10.265 ≤ 5.10.* ; unaffected 5.15.216 ≤ 5.15.* ; unaffected 6.1.183 ≤ 6.1.* ; unaffected 6.6.148 ≤ 6.6.*

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