Oops: general protection fault, probably for non-canonical address 0xdffffc000000000b: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000058-0x000000000000005f] CPU: 1 UID: 0 PID: 8899 Comm: kbnepd bnep0 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:klist_put+0x4d/0x1d0 lib/klist.c:212 Code: c1 ea 03 80 3c 02 00 0f 85 74 01 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 23 49 83 e4 fe 49 8d 7c 24 58 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 43 01 00 00 4c 89 e7 4d 8b 74 24 58 e8 ac f8 0c RSP: 0018:ffffc9000654f970 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888055562460 RCX: ffffffff82b577fd RDX: 000000000000000b RSI: ffffffff8b768295 RDI: 0000000000000058 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000001 R14: ffff88805853cc20 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880d648b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fad2bdb4d58 CR3: 000000002c12b000 CR4: 0000000000352ef0 Call Trace: device_del+0x1b8/0x9b0 drivers/base/core.c:3855 unregister_netdevice_many_notify+0x1817/0x2580 net/core/dev.c:12431 unregister_netdevice_many net/core/dev.c:12459 [inline] unregister_netdevice_queue net/core/dev.c:12273 [inline] unregister_netdevice_queue+0x30b/0x3c0 net/core/dev.c:12263 unregister_netdevice include/linux/netdevice.h:3408 [inline] unregister_netdev+0x1f/0x60 net/core/dev.c:12477 bnep_session+0x2203/0x2dc0 net/bluetooth/bnep/core.c:525 kthread+0x370/0x450 kernel/kthread.c:467 ret_from_fork+0x754/0xd80 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:klist_put+0x4d/0x1d0 lib/klist.c:212 Code: c1 ea 03 80 3c 02 00 0f 85 74 01 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 23 49 83 e4 fe 49 8d 7c 24 58 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 43 01 00 00 4c 89 e7 4d 8b 74 24 58 e8 ac f8 0c RSP: 0018:ffffc9000654f970 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff888055562460 RCX: ffffffff82b577fd RDX: 000000000000000b RSI: ffffffff8b768295 RDI: 0000000000000058 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000001 R14: ffff88805853cc20 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880d648b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000558b423ad000 CR3: 0000000027313000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: c1 ea 03 shr $0x3,%edx 3: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 7: 0f 85 74 01 00 00 jne 0x181 d: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 14: fc ff df 17: 4c 8b 23 mov (%rbx),%r12 1a: 49 83 e4 fe and $0xfffffffffffffffe,%r12 1e: 49 8d 7c 24 58 lea 0x58(%r12),%rdi 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 43 01 00 00 jne 0x177 34: 4c 89 e7 mov %r12,%rdi 37: 4d 8b 74 24 58 mov 0x58(%r12),%r14 3c: e8 .byte 0xe8 3d: ac lods %ds:(%rsi),%al 3e: f8 clc 3f: 0c .byte 0xc