[PATCH 0/2] binfmt: fixes for kres reports

From: Christian Brauner

Date: Fri Sep 18 2026 - 05:38:02 EST


I asked Chris to run his kres tooling on the binfmt with bpf changes
merged for this cycle. It found two issues that are fixed in this
series. I reproduced both of them.

Signed-off-by: Christian Brauner (Amutable) <brauner@xxxxxxxxxx>
---
Chris Mason (2):
binfmt_misc: fix OOB read in bpf_binprm_select_interp()
binfmt_misc: fix racy checks in bpf set_interp kfuncs

fs/binfmt_misc_bpf.c | 35 ++++++++++++++++++++++++++++++++---
1 file changed, 32 insertions(+), 3 deletions(-)
---
base-commit: 5179241521401ef364294128bb43cdbce7252457
change-id: 20260918-work-binfmt_misc-fixes-98c4fe6db27d