syzbot


general protection fault in nl802154_del_llsec_devkey

Status: fixed on 2021/05/17 08:49
Reported-by: syzbot+4be85e633fa5c2e8fda2@syzkaller.appspotmail.com
Fix commit: 266e3f2ef0d1 net: ieee802154: fix nl802154 del llsec devkey
First crash: 1160d, last: 1098d
Fix bisection: fixed by (bisect log) :
commit 266e3f2ef0d10efe2d74bac5b0d4e4dd20320e60
Author: Alexander Aring <aahringo@redhat.com>
Date: Sun Feb 21 17:43:21 2021 +0000

  net: ieee802154: fix nl802154 del llsec devkey

  
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 general protection fault in nl802154_del_llsec_devkey C done 110 1100d 1160d 1/1 fixed on 2021/05/15 09:40
upstream general protection fault in nl802154_del_llsec_devkey wpan C inconclusive 229 1104d 1156d 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
Modules linked in:
CPU: 0 PID: 7985 Comm: syz-executor399 Not tainted 4.14.218-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8880b3a9c580 task.stack: ffff8880b4840000
RIP: 0010:nla_len syzkaller/managers/linux-4-14/kernel/./include/net/netlink.h:706 [inline]
RIP: 0010:nla_parse_nested syzkaller/managers/linux-4-14/kernel/./include/net/netlink.h:765 [inline]
RIP: 0010:nl802154_del_llsec_devkey+0x149/0x330 syzkaller/managers/linux-4-14/kernel/net/ieee802154/nl802154.c:1943
RSP: 0018:ffff8880b48476a0 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff88823a06bd00 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff8880b4847850 RDI: ffff88823a06be20
RBP: 1ffff11016908ed6 R08: 0000000000000001 R09: ffff8880b4847990
R10: ffff8880b48476af R11: ffff8880b3a9c580 R12: ffff88823829e280
R13: ffff8880abad4fd0 R14: ffffffff886f1d90 R15: ffff8880a220c780
FS:  0000000000f37300(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000408 CR3: 000000009f410000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 genl_family_rcv_msg+0x572/0xb20 syzkaller/managers/linux-4-14/kernel/net/netlink/genetlink.c:600
 genl_rcv_msg+0xaf/0x140 syzkaller/managers/linux-4-14/kernel/net/netlink/genetlink.c:625
 netlink_rcv_skb+0x125/0x390 syzkaller/managers/linux-4-14/kernel/net/netlink/af_netlink.c:2433
 genl_rcv+0x24/0x40 syzkaller/managers/linux-4-14/kernel/net/netlink/genetlink.c:636
 netlink_unicast_kernel syzkaller/managers/linux-4-14/kernel/net/netlink/af_netlink.c:1287 [inline]
 netlink_unicast+0x437/0x610 syzkaller/managers/linux-4-14/kernel/net/netlink/af_netlink.c:1313
 netlink_sendmsg+0x62e/0xb80 syzkaller/managers/linux-4-14/kernel/net/netlink/af_netlink.c:1878
 sock_sendmsg_nosec syzkaller/managers/linux-4-14/kernel/net/socket.c:646 [inline]
 sock_sendmsg+0xb5/0x100 syzkaller/managers/linux-4-14/kernel/net/socket.c:656
 ___sys_sendmsg+0x6c8/0x800 syzkaller/managers/linux-4-14/kernel/net/socket.c:2062
 __sys_sendmsg+0xa3/0x120 syzkaller/managers/linux-4-14/kernel/net/socket.c:2096
 SYSC_sendmsg syzkaller/managers/linux-4-14/kernel/net/socket.c:2107 [inline]
 SyS_sendmsg+0x27/0x40 syzkaller/managers/linux-4-14/kernel/net/socket.c:2103
 do_syscall_64+0x1d5/0x640 syzkaller/managers/linux-4-14/kernel/arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x43f8a9
RSP: 002b:00007fff61914b88 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000004004a0 RCX: 000000000043f8a9
RDX: 0000000024000044 RSI: 00000000200007c0 RDI: 0000000000000004
RBP: 0000000000403310 R08: 00000000004004a0 R09: 00000000004004a0
R10: 0000000000000006 R11: 0000000000000246 R12: 00000000004033a0
R13: 0000000000000000 R14: 00000000004ad018 R15: 00000000004004a0
Code: 00 00 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 ca 01 00 00 48 8b 93 20 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 syzkaller/managers/linux-4-14/kernel/./include/net/netlink.h:706 [inline] RSP: ffff8880b48476a0
RIP: nla_parse_nested syzkaller/managers/linux-4-14/kernel/./include/net/netlink.h:765 [inline] RSP: ffff8880b48476a0
RIP: nl802154_del_llsec_devkey+0x149/0x330 syzkaller/managers/linux-4-14/kernel/net/ieee802154/nl802154.c:1943 RSP: ffff8880b48476a0
---[ end trace 2db7d383edf78fa3 ]---

Crashes (171):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/02/13 15:05 linux-4.14.y 2c8a3fceddf0 98682e5e .config console log report syz C ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/16 06:47 linux-4.14.y 958e517f4e16 c59079a6 .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/15 15:53 linux-4.14.y 958e517f4e16 fcdb12ba .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/15 07:40 linux-4.14.y 958e517f4e16 fcdb12ba .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/15 05:10 linux-4.14.y 958e517f4e16 fcdb12ba .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/14 21:14 linux-4.14.y 958e517f4e16 3134b37f .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/14 17:28 linux-4.14.y 958e517f4e16 3134b37f .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/14 16:11 linux-4.14.y 958e517f4e16 3134b37f .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/14 08:54 linux-4.14.y 958e517f4e16 a184b83e .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/14 08:23 linux-4.14.y 958e517f4e16 a184b83e .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/14 01:39 linux-4.14.y 958e517f4e16 a184b83e .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/13 21:45 linux-4.14.y 958e517f4e16 a184b83e .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/13 15:46 linux-4.14.y 958e517f4e16 6a81331a .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/12 19:43 linux-4.14.y 958e517f4e16 6a81331a .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/12 09:55 linux-4.14.y 958e517f4e16 6a81331a .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/11 18:24 linux-4.14.y 958e517f4e16 6a81331a .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/11 03:30 linux-4.14.y 958e517f4e16 6a81331a .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/10 08:33 linux-4.14.y 0cc244011f40 6a81331a .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/09 20:43 linux-4.14.y 0cc244011f40 6a81331a .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/09 16:41 linux-4.14.y 0cc244011f40 6a81331a .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/09 14:21 linux-4.14.y 0cc244011f40 6a81331a .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/09 11:36 linux-4.14.y 0cc244011f40 6a81331a .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/08 09:06 linux-4.14.y 0cc244011f40 6a81331a .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/08 07:41 linux-4.14.y 0cc244011f40 6a81331a .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/08 07:18 linux-4.14.y 0cc244011f40 6a81331a .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/08 05:48 linux-4.14.y 0cc244011f40 6a81331a .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/08 03:24 linux-4.14.y 0cc244011f40 6a81331a .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/08 01:53 linux-4.14.y 0cc244011f40 6a81331a .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/07 03:44 linux-4.14.y bd634aa64163 6a81331a .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/06 10:29 linux-4.14.y bd634aa64163 6a81331a .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/06 07:25 linux-4.14.y bd634aa64163 6a81331a .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/05 21:38 linux-4.14.y bd634aa64163 6a81331a .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/05 18:47 linux-4.14.y bd634aa64163 6a81331a .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/05 16:37 linux-4.14.y bd634aa64163 6a81331a .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/04 19:37 linux-4.14.y bd634aa64163 6a81331a .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/04 05:36 linux-4.14.y bd634aa64163 6a81331a .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/04 03:01 linux-4.14.y bd634aa64163 6a81331a .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/04 01:46 linux-4.14.y bd634aa64163 6a81331a .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/03 22:57 linux-4.14.y bd634aa64163 6a81331a .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/03 09:17 linux-4.14.y bd634aa64163 6a81331a .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/02 20:23 linux-4.14.y bd634aa64163 6a81331a .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/02 12:40 linux-4.14.y bd634aa64163 6a81331a .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
2021/04/01 21:20 linux-4.14.y bd634aa64163 6a81331a .config console log report info ci2-linux-4-14 general protection fault in nl802154_del_llsec_devkey
* Struck through repros no longer work on HEAD.