Re: [syzbot] [net?] [nfc?] KASAN: slab-use-after-free Read in nfc_alloc_send_skb

From: syzbot
Date: Fri Nov 10 2023 - 13:20:32 EST


Hello,

syzbot tried to test the proposed patch but the build/boot failed:

net/nfc/llcp_commands.c:757:2: error: no member named 'sk_lock' in 'struct nfc_llcp_sock'
net/nfc/llcp_commands.c:788:2: error: no member named 'sk_lock' in 'struct nfc_llcp_sock'


Tested on:

commit: aea6bf90 Merge tag 'f2fs-for-6.7-rc1' of git://git.ker..
git tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel config: https://syzkaller.appspot.com/x/.config?x=93ac5233c138249e
dashboard link: https://syzkaller.appspot.com/bug?extid=bbe84a4010eeea00982d
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
patch: https://syzkaller.appspot.com/x/patch.diff?x=15cddc70e80000