------------[ cut here ]------------ WARNING: CPU: 1 PID: 29153 at net/core/sock_map.c:1644 sock_map_close+0x29b/0x2d0 Modules linked in: CPU: 1 PID: 29153 Comm: syz-executor363 Not tainted 6.1.88-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:sock_map_close+0x29b/0x2d0 net/core/sock_map.c:1644 Code: 89 df e8 a8 85 49 f9 48 8b 1b 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 8f 85 49 f9 4c 8b 33 eb 8b e8 45 0e f2 f8 <0f> 0b 48 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 2f 0e f2 f8 RSP: 0018:ffffc90005a07c90 EFLAGS: 00010293 RAX: ffffffff8898811b RBX: ffffffff920e37c0 RCX: ffff888024499dc0 RDX: 0000000000000000 RSI: ffffffff8aec01c0 RDI: ffffffff8b3d42e0 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff2093658 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807a46c800 R13: 1ffff1100cd689c3 R14: ffffffff88987e80 R15: ffffffff88987eac FS: 000055555701a480(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000001f692000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unix_release+0x7e/0xc0 net/unix/af_unix.c:1038 __sock_release net/socket.c:654 [inline] sock_close+0xcd/0x230 net/socket.c:1400 __fput+0x3b7/0x890 fs/file_table.c:320 task_work_run+0x246/0x300 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f0dfda0b76a 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 33 7b 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 93 7b 02 00 8b 44 24 RSP: 002b:00007ffcdd8bb3a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007f0dfda0b76a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00000000000f4240 R08: 00007ffcdd8bb490 R09: 00007ffcdd8bb490 R10: 0000000000000000 R11: 0000000000000293 R12: 00007ffcdd8bb490 R13: 00007ffcdd8bb4a0 R14: 00000000000f90b4 R15: 00007ffcdd8bb468