syzbot


WARNING in inet_sock_destruct

Status: premoderation: reported C repro on 2025/06/27 18:32
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+83c57c8da56321382c48@syzkaller.appspotmail.com
First crash: 18d, last: 12h37m
Bug presence (2)
Date Name Commit Repro Result
2025/07/06 lts (merge base) e0e2f7824338 C [report] WARNING in inet_sock_destruct
2025/07/06 upstream (ToT) 1f988d0788f5 C [report] WARNING in inet_sock_destruct
Similar bugs (10)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-49 WARNING in inet_sock_destruct -1 C 728 2512d 2287d 0/3 public: reported C repro on 2019/04/12 00:00
linux-6.1 WARNING in inet_sock_destruct (2) origin:lts-only -1 C error 11 4d01h 168d 0/3 upstream: reported C repro on 2025/01/28 09:26
android-44 WARNING in inet_sock_destruct -1 12 2520d 2732d 0/2 auto-closed as invalid on 2019/02/22 12:37
upstream WARNING in inet_sock_destruct (4) net -1 C done 6639 19h13m 753d 23/29 upstream: reported C repro on 2023/06/23 14:36
upstream WARNING in inet_sock_destruct (3) net -1 C 87 772d 874d 22/29 fixed on 2023/06/08 14:41
linux-5.15 WARNING in inet_sock_destruct origin:lts-only -1 C error 2058 2d20h 799d 0/3 upstream: reported C repro on 2023/05/08 19:19
linux-6.1 WARNING in inet_sock_destruct origin:upstream missing-backport -1 C done 631 212d 826d 3/3 fixed on 2025/01/27 09:36
upstream WARNING in inet_sock_destruct (2) net -1 C unreliable unreliable 1259 1070d 1701d 0/29 closed as invalid on 2022/10/12 18:26
upstream WARNING in inet_sock_destruct net -1 5893 2814d 2809d 0/29 closed as invalid on 2018/01/30 22:53
linux-4.14 WARNING in inet_sock_destruct -1 C inconclusive 1 1871d 1931d 0/1 upstream: reported C repro on 2020/04/02 03:04

