syzbot


WARNING in inet_csk_get_port (2)

Status: upstream: reported C repro on 2025/11/17 07:45
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+e4f0060517655d9cd5fd@syzkaller.appspotmail.com
First crash: 66d, last: 13d
Bug presence (2)
Date Name Commit Repro Result
2025/11/18 linux-6.1.y (ToT) f6e38ae624cf C [report] WARNING in inet_csk_get_port
2025/11/18 upstream (ToT) e7c375b18160 C Didn't crash
Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in inet_csk_get_port (3) net -1 C done done 8 610d 626d 0/29 auto-obsoleted due to no activity on 2024/08/30 00:27
upstream WARNING in inet_csk_get_port (2) net -1 C done 88 824d 855d 25/29 fixed on 2023/12/21 01:43
upstream WARNING in inet_csk_get_port net -1 C done 1166 1112d 1340d 22/29 fixed on 2023/02/24 13:50
linux-6.1 WARNING in inet_csk_get_port origin:upstream -1 C done 11 827d 856d 3/3 fixed on 2023/11/20 11:42
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2025/11/19 01:48 3h01m fix candidate upstream OK (0) job log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4501 at net/ipv4/inet_connection_sock.c:590 inet_csk_get_port+0x1208/0x1404 net/ipv4/inet_connection_sock.c:590
Modules linked in:
CPU: 0 PID: 4501 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025
pstate: 82400005 (Nzcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--)
pc : inet_csk_get_port+0x1208/0x1404 net/ipv4/inet_connection_sock.c:590
lr : inet_csk_get_port+0x1208/0x1404 net/ipv4/inet_connection_sock.c:590
sp : ffff800020db7b30
x29: ffff800020db7c20 x28: ffff0000f21f4000 x27: dfff800000000000
x26: ffff0000d7240120 x25: 0000000000004e20 x24: dfff800000000000
x23: ffff80001c751ee0 x22: ffff0000f21f3080 x21: 1fffe0001acf6e46
x20: ffff0000d67b7230 x19: ffff0000d67b7238 x18: 0000000000000000
x17: 0000000000000000 x16: ffff8000082d25ac x15: 0000000000000000
x14: 00000000ffff0000 x13: 1ffff00002a180b1 x12: 0000000000ff0100
x11: ff0080001043b098 x10: 0000000000000000 x9 : ffff80001043b098
x8 : ffff0000d209d340 x7 : ffff80000fcd3298 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000
x2 : 0000000000000002 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
 inet_csk_get_port+0x1208/0x1404 net/ipv4/inet_connection_sock.c:590
 inet_csk_listen_start+0x104/0x2c4 net/ipv4/inet_connection_sock.c:1296
 inet_dccp_listen+0x194/0x260 net/dccp/proto.c:948
 __sys_listen+0x198/0x21c net/socket.c:1845
 __do_sys_listen net/socket.c:1854 [inline]
 __se_sys_listen net/socket.c:1852 [inline]
 __arm64_sys_listen+0x5c/0x74 net/socket.c:1852
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140
 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204
 el0_svc+0x58/0x138 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
irq event stamp: 2875
hardirqs last  enabled at (2874): [<ffff8000081a8850>] __local_bh_enable_ip+0x1f8/0x380 kernel/softirq.c:426
hardirqs last disabled at (2875): [<ffff80001195cc30>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last  enabled at (2860): [<ffff80000fcd9324>] spin_unlock_bh include/linux/spinlock.h:396 [inline]
softirqs last  enabled at (2860): [<ffff80000fcd9324>] lock_sock_nested+0xe0/0x130 net/core/sock.c:3500
softirqs last disabled at (2862): [<ffff80001043a060>] spin_lock_bh include/linux/spinlock.h:356 [inline]
softirqs last disabled at (2862): [<ffff80001043a060>] inet_csk_get_port+0x1d0/0x1404 net/ipv4/inet_connection_sock.c:538
---[ end trace 0000000000000000 ]---

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/11/17 09:44 linux-6.1.y f6e38ae624cf f7988ea4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inet_csk_get_port
2026/01/09 14:34 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inet_csk_get_port
2025/12/22 10:26 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inet_csk_get_port
2025/12/13 01:25 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inet_csk_get_port
2025/11/17 07:44 linux-6.1.y f6e38ae624cf f7988ea4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in inet_csk_get_port
* Struck through repros no longer work on HEAD.