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: 14050 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:get_device_parent+0x1ef/0x5b0 drivers/base/core.c:1790 Code: 3c 18 00 0f 85 f4 02 00 00 49 8b 47 08 4c 8d 78 f8 48 39 c5 0f 84 cd 00 00 00 e8 8c b5 72 fd 49 8d 7f 18 48 89 f8 48 c1 e8 03 <80> 3c 18 00 0f 85 bf 02 00 00 4d 3b 6f 18 75 b5 e8 6c b5 72 fd 4c RSP: 0018:ffff88809e8e72e0 EFLAGS: 00010202 RAX: 0000000000000002 RBX: dffffc0000000000 RCX: ffffc90005c1e000 RDX: 0000000000008a1a RSI: ffffffff83efcfe4 RDI: 0000000000000010 RBP: ffff88823a502ff8 R08: 0000000000000001 R09: ffffed10474a0601 R10: ffff88823a50300b R11: 00000000483cda0b R12: ffff8880343e46e0 R13: ffff888034e56d50 R14: ffff8880343e4b30 R15: fffffffffffffff8 FS: 00007f70676d4700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000009a99f000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: device_add+0x2b5/0x16d0 drivers/base/core.c:2108 netdev_register_kobject+0x181/0x430 net/core/net-sysfs.c:1806 register_netdevice+0xb46/0x10f0 net/core/dev.c:8730 ieee80211_if_add+0xf40/0x1700 net/mac80211/iface.c:1889 ieee80211_add_iface+0x99/0x160 net/mac80211/cfg.c:125 rdev_add_virtual_intf net/wireless/rdev-ops.h:45 [inline] nl80211_new_interface+0x531/0x1570 net/wireless/nl80211.c:3268 genl_family_rcv_msg+0x642/0xc40 net/netlink/genetlink.c:602 audit: type=1326 audit(1640366972.285:1052): auid=4294967295 uid=0 gid=0 ses=4294967295 subj==unconfined pid=14049 comm="syz-executor.4" exe="/root/syz-executor.4" sig=9 arch=c000003e syscall=231 compat=0 ip=0x7fa50a934e99 code=0x0 genl_rcv_msg+0xbf/0x160 net/netlink/genetlink.c:627 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2463 genl_rcv+0x24/0x40 net/netlink/genetlink.c:638 netlink_unicast_kernel net/netlink/af_netlink.c:1325 [inline] netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1351 netlink_sendmsg+0x6c3/0xc50 net/netlink/af_netlink.c:1917 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xc3/0x120 net/socket.c:661 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2227 __sys_sendmsg net/socket.c:2265 [inline] __do_sys_sendmsg net/socket.c:2274 [inline] __se_sys_sendmsg net/socket.c:2272 [inline] __x64_sys_sendmsg+0x132/0x220 net/socket.c:2272 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f7068d5ee99 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f70676d4168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f7068e71f60 RCX: 00007f7068d5ee99 RDX: 0000000000000000 RSI: 0000000020000400 RDI: 0000000000000004 RBP: 00007f7068db8ff1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc7e83e9ef R14: 00007f70676d4300 R15: 0000000000022000 Modules linked in: ---[ end trace 766853d160391060 ]--- RIP: 0010:get_device_parent+0x1ef/0x5b0 drivers/base/core.c:1790 Code: 3c 18 00 0f 85 f4 02 00 00 49 8b 47 08 4c 8d 78 f8 48 39 c5 0f 84 cd 00 00 00 e8 8c b5 72 fd 49 8d 7f 18 48 89 f8 48 c1 e8 03 <80> 3c 18 00 0f 85 bf 02 00 00 4d 3b 6f 18 75 b5 e8 6c b5 72 fd 4c RSP: 0018:ffff88809e8e72e0 EFLAGS: 00010202 RAX: 0000000000000002 RBX: dffffc0000000000 RCX: ffffc90005c1e000 RDX: 0000000000008a1a RSI: ffffffff83efcfe4 RDI: 0000000000000010 RBP: ffff88823a502ff8 R08: 0000000000000001 R09: ffffed10474a0601 R10: ffff88823a50300b R11: 00000000483cda0b R12: ffff8880343e46e0 R13: ffff888034e56d50 R14: ffff8880343e4b30 R15: fffffffffffffff8 FS: 00007f70676d4700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000009a99f000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 3c 18 cmp $0x18,%al 2: 00 0f add %cl,(%rdi) 4: 85 f4 test %esi,%esp 6: 02 00 add (%rax),%al 8: 00 49 8b add %cl,-0x75(%rcx) b: 47 08 4c 8d 78 or %r9b,0x78(%r13,%r9,4) 10: f8 clc 11: 48 39 c5 cmp %rax,%rbp 14: 0f 84 cd 00 00 00 je 0xe7 1a: e8 8c b5 72 fd callq 0xfd72b5ab 1f: 49 8d 7f 18 lea 0x18(%r15),%rdi 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) <-- trapping instruction 2e: 0f 85 bf 02 00 00 jne 0x2f3 34: 4d 3b 6f 18 cmp 0x18(%r15),%r13 38: 75 b5 jne 0xffffffef 3a: e8 6c b5 72 fd callq 0xfd72b5ab 3f: 4c rex.WR