syzbot


WARNING in cleanup_net (2)

Status: fixed on 2023/06/08 14:41
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+7e1e1bdb852961150198@syzkaller.appspotmail.com
Fix commit: 9744d2bf1976 smc: Fix use-after-free in tcp_write_timer_handler().
First crash: 453d, last: 384d
Cause bisection: failed (error log, bisect log)
  
Discussions (3)
Title Replies (including bot) Last reply
WARNING in cleanup_net 3 (3) 2023/11/30 08:34
[PATCH v1 net] smc: Fix use-after-free in tcp_write_timer_handler(). 3 (3) 2023/04/12 09:40
[syzbot] [net?] WARNING in cleanup_net (2) 0 (1) 2023/04/07 10:48
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in cleanup_net (3) net syz 240 41d 174d 26/26 fixed on 2024/04/12 05:52
upstream WARNING in cleanup_net net 613 453d 575d 22/26 fixed on 2023/02/24 13:50
Last patch testing requests (5)
Created Duration User Patch Repo Result
2023/04/08 12:18 21m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git f33642224e38 OK log
2023/04/08 10:49 13m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git f33642224e38 report log
2023/04/08 07:52 13m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git f33642224e38 report log
2023/04/08 02:04 12m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git f33642224e38 error OK
2023/04/07 14:59 14m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git f33642224e38 report log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 75 at lib/ref_tracker.c:39 spin_unlock_irqrestore include/linux/spinlock.h:405 [inline]
WARNING: CPU: 0 PID: 75 at lib/ref_tracker.c:39 ref_tracker_dir_exit+0x3a2/0x600 lib/ref_tracker.c:38
Modules linked in:
CPU: 0 PID: 75 Comm: kworker/u4:4 Not tainted 6.3.0-rc3-syzkaller-00148-gf33642224e38 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/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 2d 3d 44 fd 44 89 ff e8 c5 f9 ff ff e9 b1 fe ff ff e8 1b 3d 44 fd 48 8b 74 24 10 4c 89 ef e8 de 99 c6 05 <0f> 0b e8 07 3d 44 fd 49 8d 6d 44 be 04 00 00 00 48 89 ef e8 e6 4e
RSP: 0018:ffffc90001577c00 EFLAGS: 00010246
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: 0000000000000001 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffff888075d29ed0 R08: 0000000000000001 R09: ffffffff914d9c6f
R10: 0000000000000001 R11: 0000000000000000 R12: ffff888075d29ed0
R13: ffff888075d29e80 R14: ffff888075d29ed0 R15: ffff88802879edc8
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff1bdf8960 CR3: 000000002bed0000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
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+0x991/0x15c0 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 (72):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/03/25 14:34 net f33642224e38 fbf0499a .config strace log report syz C ci-upstream-net-this-kasan-gce WARNING in cleanup_net
2023/03/25 10:15 net-next bc77f7318da8 fbf0499a .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/04/13 09:09 upstream de4664485abb 82d5e53e .config console log report info ci-upstream-kasan-gce-root WARNING in cleanup_net
2023/04/12 07:32 upstream e62252bc55b6 1a1596b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2023/04/11 01:35 upstream 0d3eb744aed4 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2023/04/10 00:23 upstream 09a9639e56c0 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2023/04/08 23:56 upstream a79d5c76f705 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2023/04/08 21:25 upstream a79d5c76f705 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2023/04/08 03:30 upstream aa318c48808c 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2023/04/05 21:32 upstream 99ddf2254feb 8b834965 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in cleanup_net
2023/04/02 04:38 upstream 00c7b5f4ddc5 f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2023/03/29 22:03 upstream ffe78bbd5121 f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2023/03/28 10:11 upstream 3a93e40326c8 47f3aaf1 .config console log report info ci-qemu-upstream WARNING in cleanup_net
2023/03/27 10:14 upstream 197b6b60ae7b f8f96aa9 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in cleanup_net
2023/03/25 06:51 upstream 65aca32efdcb fbf0499a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2023/03/24 12:55 upstream 1e760fa3596e f94b4a29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2023/03/21 00:38 upstream 7d31677bb7b1 7939252e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in cleanup_net
2023/03/21 00:29 upstream 7d31677bb7b1 7939252e .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in cleanup_net
2023/03/20 23:54 upstream 7d31677bb7b1 7939252e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in cleanup_net
2023/03/18 07:34 upstream 8d3c682a5e3d 7939252e .config console log report info ci-upstream-kasan-gce WARNING in cleanup_net
2023/03/17 09:56 upstream 38e04b3e4240 18b58603 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2023/03/16 19:46 upstream 0ddc84d2dd43 18b58603 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2023/03/14 12:57 upstream fc89d7fb499b 0d5c4377 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2023/03/13 19:12 upstream eeac8ede1755 026e2200 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2023/03/13 10:47 upstream eeac8ede1755 5205ef30 .config console log report info ci-upstream-kasan-gce-root WARNING in cleanup_net
2023/03/03 13:27 upstream 2eb29d59ddf0 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in cleanup_net
2023/02/27 23:50 upstream 982818426a0f e792ae78 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2023/02/27 08:01 upstream f3a2439f20d9 e792ae78 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2023/02/26 16:23 upstream 2fcd07b7ccd5 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2023/02/24 14:22 upstream d2980d8d8265 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2023/03/04 01:49 upstream 0a3f9a6b0265 f8902b57 .config console log report info ci-upstream-kasan-gce-386 WARNING in cleanup_net
2023/04/21 06:52 net 0f2a4af27b64 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in cleanup_net
2023/04/10 19:39 bpf 919e659ed125 71147e29 .config console log report info ci-upstream-bpf-kasan-gce WARNING in cleanup_net
2023/04/10 11:12 bpf 919e659ed125 71147e29 .config console log report info ci-upstream-bpf-kasan-gce WARNING in cleanup_net
2023/04/05 11:50 net 3ce934558097 831373d3 .config console log report info ci-upstream-net-this-kasan-gce WARNING in cleanup_net
2023/03/21 04:39 net f36fa5581bca 7939252e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in cleanup_net
2023/03/18 13:00 net e866f29a6ff1 7939252e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in cleanup_net
2023/02/26 09:14 bpf 5b7c4cabbb65 ee50e71c .config console log report info ci-upstream-bpf-kasan-gce WARNING in cleanup_net
2023/02/25 18:38 net-old fd2a55e74a99 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in cleanup_net
2023/02/25 08:47 net-old fd2a55e74a99 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in cleanup_net
2023/05/04 17:41 bpf-next fedf99200ab0 3a560463 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in cleanup_net
2023/04/13 20:13 bpf-next d319f344561d 3cfcaa1b .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in cleanup_net
2023/04/12 15:46 net-next 18bb56ab4477 1a1596b6 .config console log report info ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/04/11 10:46 net-next 9bc11460bea7 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/04/11 09:32 net-next 9bc11460bea7 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/04/11 00:30 net-next 490fde262f17 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/04/10 04:18 net-next 5a17818682cf 71147e29 .config console log report info ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/04/09 22:27 net-next 5a17818682cf 71147e29 .config console log report info ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/04/09 16:46 net-next 5a17818682cf 71147e29 .config console log report info ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/04/05 05:09 net-next b103bab0944b 831373d3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/04/03 23:29 net-next 7b600f8da8fe 7db618d0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/04/03 02:25 net-next 51aaa68222d6 f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/03/31 23:24 net-next 54fd494af9d4 f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/03/31 09:20 net-next ee05d90d0ac7 f325deb0 .config console log report info ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/03/30 03:47 net-next 3b064f541be8 f325deb0 .config console log report info ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/03/29 01:56 net-next 163c2c705917 fc067f05 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/03/25 15:52 bpf-next 55fbae05476d fbf0499a .config console log report info ci-upstream-bpf-next-kasan-gce WARNING in cleanup_net
2023/03/25 03:39 net-next bc77f7318da8 fbf0499a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/03/25 02:42 net-next 323fe43cf9ae 9700afae .config console log report info ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/03/24 17:17 net-next 323fe43cf9ae 9700afae .config console log report info ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/03/22 09:13 net-next c8384d4a51e7 8b4eb097 .config console log report info ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/03/21 22:24 net-next c8384d4a51e7 8b4eb097 .config console log report info ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/03/20 17:00 net-next 56aecc0a655d 7939252e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/03/19 19:19 net-next 105a201ebf33 7939252e .config console log report info ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/03/06 21:14 net-next-old 5b7c4cabbb65 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/03/05 18:53 net-next-old 5b7c4cabbb65 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/02/27 10:13 net-next-old 5b7c4cabbb65 e792ae78 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/02/27 05:51 net-next-old 5b7c4cabbb65 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in cleanup_net
2023/02/26 16:04 net-next-old 5b7c4cabbb65 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in cleanup_net
* Struck through repros no longer work on HEAD.