------------[ cut here ]------------ WARNING: CPU: 1 PID: 4046 at net/core/sock_map.c:1699 sock_map_close+0x18f/0x1d0 net/core/sock_map.c:1699 Modules linked in: CPU: 1 UID: 0 PID: 4046 Comm: syz.0.15 Not tainted 6.10.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:sock_map_close+0x18f/0x1d0 net/core/sock_map.c:1699 Code: 4d 89 fb 5b 41 5c 41 5d 41 5e 41 5f 5d 41 ff e3 cc 90 49 8b 44 24 28 4c 8b 38 e8 cc f9 ff ff 4c 89 e7 e8 74 8d f6 ff eb c5 90 <0f> 0b 90 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc 31 f6 e8 08 RSP: 0018:ffffc90002213e00 EFLAGS: 00010246 RAX: ffffffff829d5ff0 RBX: ffff88810c8bbc00 RCX: 0000000000000001 RDX: e6beee8b00cc7df6 RSI: ffffffff83e1ef34 RDI: 00000000ffffffff RBP: 00000000082e0003 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88810c8bbc00 R13: ffffffff829d6017 R14: 0000000000000000 R15: ffffffff829d5ff0 FS: 0000555585f5e500(0000) GS:ffff88813bd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000440 CR3: 000000010b002000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: inet_release+0x4c/0x60 net/ipv4/af_inet.c:437 __sock_release net/socket.c:659 [inline] sock_close+0x45/0xe0 net/socket.c:1421 __fput+0x8f/0x2c0 fs/file_table.c:422 task_work_run+0x82/0xb0 kernel/task_work.c:222 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xb6/0x210 kernel/entry/common.c:218 do_syscall_64+0xed/0x220 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f96abf79e79 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe2d8e4138 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 000000000000da62 RCX: 00007f96abf79e79 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007ffe2d8e4208 R08: 0000000000000001 R09: 00007ffe2d8e441f R10: 00007f96abe00000 R11: 0000000000000246 R12: 0000000000000032 R13: 00007ffe2d8e4230 R14: 00007ffe2d8e4250 R15: ffffffffffffffff