BUG: unable to handle kernel NULL pointer dereference at 00000000000000d0 PGD 80000000a189d067 P4D 80000000a189d067 PUD a5b20067 PMD 0 Oops: 0000 [#1] SMP PTI CPU: 1 PID: 25741 Comm: syz-executor1 Not tainted 4.18.0-rc5+ #29 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:slab_equal_or_root mm/slab.h:228 [inline] RIP: 0010:cache_from_obj mm/slab.h:374 [inline] RIP: 0010:kmem_cache_free+0x319/0x2c30 mm/slub.c:2989 Code: 48 f7 d0 48 21 c8 0f 84 6e 01 00 00 49 39 dc 0f 84 7f 01 00 00 44 89 7d 80 49 8d 9c 24 d0 00 00 00 4d 85 f6 0f 85 c6 11 00 00 <4c> 8b 2b 48 89 df e8 3c 81 03 00 48 8b 00 48 0b 45 a0 74 16 4c 89 RSP: 0018:ffff8800abd9f828 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 00000000000000d0 RCX: 0000000000000000 RDX: ffffffff8ba11000 RSI: 0000000000000001 RDI: ffffea0006000018 RBP: ffff8800abd9f980 R08: 0000000000000000 R09: 0000000000000002 R10: 0000000000000000 R11: ffffffff89ef84f0 R12: 0000000000000000 R13: 000077ff80000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000001219940(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000d0 CR3: 00000000a5826000 CR4: 00000000001406e0 DR0: 0000000020000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: sk_prot_free net/core/sock.c:1516 [inline] __sk_destruct+0x8cd/0x9a0 net/core/sock.c:1600 sk_destruct net/core/sock.c:1608 [inline] __sk_free+0x5c4/0x680 net/core/sock.c:1619 sk_free+0xb4/0x100 net/core/sock.c:1630 sock_put include/net/sock.h:1667 [inline] smc_release+0x87f/0x900 net/smc/af_smc.c:163 __sock_release net/socket.c:599 [inline] sock_close+0x11e/0x360 net/socket.c:1150 __fput+0x458/0xa30 fs/file_table.c:209 ____fput+0x37/0x40 fs/file_table.c:243 task_work_run+0x22e/0x2b0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:192 [inline] exit_to_usermode_loop arch/x86/entry/common.c:166 [inline] prepare_exit_to_usermode+0x35d/0x430 arch/x86/entry/common.c:197 syscall_return_slowpath+0x108/0x800 arch/x86/entry/common.c:268 do_syscall_64+0x1ad/0x230 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x40fb91 Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 34 19 00 00 c3 48 83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:0000000000a3eab0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000017 RCX: 000000000040fb91 RDX: 0000000000000000 RSI: 00000000007310e8 RDI: 0000000000000016 RBP: 0000000000000013 R08: 0000000000a3ea30 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000a3f160 R15: 00000000007034c0 Modules linked in: Dumping ftrace buffer: (ftrace buffer empty) CR2: 00000000000000d0 ---[ end trace 9779b9ea24bda335 ]--- RIP: 0010:slab_equal_or_root mm/slab.h:228 [inline] RIP: 0010:cache_from_obj mm/slab.h:374 [inline] RIP: 0010:kmem_cache_free+0x319/0x2c30 mm/slub.c:2989 Code: 48 f7 d0 48 21 c8 0f 84 6e 01 00 00 49 39 dc 0f 84 7f 01 00 00 44 89 7d 80 49 8d 9c 24 d0 00 00 00 4d 85 f6 0f 85 c6 11 00 00 <4c> 8b 2b 48 89 df e8 3c 81 03 00 48 8b 00 48 0b 45 a0 74 16 4c 89 RSP: 0018:ffff8800abd9f828 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 00000000000000d0 RCX: 0000000000000000 RDX: ffffffff8ba11000 RSI: 0000000000000001 RDI: ffffea0006000018 RBP: ffff8800abd9f980 R08: 0000000000000000 R09: 0000000000000002 R10: 0000000000000000 R11: ffffffff89ef84f0 R12: 0000000000000000 R13: 000077ff80000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000001219940(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000d0 CR3: 00000000a5826000 CR4: 00000000001406e0 DR0: 0000000020000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600