syzbot


WARNING in tcp_sk_exit_batch

Status: fixed on 2024/10/03 15:25
Subsystems: net
[Documentation on labels]
Fix commit: 565d121b6998 tcp: prevent concurrent execution of tcp_sk_exit_batch
First crash: 158d, last: 120d

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 35 at net/ipv4/tcp_ipv4.c:3521 tcp_sk_exit_batch+0xc1/0x130 net/ipv4/tcp_ipv4.c:3521
Modules linked in:

CPU: 0 PID: 35 Comm: kworker/u8:2 Not tainted 6.10.0-rc6-syzkaller-00223-gc6653f49e4fd #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
Workqueue: netns cleanup_net

RIP: 0010:tcp_sk_exit_batch+0xc1/0x130 net/ipv4/tcp_ipv4.c:3521
Code: 01 00 00 00 89 ee e8 2e af a2 f7 83 fd 01 75 07 e8 e4 aa a2 f7 eb 16 31 ff 89 ee e8 19 af a2 f7 85 ed 7e 39 e8 d0 aa a2 f7 90 <0f> 0b 90 4c 89 ff e8 04 62 01 00 48 89 d8 48 c1 e8 03 42 80 3c 28
RSP: 0018:ffffc90000ab7a88 EFLAGS: 00010293

RAX: ffffffff89f37ce0 RBX: ffff88805afd56e8 RCX: ffff88801becda00
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
RBP: 0000000000000002 R08: ffffffff89f37cd7 R09: 1ffff1100b5fab88
R10: dffffc0000000000 R11: ffffed100b5fab89 R12: ffff88805afd5c40
R13: dffffc0000000000 R14: ffffc90000ab7b20 R15: ffff88805afd5640
FS:  0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f87b8f04030 CR3: 000000007b97e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ops_exit_list net/core/net_namespace.c:178 [inline]
 cleanup_net+0x89d/0xcc0 net/core/net_namespace.c:640
 process_one_work kernel/workqueue.c:3248 [inline]
 process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3329

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/07 17:57 upstream c6653f49e4fd bc4ebbb5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in tcp_sk_exit_batch
2024/08/14 10:50 bpf 100bff23818e bde81f6f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in tcp_sk_exit_batch
2024/07/22 18:38 bpf 13c9b702e6cb f063dfd9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in tcp_sk_exit_batch
* Struck through repros no longer work on HEAD.