syzbot


WARNING in inet_sock_destruct (2)

Status: upstream: reported C repro on 2025/12/04 18:03
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+c0e2e58f45917625155b@syzkaller.appspotmail.com
First crash: 8d11h, last: 3d05h
Bug presence (2)
Date Name Commit Repro Result
2025/12/07 linux-5.15.y (ToT) 68efe5a6c16a C [report] WARNING in inet_sock_destruct
2025/12/07 upstream (ToT) 37bb2e7217b0 C Didn't crash
Similar bugs (13)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-49 WARNING in inet_sock_destruct -1 C 728 2662d 2437d 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 inconclusive 16 95d 318d 0/3 upstream: reported C repro on 2025/01/28 09:26
android-44 WARNING in inet_sock_destruct -1 12 2670d 2882d 0/2 auto-closed as invalid on 2019/02/22 12:37
upstream WARNING in inet_sock_destruct (4) net -1 C done 6683 101d 903d 29/29 fixed on 2025/09/04 16:57
upstream WARNING in inet_sock_destruct (3) net -1 C 87 922d 1025d 22/29 fixed on 2023/06/08 14:41
upstream WARNING in inet_sock_destruct (5) net -1 C error 8 57d 94d 29/29 fixed on 2025/10/29 21:02
linux-6.6 WARNING in inet_sock_destruct origin:lts-only -1 C done 3 88d 88d 2/2 fixed on 2025/10/22 03:03
linux-5.15 WARNING in inet_sock_destruct -1 C error 2061 81d 949d 0/3 auto-obsoleted due to no activity on 2025/12/01 05:33
linux-6.1 WARNING in inet_sock_destruct origin:upstream missing-backport -1 C done 631 363d 976d 3/3 fixed on 2025/01/27 09:36
android-6-12 WARNING in inet_sock_destruct origin:upstream -1 C 58 106d 168d 0/1 auto-obsoleted due to no activity on 2025/10/18 01:19
upstream WARNING in inet_sock_destruct (2) net -1 C unreliable unreliable 1259 1220d 1851d 0/29 closed as invalid on 2022/10/12 18:26
upstream WARNING in inet_sock_destruct net -1 5893 2964d 2959d 0/29 closed as invalid on 2018/01/30 22:53
linux-4.14 WARNING in inet_sock_destruct -1 C inconclusive 1 2021d 2081d 0/1 upstream: reported C repro on 2020/04/02 03:04

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4184 at net/ipv4/af_inet.c:157 inet_sock_destruct+0x63b/0x730 net/ipv4/af_inet.c:157
Modules linked in:
CPU: 1 PID: 4184 Comm: syz-execprog Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:inet_sock_destruct+0x63b/0x730 net/ipv4/af_inet.c:157
Code: 01 e8 c9 f3 10 f9 0f 0b e9 64 fe ff ff e8 bd f3 10 f9 0f 0b e9 99 fe ff ff e8 b1 f3 10 f9 0f 0b e9 c1 fe ff ff e8 a5 f3 10 f9 <0f> 0b e9 e9 fe ff ff 44 89 f1 80 e1 07 fe c1 38 c1 0f 8c 5b fd ff
RSP: 0018:ffffc90000dd0b20 EFLAGS: 00010246
RAX: ffffffff8866d86b RBX: dffffc0000000000 RCX: ffff888079b90000
RDX: 0000000000000100 RSI: 0000000080000000 RDI: 0000000000000000
RBP: 0000000080000000 R08: dffffc0000000000 R09: ffffed100f628050
R10: ffffed100f628050 R11: 1ffff1100f62804f R12: ffff88807b140000
R13: ffff88807b140000 R14: ffff88807b140220 R15: 1ffff1100f628002
FS:  0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c00003e720 CR3: 0000000076a9c000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __sk_destruct+0x50/0x840 net/core/sock.c:1961
 sock_put include/net/sock.h:1976 [inline]
 sctp_endpoint_destroy_rcu+0x9d/0xe0 net/sctp/endpointola.c:193
 rcu_do_batch kernel/rcu/tree.c:2523 [inline]
 rcu_core+0x962/0x15d0 kernel/rcu/tree.c:2763
 handle_softirqs+0x328/0x820 kernel/softirq.c:576
 __do_softirq kernel/softirq.c:610 [inline]
 invoke_softirq kernel/softirq.c:450 [inline]
 __irq_exit_rcu+0x12f/0x220 kernel/softirq.c:659
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
 sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:check_region_inline mm/kasan/generic.c:169 [inline]
