syzbot


general protection fault in nl802154_del_llsec_dev

Status: fixed on 2021/05/16 01:11
Reported-by: syzbot+19b1d17941516aef5dcc@syzkaller.appspotmail.com
Fix commit: 3ee9f1bafd06 net: ieee802154: fix nl802154 del llsec dev
First crash: 1166d, last: 1105d
Fix bisection: fixed by (bisect log) :
commit 3ee9f1bafd068c480ee9c458c9f74a83e9dfbb12
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.19 general protection fault in nl802154_del_llsec_dev C done 70 1108d 1164d 1/1 fixed on 2021/05/12 18:44
upstream general protection fault in nl802154_del_llsec_dev wpan C inconclusive 166 1110d 1161d 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: 7957 Comm: syz-executor311 Not tainted 4.14.218-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff88809f23c040 task.stack: ffff8880b45e0000
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_dev+0x13b/0x2e0 syzkaller/managers/linux-4-14/kernel/net/ieee802154/nl802154.c:1783
RSP: 0018:ffff8880b45e76e0 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff8880b2a5f780 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff8880b45e7850 RDI: ffff8880b2a5f898
RBP: 1ffff110168bcede R08: 0000000000000000 R09: ffff8880b45e7990
R10: 0000000000000002 R11: ffff88809f23c040 R12: ffff8880abe6ed00
R13: ffff8880abeacf50 R14: ffffffff886f1d00 R15: ffff8880a18e7d40
FS:  00000000012f3300(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000b00 CR3: 000000009fec6000 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:0x43f969
RSP: 002b:00007ffd3c234348 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000004004a0 RCX: 000000000043f969
RDX: 0000000020008800 RSI: 0000000020000600 RDI: 0000000000000003
RBP: 00000000004033d0 R08: 0000000000000008 R09: 00000000004004a0
R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000403460
R13: 0000000000000000 R14: 00000000004ad018 R15: 00000000004004a0
Code: 00 00 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 96 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 
RIP: nla_len syzkaller/managers/linux-4-14/kernel/./include/net/netlink.h:706 [inline] RSP: ffff8880b45e76e0
RIP: nla_parse_nested syzkaller/managers/linux-4-14/kernel/./include/net/netlink.h:765 [inline] RSP: ffff8880b45e76e0
RIP: nl802154_del_llsec_dev+0x13b/0x2e0 syzkaller/managers/linux-4-14/kernel/net/ieee802154/nl802154.c:1783 RSP: ffff8880b45e76e0
---[ end trace 444a330cd964c02e ]---

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