Sample crash report:
TCP: out of memory -- consider tuning tcp_mem
------------[ cut here ]------------
WARNING: CPU: 1 PID: 297 at net/ipv4/af_inet.c:157 inet_sock_destruct+0x681/0x790 net/ipv4/af_inet.c:157
Modules linked in:
CPU: 1 UID: 0 PID: 297 Comm: syz-executor219 Not tainted 6.12.30-syzkaller-g2bd1f3631412 #0 6943644d94d6d2561e2e69b52f52e880797b3b70
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:inet_sock_destruct+0x681/0x790 net/ipv4/af_inet.c:157
Code: a3 e8 c3 c7 c8 fc 0f 0b e9 53 fe ff ff e8 b7 c7 c8 fc 0f 0b e9 92 fe ff ff e8 ab c7 c8 fc 0f 0b e9 c4 fe ff ff e8 9f c7 c8 fc <0f> 0b e9 f6 fe ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 65 fc ff
RSP: 0018:ffffc9000124fa08 EFLAGS: 00010293
RAX: ffffffff84bce361 RBX: 0000000080006000 RCX: ffff888101f33900
RDX: 0000000000000000 RSI: 0000000080006000 RDI: 0000000000000000
RBP: ffffc9000124fa50 R08: ffff8881109cdb7f R09: 1ffff11022139b6f
R10: dffffc0000000000 R11: ffffed1022139b70 R12: ffff8881109cda00
R13: ffff8881109cda00 R14: ffff8881109cdb64 R15: 1ffff11022139b42
FS:  0000000000000000(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000006423c0 CR3: 000000010bf64000 CR4: 00000000003526b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __sk_destruct+0x6b/0x6a0 net/core/sock.c:2277
 sk_destruct net/core/sock.c:2325 [inline]
 __sk_free+0x313/0x410 net/core/sock.c:2336
 sk_free+0x58/0xb0 net/core/sock.c:2347
 sock_put include/net/sock.h:1942 [inline]
 tcp_close+0xc4/0x120 net/ipv4/tcp.c:3246
 inet_release+0x1b1/0x2c0 net/ipv4/af_inet.c:442
 __sock_release net/socket.c:659 [inline]
 sock_close+0xdd/0x280 net/socket.c:1427
 __fput+0x1fb/0xa00 fs/file_table.c:431
 ____fput+0x20/0x30 fs/file_table.c:459
 task_work_run+0x1e3/0x250 kernel/task_work.c:240
 exit_task_work include/linux/task_work.h:43 [inline]
 do_exit+0x9b4/0x2630 kernel/exit.c:944
 do_group_exit+0x22a/0x300 kernel/exit.c:1094
 __do_sys_exit_group kernel/exit.c:1105 [inline]
 __se_sys_exit_group kernel/exit.c:1103 [inline]
 __x64_sys_exit_group+0x43/0x50 kernel/exit.c:1103
 x64_sys_call+0x2ed2/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:232
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x58/0xf0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7fbbde153ca9
Code: Unable to access opcode bytes at 0x7fbbde153c7f.
RSP: 002b:00007ffda9ebfd48 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fbbde153ca9
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001
RBP: 00007fbbde1d4370 R08: ffffffffffffffb8 R09: 0000555500000000
R10: 0000000004040841 R11: 0000000000000246 R12: 00007fbbde1d4370
R13: 0000000000000000 R14: 00007fbbde1d6ea0 R15: 00007fbbde1244b0

Crashes (27):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/07/15 15:56 android16-6.12 2bd1f3631412 03fcfc4b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in inet_sock_destruct
2025/07/03 23:47 android16-6.12 e2bf362ee23b 76ad128c .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in inet_sock_destruct
2025/07/10 15:05 android16-6.12 d893caf112c8 956bd956 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in inet_sock_destruct
2025/07/10 09:36 android16-6.12 d893caf112c8 956bd956 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in inet_sock_destruct
2025/07/10 06:21 android16-6.12 d893caf112c8 956bd956 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in inet_sock_destruct
2025/07/10 03:22 android16-6.12 d893caf112c8 956bd956 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in inet_sock_destruct
2025/07/08 19:02 android16-6.12 15d2fe054444 4d9fdfa4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in inet_sock_destruct
2025/07/08 17:10 android16-6.12 15d2fe054444 4d9fdfa4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in inet_sock_destruct
2025/07/08 14:02 android16-6.12 15d2fe054444 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in inet_sock_destruct
2025/07/07 17:46 android16-6.12 e87018c5f9d0 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in inet_sock_destruct
2025/07/07 03:26 android16-6.12 e2bf362ee23b 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in inet_sock_destruct
2025/07/06 20:34 android16-6.12 e2bf362ee23b 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in inet_sock_destruct
2025/07/06 14:07 android16-6.12 e2bf362ee23b 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in inet_sock_destruct
2025/07/06 11:38 android16-6.12 e2bf362ee23b 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in inet_sock_destruct
2025/07/05 21:08 android16-6.12 e2bf362ee23b 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in inet_sock_destruct
2025/07/05 20:59 android16-6.12 e2bf362ee23b 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in inet_sock_destruct
2025/07/05 08:10 android16-6.12 e2bf362ee23b 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in inet_sock_destruct
2025/07/04 20:39 android16-6.12 e2bf362ee23b d869b261 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in inet_sock_destruct
2025/07/04 12:37 android16-6.12 e2bf362ee23b 76ad128c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in inet_sock_destruct
2025/07/04 12:37 android16-6.12 e2bf362ee23b 76ad128c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in inet_sock_destruct
2025/07/03 22:55 android16-6.12 e2bf362ee23b 76ad128c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in inet_sock_destruct
2025/07/03 22:55 android16-6.12 e2bf362ee23b 76ad128c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in inet_sock_destruct
2025/07/03 21:49 android16-6.12 e2bf362ee23b 115ceea7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in inet_sock_destruct
2025/06/29 20:28 android16-6.12 68f4f0b0690a fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in inet_sock_destruct
2025/06/27 18:38 android16-6.12 153a0a38e976 803ce19b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in inet_sock_destruct
2025/06/27 18:31 android16-6.12 153a0a38e976 803ce19b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in inet_sock_destruct
2025/06/27 18:31 android16-6.12 153a0a38e976 803ce19b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in inet_sock_destruct
* Struck through repros no longer work on HEAD.