[ Sasha's backport helper bot ]
Hi,
✅ All tests passed successfully. No issues detected. No action required from the submitter.
The upstream commit SHA1 provided is correct: ac6542ad92759cda383ad62b4e4cbfc28136abc1
WARNING: Author mismatch between patch and upstream commit: Backport author: Shung-Hsi Yushung-hsi.yu@suse.com Commit author: Eduard Zingermaneddyz87@gmail.com
Status in newer kernel trees: 6.14.y | Present (exact SHA1)
Note: The patch differs from the upstream commit: --- 1: ac6542ad92759 ! 1: 10066c4273710 bpf: fix null dereference when computing changes_pkt_data of prog w/o subprogs @@ Metadata ## Commit message ## bpf: fix null dereference when computing changes_pkt_data of prog w/o subprogs
+ commit ac6542ad92759cda383ad62b4e4cbfc28136abc1 upstream. + bpf_prog_aux->func field might be NULL if program does not have subprograms except for main sub-program. The fixed commit does bpf_prog_aux->func access unconditionally, which might lead to null @@ Commit message Signed-off-by: Eduard Zingerman eddyz87@gmail.com Link: https://lore.kernel.org/r/20241212070711.427443-1-eddyz87@gmail.com Signed-off-by: Alexei Starovoitov ast@kernel.org + Signed-off-by: Shung-Hsi Yu shung-hsi.yu@suse.com
## kernel/bpf/verifier.c ## @@ kernel/bpf/verifier.c: int bpf_check_attach_target(struct bpf_verifier_log *log, ---
Results of testing on various branches:
| Branch | Patch Apply | Build Test | |---------------------------|-------------|------------| | stable/linux-6.14.y | Success | Success |