Re: [syzbot] [bpf?] KASAN: slab-out-of-bounds Write in __bpf_get_stackid

From: syzbot

Date: Sun Oct 12 2025 - 15:00:05 EST


Hello,

syzbot has tested the proposed patch and the reproducer did not trigger any issue:

Reported-by: syzbot+c9b724fbb41cf2538b7b@xxxxxxxxxxxxxxxxxxxxxxxxx
Tested-by: syzbot+c9b724fbb41cf2538b7b@xxxxxxxxxxxxxxxxxxxxxxxxx

Tested on:

commit: ad94c972 bpf: fix stackmap overflow check in __bpf_get..
git tree: https://github.com/ArnaudLcm/linux.git bpf-slab-fix
console output: https://syzkaller.appspot.com/x/log.txt?x=1618b304580000
kernel config: https://syzkaller.appspot.com/x/.config?x=4aff57b5083a987a
dashboard link: https://syzkaller.appspot.com/bug?extid=c9b724fbb41cf2538b7b
compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8

Note: no patches were applied.
Note: testing is done by a robot and is best-effort only.