syzbot


WARNING in cleanup_net

Status: fixed on 2023/02/24 13:50
Subsystems: net
[Documentation on labels]
Fix commit: d1e96cc4fbe0 mptcp: fix tracking issue in mptcp_subflow_create_socket()
First crash: 579d, last: 457d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in cleanup_net (3) net syz 240 44d 178d 26/26 fixed on 2024/04/12 05:52
upstream WARNING in cleanup_net (2) net C error 72 387d 415d 22/26 fixed on 2023/06/08 14:41

Sample crash report:
 __sock_create+0x380/0x850 net/socket.c:1543
 sock_create net/socket.c:1594 [inline]
 __sys_socket_create net/socket.c:1631 [inline]
 __sys_socket_create net/socket.c:1616 [inline]
 __sys_socket+0x133/0x250 net/socket.c:1664
 __do_sys_socket net/socket.c:1677 [inline]
 __se_sys_socket net/socket.c:1675 [inline]
 __x64_sys_socket+0x73/0xb0 net/socket.c:1675
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
------------[ cut here ]------------
WARNING: CPU: 0 PID: 41 at lib/ref_tracker.c:39 spin_unlock_irqrestore include/linux/spinlock.h:405 [inline]
WARNING: CPU: 0 PID: 41 at lib/ref_tracker.c:39 ref_tracker_dir_exit+0x3a2/0x600 lib/ref_tracker.c:38
Modules linked in:
CPU: 0 PID: 41 Comm: kworker/u4:2 Not tainted 6.2.0-syzkaller-09238-gd2980d8d8265 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023
Workqueue: netns cleanup_net
RIP: 0010:ref_tracker_dir_exit+0x3a2/0x600 lib/ref_tracker.c:39
Code: 0f 84 c3 fe ff ff e8 4d c5 38 fd 44 89 ff e8 c5 f9 ff ff e9 b1 fe ff ff e8 3b c5 38 fd 48 8b 74 24 10 4c 89 ef e8 8e 27 cc 05 <0f> 0b e8 27 c5 38 fd 49 8d 6d 44 be 04 00 00 00 48 89 ef e8 76 46
RSP: 0018:ffffc90000b27c00 EFLAGS: 00010246
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: 0000000000000001 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffff888021718210 R08: 0000000000000001 R09: ffffffff914cec87
R10: 0000000000000001 R11: 0000000000000000 R12: ffff888021718210
R13: ffff8880217181c0 R14: ffff888021718210 R15: ffff88807e81aa88
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1a596d35c0 CR3: 0000000028dab000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 net_free net/core/net_namespace.c:447 [inline]
 net_free net/core/net_namespace.c:441 [inline]
 cleanup_net+0x8bb/0xb10 net/core/net_namespace.c:634
 process_one_work+0x9bf/0x1820 kernel/workqueue.c:2390
 worker_thread+0x669/0x1090 kernel/workqueue.c:2537
 kthread+0x2e8/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>

