syzbot


general protection fault in nl802154_del_llsec_dev

Status: fixed on 2021/05/12 18:44
Reported-by: syzbot+be80c228db8f7e6c2330@syzkaller.appspotmail.com
Fix commit: 3fe0c0485a29 net: ieee802154: fix nl802154 del llsec dev
First crash: 1158d, last: 1102d
Fix bisection: fixed by (bisect log) :
commit 3fe0c0485a298809017fe53a3eebd1863593075d
Author: Alexander Aring <aahringo@redhat.com>
Date: Sun Feb 21 17:43:19 2021 +0000

  net: ieee802154: fix nl802154 del llsec dev

  
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 general protection fault in nl802154_del_llsec_dev C done 136 1099d 1160d 1/1 fixed on 2021/05/16 01:11
upstream general protection fault in nl802154_del_llsec_dev wpan C inconclusive 166 1104d 1155d 20/26 fixed on 2021/11/10 00:50

Sample crash report:
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 8092 Comm: syz-executor315 Not tainted 4.19.172-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:nla_len syzkaller/managers/linux-4-19/kernel/./include/net/netlink.h:706 [inline]
RIP: 0010:nla_parse_nested syzkaller/managers/linux-4-19/kernel/./include/net/netlink.h:765 [inline]
RIP: 0010:nl802154_del_llsec_dev+0x14e/0x320 syzkaller/managers/linux-4-19/kernel/net/ieee802154/nl802154.c:1783
Code: 00 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 ce 01 00 00 48 8b 93 18 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 d1 48 c1 e9 03 <0f> b6 0c 01 48 89 d0 83 e0 07 83 c0 01 38 c8 7c 08 84 c9 0f 85 0b
RSP: 0018:ffff88809512f628 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff88823a4170c0 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff87c508e8 RDI: ffff88823a4171d8
RBP: 1ffff11012a25ec7 R08: 0000000000000001 R09: ffff88809512f920
R10: 0000000000000005 R11: 0000000000000001 R12: ffff888238730240
R13: ffff8880ab574fd0 R14: ffff88823a4170c0 R15: ffffffff89cf57c0
FS:  0000000000b0e300(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000408 CR3: 000000009e80b000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 genl_family_rcv_msg+0x642/0xc40 syzkaller/managers/linux-4-19/kernel/net/netlink/genetlink.c:602
 genl_rcv_msg+0xbf/0x160 syzkaller/managers/linux-4-19/kernel/net/netlink/genetlink.c:627
 netlink_rcv_skb+0x160/0x440 syzkaller/managers/linux-4-19/kernel/net/netlink/af_netlink.c:2455
 genl_rcv+0x24/0x40 syzkaller/managers/linux-4-19/kernel/net/netlink/genetlink.c:638
 netlink_unicast_kernel syzkaller/managers/linux-4-19/kernel/net/netlink/af_netlink.c:1318 [inline]
 netlink_unicast+0x4d5/0x690 syzkaller/managers/linux-4-19/kernel/net/netlink/af_netlink.c:1344
 netlink_sendmsg+0x6bb/0xc40 syzkaller/managers/linux-4-19/kernel/net/netlink/af_netlink.c:1909
 sock_sendmsg_nosec syzkaller/managers/linux-4-19/kernel/net/socket.c:622 [inline]
 sock_sendmsg+0xc3/0x120 syzkaller/managers/linux-4-19/kernel/net/socket.c:632
 ___sys_sendmsg+0x7bb/0x8e0 syzkaller/managers/linux-4-19/kernel/net/socket.c:2115
 __sys_sendmsg syzkaller/managers/linux-4-19/kernel/net/socket.c:2153 [inline]
 __do_sys_sendmsg syzkaller/managers/linux-4-19/kernel/net/socket.c:2162 [inline]
 __se_sys_sendmsg syzkaller/managers/linux-4-19/kernel/net/socket.c:2160 [inline]
 __x64_sys_sendmsg+0x132/0x220 syzkaller/managers/linux-4-19/kernel/net/socket.c:2160
 do_syscall_64+0xf9/0x620 syzkaller/managers/linux-4-19/kernel/arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x43f919
Code: 28 c3 e8 5a 14 00 00 66 2e 0f 1f 84 00 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd0023f098 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000004004a0 RCX: 000000000043f919
RDX: 0000000000008804 RSI: 0000000020000a00 RDI: 0000000000000005
RBP: 0000000000403380 R08: 00000000004004a0 R09: 00000000004004a0
R10: 0000000000000006 R11: 0000000000000246 R12: 0000000000403410
R13: 0000000000000000 R14: 00000000004ad018 R15: 00000000004004a0
Modules linked in:
---[ end trace 3922e3370e8f7b20 ]---
RIP: 0010:nla_len syzkaller/managers/linux-4-19/kernel/./include/net/netlink.h:706 [inline]
RIP: 0010:nla_parse_nested syzkaller/managers/linux-4-19/kernel/./include/net/netlink.h:765 [inline]
RIP: 0010:nl802154_del_llsec_dev+0x14e/0x320 syzkaller/managers/linux-4-19/kernel/net/ieee802154/nl802154.c:1783
Code: 00 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 ce 01 00 00 48 8b 93 18 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 d1 48 c1 e9 03 <0f> b6 0c 01 48 89 d0 83 e0 07 83 c0 01 38 c8 7c 08 84 c9 0f 85 0b
RSP: 0018:ffff88809512f628 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff88823a4170c0 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff87c508e8 RDI: ffff88823a4171d8
RBP: 1ffff11012a25ec7 R08: 0000000000000001 R09: ffff88809512f920
R10: 0000000000000005 R11: 0000000000000001 R12: ffff888238730240
R13: ffff8880ab574fd0 R14: ffff88823a4170c0 R15: ffffffff89cf57c0
FS:  0000000000b0e300(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000408 CR3: 000000009e80b000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (70):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/02/16 17:24 linux-4.19.y 811218eceeaa 98682e5e .config console log report syz C ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/02/15 04:21 linux-4.19.y 811218eceeaa 98682e5e .config console log report syz C ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/04/12 14:22 linux-4.19.y 830a059cbba6 6a81331a .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/04/11 20:59 linux-4.19.y 830a059cbba6 6a81331a .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/04/11 11:53 linux-4.19.y 830a059cbba6 6a81331a .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/04/10 20:56 linux-4.19.y 830a059cbba6 6a81331a .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/04/10 19:00 linux-4.19.y 830a059cbba6 6a81331a .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/04/10 10:48 linux-4.19.y b4454811f122 6a81331a .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/04/09 20:10 linux-4.19.y b4454811f122 6a81331a .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/04/09 16:14 linux-4.19.y b4454811f122 6a81331a .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/04/09 13:07 linux-4.19.y b4454811f122 6a81331a .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/04/09 07:24 linux-4.19.y b4454811f122 6a81331a .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/04/08 19:09 linux-4.19.y b4454811f122 6a81331a .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/04/08 10:59 linux-4.19.y b4454811f122 6a81331a .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/04/08 04:59 linux-4.19.y b4454811f122 6a81331a .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/04/08 03:48 linux-4.19.y b4454811f122 6a81331a .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/04/07 20:30 linux-4.19.y b4454811f122 6a81331a .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/04/06 20:01 linux-4.19.y 2034d6f0838e 6a81331a .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/04/05 06:13 linux-4.19.y 2034d6f0838e 6a81331a .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/04/04 23:43 linux-4.19.y 2034d6f0838e 6a81331a .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/04/04 12:38 linux-4.19.y 2034d6f0838e 6a81331a .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/04/01 16:20 linux-4.19.y 2034d6f0838e 6a81331a .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/31 06:00 linux-4.19.y 2034d6f0838e 6a81331a .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/30 21:32 linux-4.19.y 2034d6f0838e 6a81331a .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/30 20:16 linux-4.19.y 2034d6f0838e 6a81331a .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/29 01:34 linux-4.19.y 78fec1611cbf a8529b82 .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/28 06:38 linux-4.19.y 78fec1611cbf a8529b82 .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/27 09:07 linux-4.19.y 78fec1611cbf a8529b82 .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/26 19:02 linux-4.19.y 78fec1611cbf a8529b82 .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/26 08:09 linux-4.19.y 78fec1611cbf 6a383ecf .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/26 02:08 linux-4.19.y 78fec1611cbf 6a383ecf .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/25 03:54 linux-4.19.y 78fec1611cbf 607e3baf .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/23 19:54 linux-4.19.y 125222814e7b e613994b .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/23 00:52 linux-4.19.y 125222814e7b 8092f30d .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/21 03:28 linux-4.19.y 125222814e7b 17810eae .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/20 15:32 linux-4.19.y 125222814e7b e45f5621 .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/18 23:26 linux-4.19.y ac3af4beac43 380dcc3e .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/18 07:22 linux-4.19.y ac3af4beac43 fdb2bb2c .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/17 19:49 linux-4.19.y ac3af4beac43 fdb2bb2c .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/17 11:23 linux-4.19.y 030194a5b292 fdb2bb2c .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/16 22:53 linux-4.19.y 030194a5b292 fdb2bb2c .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/16 06:18 linux-4.19.y 030194a5b292 fdb2bb2c .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/14 11:27 linux-4.19.y 030194a5b292 4a003785 .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/13 17:17 linux-4.19.y 030194a5b292 4a003785 .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/13 13:39 linux-4.19.y 030194a5b292 4a003785 .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/12 08:21 linux-4.19.y 030194a5b292 429d8a6b .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/10 23:44 linux-4.19.y 2cae3e25b706 764067f3 .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/10 06:19 linux-4.19.y 2cae3e25b706 26967e35 .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/10 03:12 linux-4.19.y 2cae3e25b706 26967e35 .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/09 11:02 linux-4.19.y 2cae3e25b706 09fbf400 .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/08 21:29 linux-4.19.y 2cae3e25b706 09fbf400 .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/08 12:33 linux-4.19.y 2cae3e25b706 09fbf400 .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/07 02:59 linux-4.19.y dfb571610ba3 e4b4d570 .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/05 01:31 linux-4.19.y dfb571610ba3 f89ed068 .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/03 06:40 linux-4.19.y 2d19be4653f5 e5b64d68 .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/01 11:43 linux-4.19.y 2d19be4653f5 4c37c133 .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/03/01 09:23 linux-4.19.y 2d19be4653f5 4c37c133 .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/02/28 22:46 linux-4.19.y 2d19be4653f5 4c37c133 .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/02/27 18:34 linux-4.19.y 2d19be4653f5 4c37c133 .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/02/27 17:29 linux-4.19.y 2d19be4653f5 4c37c133 .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/02/27 15:34 linux-4.19.y 2d19be4653f5 4c37c133 .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/02/26 15:51 linux-4.19.y 2d19be4653f5 4c37c133 .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/02/24 06:19 linux-4.19.y 2d19be4653f5 fcc6d71b .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/02/23 05:51 linux-4.19.y 255b58a2b3af fcc6d71b .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/02/22 08:47 linux-4.19.y 255b58a2b3af a659b3f1 .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/02/21 05:35 linux-4.19.y 255b58a2b3af 3e5ed8b4 .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/02/19 23:06 linux-4.19.y 255b58a2b3af f689d40a .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/02/19 18:02 linux-4.19.y 255b58a2b3af f689d40a .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
2021/02/15 03:58 linux-4.19.y 811218eceeaa 98682e5e .config console log report info ci2-linux-4-19 general protection fault in nl802154_del_llsec_dev
* Struck through repros no longer work on HEAD.