Back to overview

CVE-2026-53090

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.

Metadata

CVE ID
CVE-2026-53090
State
PUBLISHED
Assigner
Linux
Reserved
2026-06-09 07:44 UTC
Published
2026-06-24 16:30 UTC
Last updated
2026-06-24 16:30 UTC
Vendor / Product
Linux / Linux
Sources
cve.org  ·  NVD

Severity & Metrics

No CVSS data available.

Affected products (2)
VendorProductPlatformVersions
Linux Linux 09b28d76eac48e922dc293da1aa2b2b85c32aeee < d846d83bdacbd8f14fc45c63b8c1d22608452e1c, 09b28d76eac48e922dc293da1aa2b2b85c32aeee < ee861486e377edc55361c08dcbceab3f6b6577bd
Linux Linux 5.10, 0 < 5.10, 7.0.10 ≤ 7.0.*, 7.1 ≤ *
Back to overview