syzbot


INFO: rcu detected stall in cleanup_net (6)

Status: closed as invalid on 2023/10/27 14:39
Subsystems: net
[Documentation on labels]
First crash: 1030d, last: 459d
Similar bugs (12)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in cleanup_net (3) net 1 1912d 1912d 0/28 auto-closed as invalid on 2019/12/15 02:54
linux-4.19 INFO: rcu detected stall in cleanup_net (2) 4 1262d 1394d 0/1 auto-closed as invalid on 2021/10/25 03:43
upstream INFO: rcu detected stall in cleanup_net kernel 5 2344d 2412d 0/28 closed as invalid on 2018/09/05 12:51
upstream INFO: rcu detected stall in cleanup_net (4) kernel C done 5 1557d 1553d 15/28 fixed on 2020/10/10 01:52
upstream INFO: rcu detected stall in cleanup_net (5) net 24 1040d 1300d 0/28 closed as invalid on 2022/02/08 10:00
linux-4.19 INFO: rcu detected stall in cleanup_net 1 1784d 1784d 0/1 auto-closed as invalid on 2020/05/21 02:17
linux-6.1 INFO: rcu detected stall in cleanup_net origin:lts-only syz inconclusive 140 31d 516d 0/3 upstream: reported syz repro on 2023/07/12 14:45
upstream INFO: rcu detected stall in cleanup_net (2) kernel 1 2255d 2251d 0/28 auto-closed as invalid on 2019/04/05 22:14
linux-5.15 INFO: rcu detected stall in cleanup_net origin:lts-only syz 73 2d01h 518d 0/3 upstream: reported syz repro on 2023/07/11 05:04
linux-4.19 BUG: soft lockup in cleanup_net (2) C 3 645d 758d 0/1 upstream: reported C repro on 2022/11/13 07:04
android-5-15 BUG: soft lockup in cleanup_net origin:lts syz 6 92d 218d 0/2 auto-obsoleted due to no activity on 2024/12/08 05:58
linux-4.19 BUG: soft lockup in cleanup_net 4 891d 1104d 0/1 auto-obsoleted due to no activity on 2022/10/30 18:15

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P40/1:b..l
rcu: 	(detected by 1, t=10503 jiffies, g=92577, q=103 ncpus=2)
task:kworker/u4:2    state:R  running task     stack:23896 pid:40    ppid:2      flags:0x00004000
Workqueue: netns cleanup_net
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5382 [inline]
 __schedule+0xee1/0x59f0 kernel/sched/core.c:6695
 preempt_schedule_irq+0x52/0x90 kernel/sched/core.c:7007
 irqentry_exit+0x35/0x80 kernel/entry/common.c:432
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x11/0x70 kernel/kcov.c:207
Code: b0 01 00 00 e8 b0 ff ff ff 31 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa 65 8b 05 7d 1a 7d 7e 89 c1 48 8b 34 24 <81> e1 00 01 00 00 65 48 8b 14 25 00 bd 03 00 a9 00 01 ff 00 74 0e
RSP: 0018:ffffc90000d1faf8 EFLAGS: 00000246
RAX: 0000000080000000 RBX: 0000000000076f6c RCX: 0000000080000000
RDX: ffff888013ef8140 RSI: ffffffff88b5862d RDI: 0000000000000006
RBP: dffffc0000000000 R08: 0000000000000006 R09: 0000000000076f6c
R10: 0000000000076f6c R11: 1ffffffff1976551 R12: 0000000000000000
R13: 0000000000076f6c R14: ffffffff92641800 R15: 0000000000076f6c
 rcu_read_unlock include/linux/rcupdate.h:778 [inline]
 inet_twsk_purge+0x54d/0x920 net/ipv4/inet_timewait_sock.c:336
 ops_exit_list+0x125/0x170 net/core/net_namespace.c:175
 cleanup_net+0x505/0xb20 net/core/net_namespace.c:614
 process_one_work+0x887/0x15d0 kernel/workqueue.c:2630
 process_scheduled_works kernel/workqueue.c:2703 [inline]
 worker_thread+0x8bb/0x1290 kernel/workqueue.c:2784
 kthread+0x33a/0x430 kernel/kthread.c:388
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
 </TASK>
