CVE-2026-53090

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

State
Published
Severity
7.8 High
Published
Jun 24, 2026
Updated
Oct 19, 2026
Reserved
Jun 9, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
3.16.4 MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:Hredhat-SADP

Weaknesses

  • CWE-253 Incorrect Check of Function Return Value

Affected Products

ProductVersions
LinuxLinux
  • 09b28d76eac48e922dc293da1aa2b2b85c32aeee to before 928d354ae3557e8f755a227e67be88034eb3cd7fAffected
  • 09b28d76eac48e922dc293da1aa2b2b85c32aeee to before 8a800497d9f6c2ec9c2c1ba7b71d0ac2ea7f7bbeAffected
  • 09b28d76eac48e922dc293da1aa2b2b85c32aeee to before de1055e7f9e67af32b1f3376066272b04e5223c0Affected
  • 09b28d76eac48e922dc293da1aa2b2b85c32aeee to before 37ad2bb11e9de92cb7b94548705eeedd87f7d392Affected
  • 09b28d76eac48e922dc293da1aa2b2b85c32aeee to before 8674e2db06cff6b50f2216eed9a761d15425bb34Affected
  • 09b28d76eac48e922dc293da1aa2b2b85c32aeee to before ce01a4e5cfac7adbe0be565f90cd32ecbb2f8337Affected
  • 09b28d76eac48e922dc293da1aa2b2b85c32aeee to before d846d83bdacbd8f14fc45c63b8c1d22608452e1cAffected
  • 09b28d76eac48e922dc293da1aa2b2b85c32aeee to before ee861486e377edc55361c08dcbceab3f6b6577bdAffected
LinuxLinux
  • 5.10Affected
  • before 5.10Not affected
  • 5.10.265 through 5.10.*Not affected
  • 5.15.216 through 5.15.*Not affected
  • 6.1.183 through 6.1.*Not affected
  • 6.6.148 through 6.6.*Not affected
  • 6.12.101 through 6.12.*Not affected
  • 6.18.42 through 6.18.*Not affected
  • 7.0.10 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.