syzbot


general protection fault in nl802154_del_llsec_dev

Status: fixed on 2021/11/10 00:50
Subsystems: wpan
[Documentation on labels]
Reported-by: syzbot+d946223c2e751d136c94@syzkaller.appspotmail.com
Fix commit: 3d1eac2f4558 net: ieee802154: fix nl802154 del llsec dev
First crash: 1257d, last: 1201d
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: general protection fault in nl802154_del_llsec_dev (log)
Repro: C syz .config
  
Discussions (12)
Title Replies (including bot) Last reply
[PATCH 4.14 00/68] 4.14.231-rc1 review 77 (77) 2021/07/28 12:56
[PATCH 5.4 000/111] 5.4.112-rc1 review 124 (124) 2021/05/19 00:04
[PATCH AUTOSEL 5.10 01/46] net: ieee802154: fix nl802154 del llsec key 47 (47) 2021/04/19 08:49
[PATCH 4.4 00/38] 4.4.267-rc1 review 42 (42) 2021/04/16 12:52
[PATCH 4.9 00/47] 4.9.267-rc1 review 51 (51) 2021/04/16 11:50
[PATCH 4.19 00/66] 4.19.187-rc1 review 75 (75) 2021/04/14 02:50
[PATCH 5.10 000/188] 5.10.30-rc1 review 199 (199) 2021/04/13 10:44
[PATCH 5.11 000/210] 5.11.14-rc1 review 214 (214) 2021/04/13 04:46
[PATCH AUTOSEL 5.4 01/39] net: ieee802154: fix nl802154 del llsec key 39 (39) 2021/04/12 16:25
[PATCH AUTOSEL 5.11 01/51] net: ieee802154: fix nl802154 del llsec key 51 (51) 2021/04/12 16:22
[PATCH wpan 1/4] net: ieee802154: fix nl802154 del llsec key 10 (10) 2021/02/24 13:39
general protection fault in nl802154_del_llsec_dev 0 (1) 2021/02/18 17:21
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 1199d 1256d 1/1 fixed on 2021/05/12 18:44
linux-4.14 general protection fault in nl802154_del_llsec_dev C done 136 1196d 1257d 1/1 fixed on 2021/05/16 01:11
Cause bisection attempts (2)
Created Duration User Patch Repo Result
2021/02/19 07:53 3h22m bisect net-old OK (0) job log log
2021/02/13 12:44 0m bisect net-old error job log

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 PID: 8399 Comm: syz-executor205 Not tainted 5.12.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:nla_len include/net/netlink.h:1148 [inline]
RIP: 0010:nla_parse_nested_deprecated include/net/netlink.h:1231 [inline]
RIP: 0010:nl802154_del_llsec_dev+0x150/0x310 net/ieee802154/nl802154.c:1760
Code: 00 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 c4 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 13
RSP: 0018:ffffc90000fff568 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff8880138be000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8890b5ca RDI: ffff8880138be118
RBP: 1ffff920001ffeae R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff87380a7a R11: 0000000000000000 R12: ffff88801adbe000
R13: ffff88801ade0c10 R14: ffffc90000fff8b0 R15: 0000000000000000
FS:  0000000001a68300(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000048 CR3: 00000000180ac000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 genl_family_rcv_msg_doit+0x228/0x320 net/netlink/genetlink.c:739
 genl_family_rcv_msg net/netlink/genetlink.c:783 [inline]
 genl_rcv_msg+0x328/0x580 net/netlink/genetlink.c:800
 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2502
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:811
 netlink_unicast_kernel net/netlink/af_netlink.c:1312 [inline]
 netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1338
 netlink_sendmsg+0x856/0xd90 net/netlink/af_netlink.c:1927
 sock_sendmsg_nosec net/socket.c:654 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:674
 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2350
 ___sys_sendmsg+0xf3/0x170 net/socket.c:2404
 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2433
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x43fa49
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:00007ffe2be80dd8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000004004a0 RCX: 000000000043fa49
RDX: 0000000020040040 RSI: 0000000020000100 RDI: 0000000000000003
RBP: 00000000004034b0 R08: 000000000000000c R09: 00000000004004a0
R10: 0000000000000006 R11: 0000000000000246 R12: 0000000000403540
R13: 0000000000000000 R14: 00000000004ad018 R15: 00000000004004a0
Modules linked in:
---[ end trace d194446cffc8140b ]---
RIP: 0010:nla_len include/net/netlink.h:1148 [inline]
RIP: 0010:nla_parse_nested_deprecated include/net/netlink.h:1231 [inline]
RIP: 0010:nl802154_del_llsec_dev+0x150/0x310 net/ieee802154/nl802154.c:1760
Code: 00 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 c4 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 13
RSP: 0018:ffffc90000fff568 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff8880138be000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8890b5ca RDI: ffff8880138be118
RBP: 1ffff920001ffeae R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff87380a7a R11: 0000000000000000 R12: ffff88801adbe000
R13: ffff88801ade0c10 R14: ffffc90000fff8b0 R15: 0000000000000000
FS:  0000000001a68300(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000048 CR3: 00000000180ac000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (166):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/04/01 04:49 net-old d47ec7a0a727 6a81331a .config console log report syz C ci-upstream-net-this-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/02/15 04:54 net-old 57baf8cc70ea 98682e5e .config console log report syz C ci-upstream-net-this-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/02/13 12:44 net-old 57baf8cc70ea 98682e5e .config console log report syz C ci-upstream-net-this-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/04/01 06:52 net-next-old 917e2e6c5798 6a81331a .config console log report syz C ci-upstream-net-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/02/15 08:13 net-next-old c48f86071027 98682e5e .config console log report syz C ci-upstream-net-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/02/13 15:56 net-next-old 773dc50d7169 98682e5e .config console log report syz C ci-upstream-net-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/04/09 22:42 upstream 17e7124aad76 6a81331a .config console log report info ci-upstream-kasan-gce-selinux-root general protection fault in nl802154_del_llsec_dev
2021/04/09 12:55 upstream 4fa56ad0d12e 6a81331a .config console log report info ci-upstream-kasan-gce-selinux-root general protection fault in nl802154_del_llsec_dev
2021/04/09 09:11 upstream 4fa56ad0d12e 6a81331a .config console log report info ci-upstream-kasan-gce-selinux-root general protection fault in nl802154_del_llsec_dev
2021/04/09 07:12 upstream 4fa56ad0d12e 6a81331a .config console log report info ci-upstream-kasan-gce-smack-root general protection fault in nl802154_del_llsec_dev
2021/04/08 05:40 upstream 3a22981230f9 6a81331a .config console log report info ci-upstream-kasan-gce-root general protection fault in nl802154_del_llsec_dev
2021/04/07 15:19 upstream 2d743660786e 6a81331a .config console log report info ci-upstream-kasan-gce-smack-root general protection fault in nl802154_del_llsec_dev
2021/04/06 14:12 upstream 0a50438c8436 6a81331a .config console log report info ci-upstream-kasan-gce-root general protection fault in nl802154_del_llsec_dev
2021/04/05 09:51 upstream e49d033bddf5 6a81331a .config console log report info ci-upstream-kasan-gce-smack-root general protection fault in nl802154_del_llsec_dev
2021/04/04 06:28 upstream 57fbdb15ec42 6a81331a .config console log report info ci-upstream-kasan-gce-smack-root general protection fault in nl802154_del_llsec_dev
2021/04/02 21:46 upstream 1678e493d530 6a81331a .config console log report info ci-upstream-kasan-gce-root general protection fault in nl802154_del_llsec_dev
2021/03/30 07:19 upstream 1e43c377a79f 6a81331a .config console log report info ci-upstream-kasan-gce-selinux-root general protection fault in nl802154_del_llsec_dev
2021/03/30 06:10 upstream 1e43c377a79f 6a81331a .config console log report info ci-upstream-kasan-gce-selinux-root general protection fault in nl802154_del_llsec_dev
2021/02/27 17:23 upstream 3fb6d0e00efc 4c37c133 .config console log report info ci-qemu-upstream general protection fault in nl802154_del_llsec_dev
2021/04/08 04:04 net-old 5219d6012d46 6a81331a .config console log report info ci-upstream-net-this-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/04/07 20:20 net-old 0f6925b3e8da 6a81331a .config console log report info ci-upstream-net-this-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/04/07 16:28 net-old 0f6925b3e8da 6a81331a .config console log report info ci-upstream-net-this-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/04/05 22:25 net-old a14d273ba159 6a81331a .config console log report info ci-upstream-net-this-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/04/05 20:30 net-old a14d273ba159 6a81331a .config console log report info ci-upstream-net-this-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/04/04 20:57 net-old a14d273ba159 6a81331a .config console log report info ci-upstream-net-this-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/04/03 13:09 net-old 990b03b05b2f 6a81331a .config console log report info ci-upstream-net-this-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/04/03 06:54 net-old 990b03b05b2f 6a81331a .config console log report info ci-upstream-net-this-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/04/02 08:43 net-old 9256ce331101 6a81331a .config console log report info ci-upstream-net-this-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/04/01 01:01 net-old d47ec7a0a727 6a81331a .config console log report info ci-upstream-net-this-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/03/31 11:03 net-old 61431a5907fc 6a81331a .config console log report info ci-upstream-net-this-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/03/28 23:41 net-old 75887e881b19 a8529b82 .config console log report info ci-upstream-net-this-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/04/10 19:01 net-next-old 626b598aa8be bfeda1b1 .config console log report info ci-upstream-net-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/04/09 21:23 net-next-old 4438669eb703 6a81331a .config console log report info ci-upstream-net-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/04/09 20:05 net-next-old 4438669eb703 6a81331a .config console log report info ci-upstream-net-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/04/09 16:49 net-next-old 4438669eb703 6a81331a .config console log report info ci-upstream-net-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/04/06 09:45 net-next-old cc0626c2aaed 6a81331a .config console log report info ci-upstream-net-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/04/06 02:12 net-next-old 514e1150da9c 6a81331a .config console log report info ci-upstream-net-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/04/05 05:34 net-next-old 7d42e84eb99d 6a81331a .config console log report info ci-upstream-net-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/04/05 02:56 net-next-old 7d42e84eb99d 6a81331a .config console log report info ci-upstream-net-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/04/04 11:33 net-next-old 428e68e1a85a 6a81331a .config console log report info ci-upstream-net-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/04/04 09:03 net-next-old 428e68e1a85a 6a81331a .config console log report info ci-upstream-net-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/04/03 21:33 net-next-old 825066651792 6a81331a .config console log report info ci-upstream-net-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/04/03 14:11 net-next-old f3f409a9b7f5 6a81331a .config console log report info ci-upstream-net-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/04/03 10:49 net-next-old f3f409a9b7f5 6a81331a .config console log report info ci-upstream-net-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/04/01 04:45 net-next-old 917e2e6c5798 6a81331a .config console log report info ci-upstream-net-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/03/31 17:05 net-next-old 37f368d8d09d 6a81331a .config console log report info ci-upstream-net-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/03/31 02:14 net-next-old 37f368d8d09d 6a81331a .config console log report info ci-upstream-net-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/03/29 21:16 net-next-old 37f368d8d09d 6a81331a .config console log report info ci-upstream-net-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/03/29 12:05 net-next-old 72642f4127c3 a8529b82 .config console log report info ci-upstream-net-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/03/28 20:07 net-next-old a1281601f88e a8529b82 .config console log report info ci-upstream-net-kasan-gce general protection fault in nl802154_del_llsec_dev
2021/04/08 11:35 linux-next 5103a5be098c 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in nl802154_del_llsec_dev
2021/04/07 18:27 linux-next 5103a5be098c 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in nl802154_del_llsec_dev
2021/04/04 22:56 linux-next 454c576c3f5e 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in nl802154_del_llsec_dev
2021/04/03 23:51 linux-next 454c576c3f5e 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in nl802154_del_llsec_dev
2021/04/01 17:17 linux-next 454c576c3f5e 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in nl802154_del_llsec_dev
2021/03/28 22:01 linux-next 931294922e65 a8529b82 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in nl802154_del_llsec_dev
2021/03/28 18:34 linux-next 931294922e65 a8529b82 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in nl802154_del_llsec_dev
2021/03/12 15:16 upstream 28806e4d9b97 429d8a6b .config console log report info ci-qemu2-arm64 BUG: unable to handle kernel paging request in nl802154_del_llsec_dev
2021/03/06 18:05 upstream a38fd8748464 e4b4d570 .config console log report info ci-qemu2-arm64-compat BUG: unable to handle kernel paging request in nl802154_del_llsec_dev
* Struck through repros no longer work on HEAD.