syzbot


WARNING in cleanup_net (3)

Status: fixed on 2024/04/12 05:52
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+9ada62e1dc03fdc41982@syzkaller.appspotmail.com
Fix commit: 2a750d6a5b36 rds: tcp: Fix use-after-free of net in reqsk_timer_handler().
First crash: 376d, last: 95d
Discussions (2)
Title Replies (including bot) Last reply
[syzbot] [net?] WARNING in cleanup_net (3) 4 (9) 2024/04/07 11:08
[syzbot] [net?] WARNING in cleanup_net (3) 7 (7) 2023/12/02 00:30
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in cleanup_net net 613 508d 630d 22/27 fixed on 2023/02/24 13:50
upstream WARNING in cleanup_net (2) net C error 72 439d 466d 22/27 fixed on 2023/06/08 14:41
Last patch testing requests (3)
Created Duration User Patch Repo Result
2024/04/07 10:33 15m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git fe46a7dd189e report log
2024/04/06 22:49 3h09m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git fe46a7dd189e error
2024/04/05 06:38 22m (2) hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git fe46a7dd189e error

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5236 at lib/ref_tracker.c:179 ref_tracker_dir_exit+0x411/0x550 lib/ref_tracker.c:179
Modules linked in:
CPU: 1 PID: 5236 Comm: kworker/u8:6 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: netns cleanup_net
RIP: 0010:ref_tracker_dir_exit+0x411/0x550 lib/ref_tracker.c:179
Code: 48 8b 1c 24 48 89 df 48 8b 74 24 20 e8 88 e7 9f 06 eb 1a e8 71 d2 b5 fc 48 8b 1c 24 48 89 df 48 8b 74 24 20 e8 70 e7 9f 06 90 <0f> 0b 90 48 83 c3 44 48 89 df be 04 00 00 00 e8 db 23 19 fd 48 89
RSP: 0018:ffffc9000905f9e0 EFLAGS: 00010246
RAX: 717a74f119e84f00 RBX: ffff888021ec9e98 RCX: 0000000000000001
RDX: dffffc0000000000 RSI: ffffffff8baac1e0 RDI: 0000000000000001
RBP: ffffc9000905fab0 R08: ffffffff92ce55ff R09: 1ffffffff259cabf
R10: dffffc0000000000 R11: fffffbfff259cac0 R12: 1ffff1100df19ef8
R13: dead000000000100 R14: ffff888021ec9ee8 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5c604d35c0 CR3: 0000000029078000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 net_free net/core/net_namespace.c:462 [inline]
 cleanup_net+0xbf3/0xcc0 net/core/net_namespace.c:658
 process_one_work kernel/workqueue.c:3254 [inline]
 process_scheduled_works+0xa02/0x1770 kernel/workqueue.c:3335
 worker_thread+0x86d/0xd70 kernel/workqueue.c:3416
 kthread+0x2f2/0x390 kernel/kthread.c:388
 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243
 </TASK>

