syzbot


WARNING in inet_sock_destruct (2)

Status: upstream: reported C repro on 2025/01/28 09:26
Reported-by: syzbot+c1a0107529554d81d3a6@syzkaller.appspotmail.com
First crash: 1d23h, last: 1d20h
Bug presence (1)
Date Name Commit Repro Result
2025/01/28 upstream (ToT) 6d61a53dd6f5 C Failed due to an error; will retry later
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-49 WARNING in inet_sock_destruct C 728 2345d 2120d 0/3 public: reported C repro on 2019/04/12 00:00
android-44 WARNING in inet_sock_destruct 12 2354d 2565d 0/2 auto-closed as invalid on 2019/02/22 12:37
upstream WARNING in inet_sock_destruct (4) net C done 6139 1d20h 586d 0/28 upstream: reported C repro on 2023/06/23 14:36
upstream WARNING in inet_sock_destruct (3) net C 87 605d 708d 22/28 fixed on 2023/06/08 14:41
linux-5.15 WARNING in inet_sock_destruct origin:lts-only C inconclusive 2040 4d02h 632d 0/3 upstream: reported C repro on 2023/05/08 19:19
linux-6.1 WARNING in inet_sock_destruct origin:upstream missing-backport C done 631 46d 659d 3/3 fixed on 2025/01/27 09:36
upstream WARNING in inet_sock_destruct (2) net C unreliable unreliable 1259 903d 1534d 0/28 closed as invalid on 2022/10/12 18:26
upstream WARNING in inet_sock_destruct net 5893 2647d 2642d 0/28 closed as invalid on 2018/01/30 22:53
linux-4.14 WARNING in inet_sock_destruct C inconclusive 1 1704d 1764d 0/1 upstream: reported C repro on 2020/04/02 03:04

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 15 at net/ipv4/af_inet.c:154 inet_sock_destruct+0x56c/0x664 net/ipv4/af_inet.c:154
Modules linked in:
CPU: 0 PID: 15 Comm: ksoftirqd/0 Not tainted 6.1.127-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
pstate: 40400005 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : inet_sock_destruct+0x56c/0x664 net/ipv4/af_inet.c:154
lr : inet_sock_destruct+0x56c/0x664 net/ipv4/af_inet.c:154
sp : ffff80001d247a30
x29: ffff80001d247a30 x28: ffff0000cc0e04f0 x27: 0000000000000006
x26: 1fffe0001981c02c x25: dfff800000000000 x24: 1fffe0001981c002
x23: 1fffe0001981c005 x22: 0000000000000007 x21: 0000000000000000
x20: 0000000000000fec x19: ffff0000cc0e0000 x18: 1fffe00018136777
x17: ffff8000085a5340 x16: ffff8000084f309c x15: ffff80000820ff14
x14: 1ffff00002b520b2 x13: dfff800000000000 x12: 0000000000000001
x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff800010e8e724
x8 : ffff0000c09b3780 x7 : ffff8000083b1150 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800010e8e574
x2 : 0000000000000000 x1 : 0000000000000fec x0 : 0000000000000000
Call trace:
 inet_sock_destruct+0x56c/0x664 net/ipv4/af_inet.c:154
 inet6_sock_destruct+0x28/0x38 net/ipv6/af_inet6.c:115
 __sk_destruct+0x5c/0x75c net/core/sock.c:2142
 rcu_do_batch kernel/rcu/tree.c:2297 [inline]
 rcu_core+0x880/0x1c48 kernel/rcu/tree.c:2557
 rcu_core_si+0x10/0x1c kernel/rcu/tree.c:2574
 handle_softirqs+0x318/0xd58 kernel/softirq.c:571
 run_ksoftirqd+0x6c/0x29c kernel/softirq.c:938
 smpboot_thread_fn+0x4b0/0x96c kernel/smpboot.c:164
 kthread+0x250/0x2d8 kernel/kthread.c:376
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:864
irq event stamp: 275283
hardirqs last  enabled at (275282): [<ffff8000124118e4>] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline]
hardirqs last  enabled at (275282): [<ffff8000124118e4>] _raw_spin_unlock_irqrestore+0x48/0xac kernel/locking/spinlock.c:194
hardirqs last disabled at (275283): [<ffff80001232b704>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last  enabled at (275222): [<ffff8000081c2418>] softirq_handle_end kernel/softirq.c:414 [inline]
softirqs last  enabled at (275222): [<ffff8000081c2418>] handle_softirqs+0xb84/0xd58 kernel/softirq.c:599
softirqs last disabled at (275227): [<ffff8000081c4f0c>] run_ksoftirqd+0x6c/0x29c kernel/softirq.c:938
---[ end trace 0000000000000000 ]---

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/28 12:13 linux-6.1.y 75cefdf153f5 18070896 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inet_sock_destruct
2025/01/28 09:26 linux-6.1.y 75cefdf153f5 18070896 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inet_sock_destruct
* Struck through repros no longer work on HEAD.