[ 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: 8ed2ef21ff564cf4a25c098ace510ee6513c9836
WARNING: Author mismatch between patch and upstream commit: Backport author: Kang Wenlinwenlin.kang@windriver.com Commit author: Kees Cookkeescook@chromium.org
Status in newer kernel trees: 6.13.y | Present (exact SHA1) 6.12.y | Present (exact SHA1) 6.6.y | Not found
Note: The patch differs from the upstream commit: --- 1: 8ed2ef21ff564 ! 1: b68e62cd6249e binfmt_elf: elf_bss no longer used by load_elf_binary() @@ Metadata ## Commit message ## binfmt_elf: elf_bss no longer used by load_elf_binary()
+ commit 8ed2ef21ff564cf4a25c098ace510ee6513c9836 upstream + With the BSS handled generically via the new filesz/memsz mismatch handling logic in elf_load(), elf_bss no longer needs to be tracked. Drop the variable. @@ Commit message Signed-off-by: Sebastian Ott sebott@redhat.com Link: https://lore.kernel.org/r/20230929032435.2391507-2-keescook@chromium.org Signed-off-by: Kees Cook keescook@chromium.org + Signed-off-by: Wenlin Kang wenlin.kang@windriver.com
## fs/binfmt_elf.c ## @@ fs/binfmt_elf.c: static int load_elf_binary(struct linux_binprm *bprm) @@ fs/binfmt_elf.c: static int load_elf_binary(struct linux_binprm *bprm) @@ fs/binfmt_elf.c: static int load_elf_binary(struct linux_binprm *bprm) if (retval < 0) goto out_free_dentry; - + - elf_bss = 0; elf_brk = 0;
---
Results of testing on various branches:
| Branch | Patch Apply | Build Test | |---------------------------|-------------|------------| | stable/linux-6.6.y | Success | Success |