Crashes (240):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/05 02:59 upstream fe46a7dd189e 0ee3535e .config console log report syz [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2024/04/11 22:14 upstream fe46a7dd189e 478efa7f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in cleanup_net
2024/04/11 16:07 upstream fe46a7dd189e 478efa7f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in cleanup_net
2024/04/11 00:13 upstream fe46a7dd189e 56086b24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in cleanup_net
2024/04/10 12:54 upstream 480e035fc4c7 56086b24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in cleanup_net
2024/04/09 07:01 upstream fe46a7dd189e 53df08b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2024/04/08 21:04 upstream fe46a7dd189e 53df08b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2024/04/08 07:27 upstream fe46a7dd189e ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2024/04/07 22:10 upstream fe46a7dd189e ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2024/04/07 19:26 upstream fe46a7dd189e ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2024/04/07 14:15 upstream fe46a7dd189e ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2024/04/07 09:57 upstream 480e035fc4c7 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in cleanup_net
2024/04/06 04:58 upstream fe46a7dd189e 18ea8213 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2024/04/06 02:16 upstream fe46a7dd189e 18ea8213 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2024/04/05 10:30 upstream 480e035fc4c7 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in cleanup_net
2024/04/05 09:29 upstream fe46a7dd189e 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2024/04/05 05:01 upstream fe46a7dd189e 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2024/04/04 23:16 upstream fe46a7dd189e 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2024/04/04 18:27 upstream fe46a7dd189e 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2024/04/04 06:47 upstream fe46a7dd189e 51c4dcff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2024/04/04 05:08 upstream 480e035fc4c7 51c4dcff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in cleanup_net
2024/04/04 02:58 upstream 480e035fc4c7 51c4dcff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in cleanup_net
2024/04/04 00:28 upstream fe46a7dd189e fed899ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2024/04/03 19:35 upstream fe46a7dd189e fed899ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2024/04/03 16:52 upstream 480e035fc4c7 fed899ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in cleanup_net
2024/04/03 15:16 upstream 480e035fc4c7 fed899ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in cleanup_net
2024/04/03 10:32 upstream 480e035fc4c7 7925100d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in cleanup_net
2024/04/03 07:14 upstream 480e035fc4c7 7925100d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in cleanup_net
2024/04/02 16:14 upstream fe46a7dd189e 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2024/04/02 09:43 upstream fe46a7dd189e 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in cleanup_net
2024/04/02 04:09 upstream 480e035fc4c7 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in cleanup_net
2024/04/02 02:13 upstream 480e035fc4c7 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in cleanup_net
2024/04/01 21:49 upstream fe46a7dd189e 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2024/04/01 20:13 upstream 480e035fc4c7 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in cleanup_net
2024/04/01 16:48 upstream 480e035fc4c7 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in cleanup_net
2024/04/01 16:48 upstream fe46a7dd189e 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2024/04/01 04:41 upstream fe46a7dd189e 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2024/04/01 03:02 upstream fe46a7dd189e 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in cleanup_net
2024/03/31 23:56 upstream 480e035fc4c7 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in cleanup_net
2024/03/31 15:52 upstream fe46a7dd189e 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2024/03/31 13:01 upstream 480e035fc4c7 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in cleanup_net
2024/03/31 11:33 upstream 480e035fc4c7 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in cleanup_net
2024/03/31 10:31 upstream fe46a7dd189e 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2024/03/31 07:49 upstream fe46a7dd189e 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in cleanup_net
2024/03/31 05:38 upstream fe46a7dd189e 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in cleanup_net
2024/03/31 02:23 upstream 480e035fc4c7 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in cleanup_net
2024/03/31 00:59 upstream fe46a7dd189e 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2024/03/31 00:43 upstream 480e035fc4c7 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in cleanup_net
2024/03/30 20:40 upstream 480e035fc4c7 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in cleanup_net
2024/03/30 19:33 upstream 480e035fc4c7 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in cleanup_net
2024/03/30 17:29 upstream 480e035fc4c7 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in cleanup_net
2024/03/30 15:43 upstream fe46a7dd189e 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in cleanup_net
2024/03/30 13:56 upstream fe46a7dd189e 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in cleanup_net
2024/03/30 12:09 upstream 480e035fc4c7 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in cleanup_net
2024/03/30 08:36 upstream fe46a7dd189e c52bcb23 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in cleanup_net
2024/03/30 06:43 upstream fe46a7dd189e c52bcb23 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in cleanup_net
2024/03/16 17:29 upstream fe46a7dd189e d615901c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in cleanup_net
2024/03/12 16:09 upstream 855684c7d938 c35c26ec .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in cleanup_net
2024/01/12 08:07 upstream 22d29f1112c8 00f3cc59 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_net
2023/09/23 13:34 upstream d90b0276af8f 0b6a67ac .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in cleanup_net
2024/02/18 05:06 net 97dde8402633 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in cleanup_net
2023/11/18 21:37 net 76df934c6d5f cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in cleanup_net
2024/03/29 10:30 net-next 237bb5f7f7f5 c52bcb23 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-net-next-test-gce WARNING in cleanup_net
2024/03/28 04:02 net-next 237bb5f7f7f5 454571b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in cleanup_net
2024/02/12 10:35 linux-next ae00c445390b 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in cleanup_net
* Struck through repros no longer work on HEAD.