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: 10567 Comm: syz-executor.3 Not tainted 4.14.275-syzkaller #0 caif:caif_disconnect_client(): nothing to disconnect Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88804e50c000 task.stack: ffff88804dbb8000 RIP: 0010:dev_put include/linux/netdevice.h:3381 [inline] RIP: 0010:llc_ui_autobind.isra.0+0x26b/0x390 net/llc/af_llc.c:320 RSP: 0018:ffff88804dbbfbf8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8880ac0d92c0 RCX: ffffc900072bd000 kasan: CONFIG_KASAN_INLINE enabled RDX: 00000000000000a8 RSI: ffffffff85d0c563 RDI: 0000000000000540 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff88804dbbfe28 R14: ffff888053b0db00 R15: ffff888053b0db20 FS: 00007fce9a9e6700(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555562bb708 CR3: 00000000aa2fa000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: llc_ui_sendmsg+0x638/0xec0 net/llc/af_llc.c:952 kasan: GPF could be caused by NULL-ptr deref or user memory access sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0x100 net/socket.c:656 SYSC_sendto net/socket.c:1763 [inline] SyS_sendto+0x1c7/0x2c0 net/socket.c:1731 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7fce9c0710e9 RSP: 002b:00007fce9a9e6168 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fce9c183f60 RCX: 00007fce9c0710e9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007fce9c0cb08d R08: 0000000020000240 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc0771955f R14: 00007fce9a9e6300 R15: 0000000000022000 Code: 55 ff ff 48 0f ba 73 60 08 45 31 e4 31 ed e8 dd 7c 84 fb 48 8d bd 40 05 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 f2 00 00 00 48 8b 85 40 05 00 00 65 ff 08 44 RIP: dev_put include/linux/netdevice.h:3381 [inline] RSP: ffff88804dbbfbf8 RIP: llc_ui_autobind.isra.0+0x26b/0x390 net/llc/af_llc.c:320 RSP: ffff88804dbbfbf8 general protection fault: 0000 [#2] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 10584 Comm: syz-executor.2 Tainted: G D 4.14.275-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88804dbb4680 task.stack: ffff88804d6f8000 ---[ end trace 521c42af1dfdbeae ]--- RIP: 0010:dev_put include/linux/netdevice.h:3381 [inline] RIP: 0010:llc_ui_autobind.isra.0+0x26b/0x390 net/llc/af_llc.c:320 RSP: 0018:ffff88804d6ffbf8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88804d894640 RCX: ffffc900060b4000 RDX: 00000000000000a8 RSI: ffffffff85d0c563 RDI: 0000000000000540 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: ffff88804dbb4680 R12: 0000000000000000 R13: ffff88804d6ffe28 R14: ffff888053af3140 R15: ffff888053af3160 FS: 00007f3229727700(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3ccbfed710 CR3: 000000009abd9000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: ff 48 0f decl 0xf(%rax) 3: ba 73 60 08 45 mov $0x45086073,%edx 8: 31 e4 xor %esp,%esp a: 31 ed xor %ebp,%ebp c: e8 dd 7c 84 fb callq 0xfb847cee 11: 48 8d bd 40 05 00 00 lea 0x540(%rbp),%rdi 18: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1f: fc ff df 22: 48 89 fa mov %rdi,%rdx 25: 48 c1 ea 03 shr $0x3,%rdx * 29: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2d: 0f 85 f2 00 00 00 jne 0x125 33: 48 8b 85 40 05 00 00 mov 0x540(%rbp),%rax 3a: 65 ff 08 decl %gs:(%rax) 3d: 44 rex.R