syzbot


general protection fault in nl802154_del_llsec_key
Status: fixed on 2021/05/17 08:49
Reported-by: syzbot+d2423f8d01f47f638d69@syzkaller.appspotmail.com
Fix commit: 1804bf103e73 net: ieee802154: fix nl802154 del llsec key
First crash: 463d, last: 408d

Fix bisection: fixed by (bisect log) :
commit 1804bf103e735f49f650e27c3ec1ec30654b72a1
Author: Alexander Aring <aahringo@redhat.com>
Date: Sun Feb 21 17:43:18 2021 +0000

  net: ieee802154: fix nl802154 del llsec key

similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: unable to handle kernel paging request in nl802154_del_llsec_key C inconclusive 235 413d 464d 22/22 fixed on 2021/11/10 00:50
linux-4.19 general protection fault in nl802154_del_llsec_key C done 91 410d 462d 1/1 fixed on 2021/05/15 09:40

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
Modules linked in:
CPU: 1 PID: 7949 Comm: syz-executor784 Not tainted 4.14.221-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8880973ec400 task.stack: ffff88809a648000
RIP: 0010:nla_len include/net/netlink.h:706 [inline]
RIP: 0010:nla_parse_nested include/net/netlink.h:765 [inline]
RIP: 0010:nl802154_del_llsec_key+0x15a/0x2f0 net/ieee802154/nl802154.c:1615
RSP: 0018:ffff88809a64f698 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff8880b2905500 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff88809a64f850 RDI: ffff8880b2905628
RBP: 1ffff110134c9ed5 R08: 0000000000000001 R09: ffff88809a64f990
R10: ffff88809a64f6af R11: ffff8880973ec400 R12: ffff88823827a2c0
R13: ffff8880abb45050 R14: ffffffff886f2070 R15: ffff8880a3402500
FS:  0000000001916300(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000148 CR3: 000000009a60c000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 genl_family_rcv_msg+0x572/0xb20 net/netlink/genetlink.c:600
 genl_rcv_msg+0xaf/0x140 net/netlink/genetlink.c:625
 netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2433
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:636
 netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline]
 netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1313
 netlink_sendmsg+0x62e/0xb80 net/netlink/af_netlink.c:1878
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xb5/0x100 net/socket.c:656
 ___sys_sendmsg+0x6c8/0x800 net/socket.c:2062
 __sys_sendmsg+0xa3/0x120 net/socket.c:2096
 SYSC_sendmsg net/socket.c:2107 [inline]
 SyS_sendmsg+0x27/0x40 net/socket.c:2103
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x43fa69
RSP: 002b:00007ffe507aa6f8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000004004a0 RCX: 000000000043fa69
RDX: 0000000000000810 RSI: 00000000200005c0 RDI: 0000000000000003
RBP: 00000000004034d0 R08: 0000000000000008 R09: 00000000004004a0
R10: 0000000000000006 R11: 0000000000000246 R12: 0000000000403560
R13: 0000000000000000 R14: 00000000004ad018 R15: 00000000004004a0
Code: 00 00 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 85 01 00 00 48 8b 93 28 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 
RIP: nla_len include/net/netlink.h:706 [inline] RSP: ffff88809a64f698
RIP: nla_parse_nested include/net/netlink.h:765 [inline] RSP: ffff88809a64f698
RIP: nl802154_del_llsec_key+0x15a/0x2f0 net/ieee802154/nl802154.c:1615 RSP: ffff88809a64f698
---[ end trace eabd91d2c6afc64d ]---

Crashes (135):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-14 2021/02/20 15:56 linux-4.14.y 29c52025152b 3e5ed8b4 .config log report syz C general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/02/19 05:40 linux-4.14.y 2c8a3fceddf0 14052202 .config log report syz C general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/04/16 02:19 linux-4.14.y 958e517f4e16 c59079a6 .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/04/15 23:03 linux-4.14.y 958e517f4e16 c59079a6 .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/04/15 12:59 linux-4.14.y 958e517f4e16 fcdb12ba .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/04/15 09:36 linux-4.14.y 958e517f4e16 fcdb12ba .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/04/15 06:08 linux-4.14.y 958e517f4e16 fcdb12ba .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/04/15 03:07 linux-4.14.y 958e517f4e16 fcdb12ba .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/04/14 06:55 linux-4.14.y 958e517f4e16 a184b83e .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/04/14 01:56 linux-4.14.y 958e517f4e16 a184b83e .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/04/13 10:11 linux-4.14.y 958e517f4e16 6a81331a .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/04/13 00:50 linux-4.14.y 958e517f4e16 6a81331a .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/04/12 16:45 linux-4.14.y 958e517f4e16 6a81331a .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/04/12 12:36 linux-4.14.y 958e517f4e16 6a81331a .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/04/11 18:12 linux-4.14.y 958e517f4e16 6a81331a .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/04/11 06:17 linux-4.14.y 958e517f4e16 6a81331a .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/04/10 21:06 linux-4.14.y 958e517f4e16 6a81331a .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/04/10 10:06 linux-4.14.y 0cc244011f40 6a81331a .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/04/10 03:14 linux-4.14.y 0cc244011f40 6a81331a .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/04/09 17:05 linux-4.14.y 0cc244011f40 6a81331a .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/04/09 04:33 linux-4.14.y 0cc244011f40 6a81331a .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/04/08 08:13 linux-4.14.y 0cc244011f40 6a81331a .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/04/07 07:50 linux-4.14.y bd634aa64163 6a81331a .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/04/06 17:26 linux-4.14.y bd634aa64163 6a81331a .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/04/05 18:11 linux-4.14.y bd634aa64163 6a81331a .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/04/04 23:12 linux-4.14.y bd634aa64163 6a81331a .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/04/04 00:09 linux-4.14.y bd634aa64163 6a81331a .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/04/03 21:04 linux-4.14.y bd634aa64163 6a81331a .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/04/03 02:57 linux-4.14.y bd634aa64163 6a81331a .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/04/02 13:20 linux-4.14.y bd634aa64163 6a81331a .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/04/02 11:09 linux-4.14.y bd634aa64163 6a81331a .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/04/01 13:35 linux-4.14.y bd634aa64163 6a81331a .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/03/31 16:04 linux-4.14.y bd634aa64163 6a81331a .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/03/31 01:54 linux-4.14.y bd634aa64163 6a81331a .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/03/30 19:18 linux-4.14.y bd634aa64163 6a81331a .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/03/29 16:48 linux-4.14.y 670d6552eda8 a8529b82 .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/03/29 11:14 linux-4.14.y 670d6552eda8 a8529b82 .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/03/29 01:27 linux-4.14.y 670d6552eda8 a8529b82 .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/03/28 20:26 linux-4.14.y 670d6552eda8 a8529b82 .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/03/27 23:13 linux-4.14.y 670d6552eda8 a8529b82 .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/03/27 17:15 linux-4.14.y 670d6552eda8 a8529b82 .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/03/27 13:22 linux-4.14.y 670d6552eda8 a8529b82 .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/03/27 03:25 linux-4.14.y 670d6552eda8 a8529b82 .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/03/27 00:25 linux-4.14.y 670d6552eda8 a8529b82 .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/03/26 02:40 linux-4.14.y 670d6552eda8 6a383ecf .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/03/25 00:38 linux-4.14.y 670d6552eda8 607e3baf .config log report info general protection fault in nl802154_del_llsec_key
ci2-linux-4-14 2021/03/24 22:39 linux-4.14.y 670d6552eda8 607e3baf .config log report info general protection fault in nl802154_del_llsec_key