Re: BUG: unable to handle kernel paging request in build_id_parse_nofault

From: Daniel Borkmann
Date: Fri Oct 18 2024 - 07:39:23 EST


On 10/18/24 1:26 PM, Hui Guo wrote:
Hi Kernel Maintainers,
we found a crash "BUG: unable to handle kernel paging request in
build_id_parse_nofault" (it seems like a KASAN and makes the kernel
reboot) in upstream, we also have successfully reproduced it manually:

HEAD Commit: 9852d85ec9d492ebef56dc5f229416c925758edc(tag 'v6.12-rc1')
kernel config: https://raw.githubusercontent.com/androidAppGuard/KernelBugs/main/6.12.config

console output:
https://raw.githubusercontent.com/androidAppGuard/KernelBugs/main/9852d85ec9d492ebef56dc5f229416c925758edc/7a4626c1fd3c932f5ee145636d9b82d152708357/log0
repro report: https://raw.githubusercontent.com/androidAppGuard/KernelBugs/main/9852d85ec9d492ebef56dc5f229416c925758edc/7a4626c1fd3c932f5ee145636d9b82d152708357/repro.report
syz reproducer:
https://raw.githubusercontent.com/androidAppGuard/KernelBugs/main/9852d85ec9d492ebef56dc5f229416c925758edc/7a4626c1fd3c932f5ee145636d9b82d152708357/repro.prog
c reproducer: https://raw.githubusercontent.com/androidAppGuard/KernelBugs/main/9852d85ec9d492ebef56dc5f229416c925758edc/7a4626c1fd3c932f5ee145636d9b82d152708357/repro.cprog


Please let me know if there is anything I can help with.

Should be fixed by :

https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=5ac9b4e935dfc6af41eee2ddc21deb5c36507a9f

Please retry against git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git tree.

Thanks,
Daniel