rcu: rcu_preempt kthread starved for 10530 jiffies! g92577 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0
rcu: 	Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior.
rcu: RCU grace-period kthread stack dump:
task:rcu_preempt     state:R  running task     stack:29072 pid:16    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5382 [inline]
 __schedule+0xee1/0x59f0 kernel/sched/core.c:6695
 schedule+0xe7/0x1b0 kernel/sched/core.c:6771
 schedule_timeout+0x157/0x2c0 kernel/time/timer.c:2167
 rcu_gp_fqs_loop+0x1ec/0xa50 kernel/rcu/tree.c:1613
 rcu_gp_kthread+0x249/0x380 kernel/rcu/tree.c:1812
 kthread+0x33a/0x430 kernel/kthread.c:388
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
 </TASK>
rcu: Stack dump where RCU GP kthread last ran:
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 22945 Comm: syz-executor.4 Not tainted 6.5.0-syzkaller-12107-g7ba2090ca64e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x11/0x70 kernel/kcov.c:207
Code: b0 01 00 00 e8 b0 ff ff ff 31 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa 65 8b 05 7d 1a 7d 7e 89 c1 48 8b 34 24 <81> e1 00 01 00 00 65 48 8b 14 25 00 bd 03 00 a9 00 01 ff 00 74 0e
RSP: 0018:ffffc90000007e78 EFLAGS: 00000046
RAX: 0000000080010001 RBX: 0000000000000000 RCX: 0000000080010001
RDX: ffff88803508a140 RSI: ffffffff817635a2 RDI: 0000000000000007
RBP: 00000233c8799980 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: ffffc90000007ff8 R12: 0000000000000000
R13: dffffc0000000000 R14: 0000000000000000 R15: 00000233c9a75051
FS:  0000555555843480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002006b000 CR3: 000000007b4ad000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 __seqprop_raw_spinlock_sequence include/linux/seqlock.h:274 [inline]
 ktime_get+0xb2/0x490 kernel/time/timekeeping.c:846
 clockevents_program_event+0x14b/0x370 kernel/time/clockevents.c:326
 tick_program_event+0xa5/0x130 kernel/time/tick-oneshot.c:44
 hrtimer_interrupt+0x36d/0x800 kernel/time/hrtimer.c:1827
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1063 [inline]
 __sysvec_apic_timer_interrupt+0x105/0x3f0 arch/x86/kernel/apic/apic.c:1080
 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1074
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:202
Code: 90 f3 0f 1e fa 53 48 8b 74 24 08 48 89 fb 48 83 c7 18 e8 6a 18 26 f7 48 89 df e8 42 97 26 f7 e8 8d 13 4c f7 fb bf 01 00 00 00 <e8> a2 01 18 f7 65 8b 05 73 7d c2 75 85 c0 74 02 5b c3 e8 50 42 bf
RSP: 0018:ffffc90014bafd00 EFLAGS: 00000246
RAX: 0000000000000003 RBX: ffff8880263632c0 RCX: 1ffffffff1d9b38e
RDX: 0000000000000000 RSI: ffffffff8ae90760 RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff8ecd6717 R11: 00000000fffffffe R12: ffff888026363758
R13: 0000000000000021 R14: ffff8880263636c0 R15: 1ffff92002975faf
 spin_unlock_irq include/linux/spinlock.h:401 [inline]
 get_signal+0x18a1/0x27b0 kernel/signal.c:2895
 arch_do_signal_or_restart+0x90/0x7f0 arch/x86/kernel/signal.c:309
 exit_to_user_mode_loop kernel/entry/common.c:168 [inline]
 exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204
 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline]
 syscall_exit_to_user_mode+0x1d/0x60 kernel/entry/common.c:296
 do_syscall_64+0x44/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fb40b6387dd
