Re: KASAN: use-after-free Read in is_bpf_text_address

From: Daniel Borkmann
Date: Tue Oct 22 2019 - 10:25:35 EST


On 10/22/19 3:53 PM, syzbot wrote:
Hello,

syzbot found the following crash on:

HEAD commit:ÂÂÂ 4fe34d61 Merge branch 'x86-urgent-for-linus' of git://git...
git tree:ÂÂÂÂÂÂ upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=15b01a60e00000
kernel config:Â https://syzkaller.appspot.com/x/.config?x=f0a8b0a0736a2ac1
dashboard link: https://syzkaller.appspot.com/bug?extid=0cd01c9e0f5cd37a357e
compiler:ÂÂÂÂÂÂ clang version 9.0.0 (/home/glider/llvm/clang 80fee25776c2fb61e74c1ecb1a523375c2500b69)
syz repro:ÂÂÂÂÂ https://syzkaller.appspot.com/x/repro.syz?x=161f89f7600000
C reproducer:ÂÂ https://syzkaller.appspot.com/x/repro.c?x=16e2d0f8e00000

Fixed by (also just checked via syz test): https://patchwork.ozlabs.org/patch/1181358/

Thanks,
Daniel