Crashes (613):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/24 11:32 upstream d2980d8d8265 9e2ebb3c .config console log report info ci-upstream-kasan-gce-root WARNING in cleanup_net
2023/02/22 00:30 upstream 4a7d37e824f5 42a4d508 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2023/02/21 05:26 upstream 91bc559d8d3a 4f5f5209 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in cleanup_net
2023/02/19 02:52 upstream 5e725d112e1a bcdf85f8 .config console log report info ci-qemu-upstream WARNING in cleanup_net
2023/02/17 06:31 upstream 3ac88fa4605e 851bc19a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in cleanup_net
2023/02/06 18:17 upstream d2d11f342b17 0a9c11b6 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in cleanup_net
2023/02/05 05:57 upstream 95078069c1e7 be607b78 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2023/02/03 07:39 upstream 66a87fff1a87 16d19e30 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2023/02/01 17:18 upstream c0b67534c95c 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in cleanup_net
2023/02/01 00:21 upstream 58706f7fb045 9dfcf09c .config console log report info ci-upstream-kasan-gce-root WARNING in cleanup_net
2023/01/29 03:44 upstream c96618275234 7374c4e5 .config console log report info ci-qemu-upstream WARNING in cleanup_net
2023/01/23 17:33 upstream 2475bf0250de 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2023/01/23 09:11 upstream 2475bf0250de 44388686 .config console log report info ci-upstream-kasan-gce-root WARNING in cleanup_net
2023/01/21 01:06 upstream ff83fec8179e 559a440a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in cleanup_net
2022/12/20 13:05 upstream 6feb57c2fd7c d3e76707 .config console log report info ci-upstream-kasan-gce WARNING in cleanup_net
2023/01/31 07:11 upstream 22b8077d0fce 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in cleanup_net
2023/01/30 11:40 upstream 6d796c50f84c 7374c4e5 .config console log report info ci-qemu-upstream-386 WARNING in cleanup_net
2023/02/24 09:21 net-old fd2a55e74a99 9e2ebb3c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in cleanup_net
2023/02/19 09:40 bpf ec35307e18ba bcdf85f8 .config console log report info ci-upstream-bpf-kasan-gce WARNING in cleanup_net
2023/02/07 16:09 net-old 0b6d6425103a 15c3d445 .config console log report info ci-upstream-net-this-kasan-gce WARNING in cleanup_net
2023/02/01 23:49 net-old 64466c407a73 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in cleanup_net
2023/01/29 01:25 net-old a6efc42a86c0 9dfcf09c .config console log report info ci-upstream-net-this-kasan-gce WARNING in cleanup_net
2023/01/26 20:18 net-old 7083df59abbc 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in cleanup_net
2023/01/22 20:16 net-old 71ab9c3e2253 559a440a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in cleanup_net
2023/01/19 04:16 net-old b9fb10d131b8 42660d9e .config console log report info ci-upstream-net-this-kasan-gce WARNING in cleanup_net
2023/01/18 08:11 net-old 010a74f52203 42660d9e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in cleanup_net
2023/02/22 11:19 net-next-old 5b7c4cabbb65 42a4d508 .config console log report info ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/02/22 04:15 net-next-old d1fabc68f8e0 42a4d508 .config console log report info ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/02/21 09:57 net-next-old f2b6cfda76d2 f949448d .config console log report info ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/02/19 11:34 net-next-old 675f176b4dcc bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/02/18 18:58 net-next-old 675f176b4dcc bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/02/17 14:39 net-next-old 675f176b4dcc 3e7039f4 .config console log report info ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/02/08 15:38 bpf-next a92adde8d3d4 fc9c934e .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in cleanup_net
2023/02/06 22:51 net-next-old c21adf256f8d 0a9c11b6 .config console log report info ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/02/04 10:11 net-next-old dfefcb0c0417 1b2f701a .config console log report info ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/02/04 08:19 net-next-old dfefcb0c0417 1b2f701a .config console log report info ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/02/02 20:14 bpf-next 4bc32df7a9c3 16d19e30 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in cleanup_net
2023/02/01 19:19 net-next-old dd25cfab16e6 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/01/31 05:51 net-next-old 90e8ca0abb05 9dfcf09c .config console log report info ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/01/31 01:30 net-next-old 90e8ca0abb05 9dfcf09c .config console log report info ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/01/29 06:38 bpf-next 07dcbd7325ce 9dfcf09c .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in cleanup_net
2023/01/27 22:24 net-next-old c2ea552065e4 9dfcf09c .config console log report info ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/01/25 18:01 bpf-next b613d335a743 9dfcf09c .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in cleanup_net
2023/01/25 03:12 net-next-old c554520f2cbe 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/01/24 09:19 net-next-old 32e54254bab8 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/01/23 12:02 net-next-old 40e0b0908142 44388686 .config console log report info ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/01/21 11:41 bpf-next 84150795a49a 559a440a .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in cleanup_net
2023/01/20 11:51 net-next-old 3ef4a8c8963b 559a440a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/01/20 05:41 net-next-old 3ef4a8c8963b 559a440a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/01/18 17:58 net-next-old c4791b3196bf 42660d9e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/01/18 06:50 bpf-next c0f264e4edb6 42660d9e .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in cleanup_net
2023/01/16 14:53 net-next-old 5129bd8e8840 a63719e7 .config console log report info ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/01/12 13:13 net-next-old 93e71edfd90c 96166539 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/01/11 15:36 net-next-old ef1757ef5846 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in cleanup_net
2022/10/25 07:42 net-next-old 6143eca3578f 45645420 .config console log report info ci-upstream-net-kasan-gce WARNING in cleanup_net
2022/12/19 19:53 linux-next d650871875b2 c52b2efb .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in cleanup_net
* Struck through repros no longer work on HEAD.