[ 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: f9c0a39d95301a36baacfd3495374c6128d662fa
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: f9c0a39d95301 ! 1: 6dcb8e418404b binfmt_elf: Only report padzero() errors when PROT_WRITE @@ Metadata ## Commit message ## binfmt_elf: Only report padzero() errors when PROT_WRITE
+ commit f9c0a39d95301a36baacfd3495374c6128d662fa upstream + Errors with padzero() should be caught unless we're expecting a pathological (non-writable) segment. Report -EFAULT only when PROT_WRITE is present. @@ Commit message Signed-off-by: Sebastian Ott sebott@redhat.com Link: https://lore.kernel.org/r/20230929032435.2391507-5-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 struct linux_binfmt elf_format = { ---
Results of testing on various branches:
| Branch | Patch Apply | Build Test | |---------------------------|-------------|------------| | stable/linux-6.6.y | Success | Success |