------------[ cut here ]------------ WARNING: CPU: 0 PID: 3473 at net/core/sock_map.c:1587 sock_map_close+0x18e/0x1c0 net/core/sock_map.c:1587 Modules linked in: CPU: 0 PID: 3473 Comm: syz-executor.0 Not tainted 5.15.159-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:sock_map_close+0x18e/0x1c0 net/core/sock_map.c:1587 Code: 0f c1 06 83 f8 01 74 2d 85 c0 0f 8f 2f ff ff ff be 03 00 00 00 4c 89 f7 e8 1f 33 8d ff 48 81 fb 90 10 ce 81 0f 85 22 ff ff ff <0f> 0b 5b 5d 41 5c 41 5d 41 5e c3 4c 89 e6 48 89 ef e8 cc e0 ff ff RSP: 0018:ffffc900008c7e48 EFLAGS: 00010246 RAX: ffffffff843b0620 RBX: ffffffff81ce1090 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 00000000fffffe01 RDI: ffffffff81ce112c RBP: ffff888110d1e900 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: ffff88810f1c0000 R13: 0000000000000000 R14: ffff88810f1c0148 R15: 0000000000000000 FS: 0000555556c33480(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556c33da8 CR3: 000000010f051000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unix_release+0x19/0x30 net/unix/af_unix.c:949 __sock_release+0x32/0xa0 net/socket.c:649 sock_close+0xf/0x20 net/socket.c:1336 __fput+0x83/0x250 fs/file_table.c:280 task_work_run+0x54/0x80 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:181 [inline] exit_to_user_mode_prepare+0x184/0x190 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x12/0x30 kernel/entry/common.c:307 do_syscall_64+0x40/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f8a7f462d5a Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 03 7f 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 63 7f 02 00 8b 44 24 RSP: 002b:00007fff6161e6a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f8a7f462d5a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000226 R08: 0000001b2bd60000 R09: 00007f8a7f591f8c R10: 00007fff6161e7f0 R11: 0000000000000293 R12: 00007f8a7efe70e8 R13: ffffffffffffffff R14: 00007f8a7efe6000 R15: 000000000000f76e