RIP: 0010:kasan_check_range+0xd/0x290 mm/kasan/generic.c:189
Code: c3 0f 0b b8 ea ff ff ff c3 0f 0b b8 ea ff ff ff c3 00 00 cc cc 00 00 cc cc 00 00 cc cc b0 01 48 85 f6 0f 84 a4 01 00 00 41 57 <41> 56 53 49 89 f8 49 01 f0 0f 82 57 02 00 00 49 89 f8 49 c1 e8 2f
RSP: 0018:ffffc90002eef4d0 EFLAGS: 00000202
RAX: ffffffff81b72801 RBX: ffffea0001c54380 RCX: ffffffff81b728f6
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffea0001c54380
RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed1002d4fa11
R10: ffffed1002d4fa11 R11: 1ffff11002d4fa10 R12: ffffea0001c54388
R13: ffffea0001c54380 R14: dffffc0000000000 R15: dffffc0000000000
 instrument_atomic_read include/linux/instrumented.h:71 [inline]
 test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline]
 PageCompound include/linux/page-flags.h:212 [inline]
 PageHuge+0x26/0x130 mm/hugetlb.c:1742
 page_remove_file_rmap mm/rmap.c:1260 [inline]
 page_remove_rmap+0x621/0x10f0 mm/rmap.c:1354
 zap_pte_range mm/memory.c:1384 [inline]
 zap_pmd_range mm/memory.c:1505 [inline]
 zap_pud_range mm/memory.c:1534 [inline]
 zap_p4d_range mm/memory.c:1555 [inline]
 unmap_page_range+0xfbc/0x2520 mm/memory.c:1576
 unmap_vmas+0x11b/0x230 mm/memory.c:1653
 exit_mmap+0x38f/0x5f0 mm/mmap.c:3216
 __mmput+0x115/0x3b0 kernel/fork.c:1127
 exit_mm+0x567/0x6c0 kernel/exit.c:550
 do_exit+0x5a1/0x20a0 kernel/exit.c:870
 do_group_exit+0x12e/0x300 kernel/exit.c:997
 get_signal+0x6ca/0x12c0 kernel/signal.c:2900
 arch_do_signal_or_restart+0xc1/0x1300 arch/x86/kernel/signal.c:867
 handle_signal_work kernel/entry/common.c:154 [inline]
 exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:178
 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:214
 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline]
 syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307
 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x4800c3
Code: Unable to access opcode bytes at RIP 0x480099.
RSP: 002b:000000c003f31ef0 EFLAGS: 00000286 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 0000000000000000 RCX: 00000000004800c3
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 0000000003287b38
RBP: 000000c003f31f38 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000286 R12: 000000000047c340
R13: 000000c0024fd808 R14: 000000c00250a540 R15: 000000c00250a540
 </TASK>
----------------
Code disassembly (best guess):
   0:	c3                   	ret
   1:	0f 0b                	ud2
   3:	b8 ea ff ff ff       	mov    $0xffffffea,%eax
   8:	c3                   	ret
   9:	0f 0b                	ud2
   b:	b8 ea ff ff ff       	mov    $0xffffffea,%eax
  10:	c3                   	ret
  11:	00 00                	add    %al,(%rax)
  13:	cc                   	int3
  14:	cc                   	int3
  15:	00 00                	add    %al,(%rax)
  17:	cc                   	int3
  18:	cc                   	int3
  19:	00 00                	add    %al,(%rax)
  1b:	cc                   	int3
  1c:	cc                   	int3
  1d:	b0 01                	mov    $0x1,%al
  1f:	48 85 f6             	test   %rsi,%rsi
  22:	0f 84 a4 01 00 00    	je     0x1cc
  28:	41 57                	push   %r15
* 2a:	41 56                	push   %r14 <-- trapping instruction
  2c:	53                   	push   %rbx
  2d:	49 89 f8             	mov    %rdi,%r8
  30:	49 01 f0             	add    %rsi,%r8
  33:	0f 82 57 02 00 00    	jb     0x290
  39:	49 89 f8             	mov    %rdi,%r8
  3c:	49 c1 e8 2f          	shr    $0x2f,%r8

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/12/04 20:06 linux-5.15.y cc5ec8769306 d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inet_sock_destruct
2025/12/09 23:58 linux-5.15.y 68efe5a6c16a d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inet_sock_destruct
2025/12/04 18:02 linux-5.15.y cc5ec8769306 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in inet_sock_destruct
* Struck through repros no longer work on HEAD.