[PATCH 6.6.y/6.12.y/6.18.y 0/2] bpf: Fix ld_{abs,ind} failure path analysis in subprogs

Philo Lu posted 2 patches 2 days, 15 hours ago
kernel/bpf/verifier.c                         |  17 +++
.../selftests/bpf/progs/verifier_ld_ind.c     | 142 ++++++++++++++++++
2 files changed, 159 insertions(+)
[PATCH 6.6.y/6.12.y/6.18.y 0/2] bpf: Fix ld_{abs,ind} failure path analysis in subprogs
Posted by Philo Lu 2 days, 15 hours ago
Backport of the CVE-2026-53090 fix.

  1/2 ee861486e377, the CVE fix.
  2/2 e0fcb42bc6f4, selftests for the fix.

Daniel Borkmann (2):
  bpf: Fix ld_{abs,ind} failure path analysis in subprogs
  selftests/bpf: Add tests for ld_{abs,ind} failure path in subprogs

 kernel/bpf/verifier.c                         |  17 +++
 .../selftests/bpf/progs/verifier_ld_ind.c     | 142 ++++++++++++++++++
 2 files changed, 159 insertions(+)

--
2.47.3
Re: [PATCH 6.6.y/6.12.y/6.18.y 0/2] bpf: Fix ld_{abs,ind} failure path analysis in subprogs
Posted by Sasha Levin 11 hours ago
> Backport of the CVE-2026-53090 fix.
>
>   1/2 ee861486e377, the CVE fix.
>   2/2 e0fcb42bc6f4, selftests for the fix.

Queued the series for 6.6, 6.12, and 6.18, thanks.

One follow-up: the Fixes commit 09b28d76eac4 ("bpf: Add abnormal return
checks.") is also present in 6.1, 5.15 and 5.10, and the fix is absent there,
so those trees are affected as well but were not covered by this submission.
They likely need a further adaptation. Could you extend coverage with adapted
backports for 6.1/5.15/5.10?

-- 
Thanks,
Sasha