Code: 75 3f be 00 00 00 80 48 8d 3c 32 48 81 ff ff ff ff 7e 0f 87 1f 02 00 00 25 ff 0f 00 00 83 f0 3d 8d 3c c0 89 f8 c1 e8 04 31 f8 <69> c0 2d eb d4 27 89 c7 c1 ef 0f 31 f8 48 31 d0 25 ff 0f 00 00 09
RSP: 002b:00007ffce040d650 EFLAGS: 00000206
RAX: 0000000000005c35 RBX: 00007fb40b79c1b8 RCX: 0000000000000097
RDX: ffffffff8a2fea29 RSI: 0000000080000000 RDI: 00000000000059af
RBP: 000000008a2fe000 R08: 0000001b30020000 R09: 0000000000000880
R10: 000000008a2fe884 R11: 0000000000000246 R12: 0000000000000097
R13: 0000000000000001 R14: 00007fb40b790000 R15: ffffffff8a2fea29
 </TASK>

Crashes (63):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/09/07 21:23 upstream 7ba2090ca64e 72324844 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in cleanup_net
2023/08/14 12:12 upstream 2ccdd1b13c59 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in cleanup_net
2023/08/12 09:17 upstream f8de32cc060b 39990d51 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in cleanup_net
2023/08/03 12:24 upstream ec351c8f2e62 39a91c18 .config console log report info ci-upstream-kasan-gce-root INFO: rcu detected stall in cleanup_net
2023/07/19 21:46 upstream bfa3037d8280 4547cdf9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in cleanup_net
2023/07/18 03:46 upstream fdf0eaf11452 20f8b3c2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in cleanup_net
2023/07/17 14:22 upstream fdf0eaf11452 e5f10889 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in cleanup_net
2023/07/16 01:45 upstream 831fe284d827 35d9ecc5 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in cleanup_net
2023/07/06 15:09 upstream c17414a273b8 1a2f6297 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in cleanup_net
2023/06/27 10:36 upstream 1ef6663a587b 4cd5bb25 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: rcu detected stall in cleanup_net
2023/06/26 22:52 upstream c0a572d9d32f 4cd5bb25 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in cleanup_net
2023/06/19 16:31 upstream 45a3e24f65e9 d521bc56 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in cleanup_net
2023/06/07 12:35 upstream a4d7d7011219 7086cdb9 .config console log report info ci-upstream-kasan-gce INFO: rcu detected stall in cleanup_net
2023/04/17 23:28 upstream 6a8f57ae2eb0 436577a9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: rcu detected stall in cleanup_net
2023/02/22 15:25 upstream 5b7c4cabbb65 409945bc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in cleanup_net
2023/01/26 16:02 upstream 7c46948a6e9c 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in cleanup_net
2023/01/24 11:49 upstream 7bf70dbb1882 9dfcf09c .config console log report info ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in cleanup_net
2023/01/24 01:42 upstream 7bf70dbb1882 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in cleanup_net
2023/01/18 09:39 upstream c1649ec55708 42660d9e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in cleanup_net
2023/01/16 07:23 upstream 5dc4c995db9e a63719e7 .config console log report info ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in cleanup_net
2023/01/10 05:27 upstream 5a41237ad1d4 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in cleanup_net
2023/01/09 07:58 upstream 1fe4fd6f5cad 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in cleanup_net
2023/01/08 02:52 upstream 0a71553536d2 1dac8c7a .config console log report info ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in cleanup_net
2023/01/07 19:29 upstream a689b938df39 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in cleanup_net
2023/01/03 07:48 upstream 69b41ac87e4a ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in cleanup_net
2023/01/01 13:31 upstream e4cf7c25bae5 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in cleanup_net
2022/12/21 17:15 upstream b6bb9676f216 4067838e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in cleanup_net
2022/12/15 03:20 upstream 6f1f5caed5bf b18f0a64 .config console log report info ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in cleanup_net
2022/12/03 22:35 upstream a1e9185d20b5 e080de16 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in cleanup_net
2022/11/29 09:33 upstream ca57f02295f1 ca9683b8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in cleanup_net
2022/11/14 02:35 upstream af7a05689189 3ead01ad .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in cleanup_net
2022/11/10 06:52 upstream f67dd6ce0723 b2488a87 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in cleanup_net
2022/11/08 22:40 upstream f141df371335 060f945e .config console log report info ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in cleanup_net
2022/10/15 06:44 upstream 55be6084c8e0 67cb024c .config console log report info [disk image] [vmlinux] ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in cleanup_net
2022/09/29 06:28 upstream c3e0e1e23c70 e2556bc3 .config console log report info ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in cleanup_net
2022/09/23 23:33 upstream 1707c39ae309 0042f2b4 .config console log report info [disk image] [vmlinux] ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in cleanup_net
2022/09/05 01:12 upstream 7e18e42e4b28 28811d0a .config console log report info [disk image] [vmlinux] ci-upstream-kasan-gce-root INFO: rcu detected stall in cleanup_net
2022/08/05 19:32 upstream 200e340f2196 e853abd9 .config console log report info ci-upstream-kasan-gce-root INFO: rcu detected stall in cleanup_net
2022/06/22 21:32 upstream 3abc3ae553c7 912f5df7 .config console log report info ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in cleanup_net
2022/06/15 14:42 upstream 018ab4fabddd 1719ee24 .config console log report info ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in cleanup_net
2022/06/02 19:50 upstream d1dc87763f40 5783034f .config console log report info ci-upstream-kasan-gce-root INFO: rcu detected stall in cleanup_net
2022/05/16 00:23 upstream bc403203d65a 744a39e2 .config console log report info ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in cleanup_net
2022/05/10 20:52 upstream feb9c5e19e91 8b277b8e .config console log report info ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in cleanup_net
2022/03/08 14:41 upstream ea4424be1688 7bdd8b2c .config console log report info ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in cleanup_net
2023/06/02 02:40 upstream 1874a42a7d74 a4ae4f42 .config console log report info ci-upstream-kasan-gce-386 INFO: rcu detected stall in cleanup_net
2023/06/01 16:23 upstream 929ed21dfdb6 a4ae4f42 .config console log report info ci-upstream-kasan-gce-386 INFO: rcu detected stall in cleanup_net
2022/06/05 08:34 upstream d0e60d46bc03 c8857892 .config console log report info ci-upstream-kasan-gce-386 INFO: rcu detected stall in cleanup_net
2022/05/18 21:16 upstream ef1302160bfb 50c53f39 .config console log report info ci-upstream-kasan-gce-386 INFO: rcu detected stall in cleanup_net
2022/04/27 14:26 upstream 46cf2c613f4b 1fa34c1b .config console log report info ci-upstream-kasan-gce-386 INFO: rcu detected stall in cleanup_net
2023/08/10 15:14 net-next 29afcd69672a 4df3089c .config console log report info ci-upstream-net-kasan-gce INFO: rcu detected stall in cleanup_net
2023/07/27 11:06 net-next ac3cb6de32b6 41fe1bae .config console log report info ci-upstream-net-kasan-gce INFO: rcu detected stall in cleanup_net
2023/07/24 00:33 net-next 5c9f7b04aadf 27cbe77f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: rcu detected stall in cleanup_net
2023/06/14 23:25 linux-next b16049b21162 76decb82 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in cleanup_net
2023/06/13 11:46 linux-next 1f6ce8392d6f 749afb64 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in cleanup_net
2023/05/24 22:05 linux-next 715abedee4cd 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in cleanup_net
2023/05/16 00:47 linux-next 715abedee4cd 71b00cfb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in cleanup_net
2022/10/09 03:34 linux-next aaa11ce2ffc8 aea5da89 .config console log report info [disk image] [vmlinux] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in cleanup_net
2022/08/30 15:48 linux-next 282342f2dc97 4a380809 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in cleanup_net
2022/05/10 13:44 linux-next 38a288f5941e 8b277b8e .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in cleanup_net
2022/03/03 02:55 linux-next e6ada6df471f 45a13a73 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in cleanup_net
2022/02/13 18:55 linux-next ef6b35306dd8 8b9ca619 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in cleanup_net
* Struck through repros no longer work on HEAD.