CVE-2026-53090
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 09b28d76eac48e922dc293da1aa2b2b85c32aeee < d846d83bdacbd8f14fc45c63b8c1d22608452e1c | affected |
| Linux | Linux | 09b28d76eac48e922dc293da1aa2b2b85c32aeee < ee861486e377edc55361c08dcbceab3f6b6577bd | affected |
| Linux | Linux | 5.10 | affected |
| Linux | Linux | 0 < 5.10 | unaffected |
| Linux | Linux | 7.0.10 <= 7.0.* | unaffected |
| Linux | Linux | 7.1 <= * | unaffected |
Weaknesses
ADP Enrichment
kernel: bpf: Fix ld_{abs,ind} failure path analysis in subprogs
Additional References
- https://access.redhat.com/security/cve/CVE-2026-53090
- https://bugzilla.redhat.com/show_bug.cgi?id=2492305
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-53090.json
References
- https://git.kernel.org/stable/c/d846d83bdacbd8f14fc45c63b8c1d22608452e1c
- https://git.kernel.org/stable/c/ee861486e377edc55361c08dcbceab3f6b6577bd
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.