BUG: unable to handle kernel NULL pointer dereference at (null) kobject: 'kvm' (ffff8880a6e83350): kobject_uevent_env IP: (null) PGD 99d79067 P4D 99d79067 PUD 996da067 PMD 0 Oops: 0010 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 7099 Comm: syz-executor.4 Not tainted 4.14.151 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888097a323c0 task.stack: ffff888063d40000 RIP: 0010: (null) RSP: 0018:ffff888063d47d48 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffffffff88151060 RCX: ffffc9000ca63000 RDX: 1ffffffff102a223 RSI: 0000000000000000 RDI: ffff888090ecc000 RBP: ffff888063d47d68 R08: 0000000000000001 R09: ffff888097a32c60 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888090ecc000 R13: ffff888090ecc00e R14: 0000000000000010 R15: 0000000000000802 FS: 00007f5170b9f700(0000) GS:ffff8880aee00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000008f2e3000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: inet_autobind+0xae/0x180 net/ipv4/af_inet.c:181 inet_dgram_connect+0x136/0x1e0 net/ipv4/af_inet.c:538 SYSC_connect+0x1f6/0x2d0 net/socket.c:1655 kobject: 'loop5' (ffff8880a4a889e0): kobject_uevent_env kobject: 'loop5' (ffff8880a4a889e0): fill_kobj_path: path = '/devices/virtual/block/loop5' SyS_connect+0x24/0x30 net/socket.c:1636 kobject: 'kvm' (ffff8880a6e83350): fill_kobj_path: path = '/devices/virtual/misc/kvm' do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45a219 RSP: 002b:00007f5170b9ec78 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a219 RDX: 0000000000000010 RSI: 0000000020004cc0 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f5170b9f6d4 R13: 00000000004c099d R14: 00000000004d3340 R15: 00000000ffffffff Code: Bad RIP value. RIP: (null) RSP: ffff888063d47d48 CR2: 0000000000000000 audit: type=1804 audit(1572943308.886:44): pid=7109 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op="invalid_pcr" cause="ToMToU" comm="syz-executor.1" name="/" dev="sda1" ino=2333 res=1 ---[ end trace 50abab176bdfa64a ]---