syzbot


INFO: rcu detected stall in dput

Status: closed as invalid on 2019/12/04 14:04
Subsystems: fs
[Documentation on labels]
First crash: 1604d, last: 1604d
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in dput (4) kvm C error error 2 866d 1226d 0/26 closed as invalid on 2022/02/08 10:37
upstream INFO: rcu detected stall in dput (3) kernel 1 1568d 1568d 0/26 closed as invalid on 2020/01/09 08:13
upstream INFO: rcu detected stall in dput (8) mm C done 15 2d07h 115d 0/26 upstream: reported C repro on 2023/12/31 19:35
linux-5.15 INFO: rcu detected stall in dput 2 239d 279d 0/3 auto-obsoleted due to no activity on 2023/12/08 00:28
upstream INFO: rcu detected stall in dput (6) fs 2 540d 600d 0/26 auto-obsoleted due to no activity on 2023/01/16 04:13
linux-5.15 INFO: rcu detected stall in dput (2) 2 32d 40d 0/3 upstream: reported on 2024/03/15 21:30
upstream INFO: rcu detected stall in dput (5) fs 1 736d 736d 0/26 auto-closed as invalid on 2022/07/18 12:41
linux-6.1 INFO: rcu detected stall in dput 1 287d 287d 0/3 auto-obsoleted due to no activity on 2023/10/20 22:44
upstream INFO: rcu detected stall in dput (2) kernel 2 1569d 1569d 0/26 closed as invalid on 2020/01/08 05:33

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	0-...!: (1 GPs behind) idle=05a/1/0x4000000000000004 softirq=184739/184741 fqs=0 
	(detected by 1, t=10802 jiffies, g=208901, q=234)
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 9016 Comm: syz-executor.3 Not tainted 5.4.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:dev_net include/linux/netdevice.h:2183 [inline]
RIP: 0010:packet_rcv+0xbc/0x13e0 net/packet/af_packet.c:2060
Code: 00 00 00 fc ff df 4d 8b 6d 28 49 8d 7d 30 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 a9 10 00 00 48 8d bb 80 05 00 00 49 8b 45 30 <48> ba 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 80 3c 11 00 0f
RSP: 0018:ffffc900000077e8 EFLAGS: 00000246
RAX: ffff88806ae1e080 RBX: ffff88805c33e000 RCX: ffffffff86d3fe54
RDX: 1ffff1100ae0c806 RSI: ffffffff86d3fe5f RDI: ffff88805c33e580
RBP: ffffc90000007858 R08: ffff8880636cc100 R09: ffffed10129beec4
R10: ffffed10129beec3 R11: ffff888094df761f R12: ffff88809278fb80
R13: ffff888057064000 R14: 0000000000000004 R15: ffff88809278fc00
FS:  0000000001318940(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000714158 CR3: 0000000063665000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 packet_rcv_fanout+0x5b2/0x8c0 net/packet/af_packet.c:1462
 dev_queue_xmit_nit+0x803/0xa20 net/core/dev.c:2221
 xmit_one net/core/dev.c:3416 [inline]
 dev_hard_start_xmit+0xbb/0x9b0 net/core/dev.c:3436
 __dev_queue_xmit+0x2b05/0x35c0 net/core/dev.c:4013
 dev_queue_xmit+0x18/0x20 net/core/dev.c:4046
 hsr_xmit net/hsr/hsr_forward.c:228 [inline]
 hsr_forward_do net/hsr/hsr_forward.c:285 [inline]
 hsr_forward_skb+0xd29/0x1d30 net/hsr/hsr_forward.c:361
 send_hsr_supervision_frame+0x8bf/0xf20 net/hsr/hsr_device.c:306
 hsr_announce+0x12f/0x3b0 net/hsr/hsr_device.c:334
 call_timer_fn+0x1ac/0x780 kernel/time/timer.c:1404
 expire_timers kernel/time/timer.c:1449 [inline]
 __run_timers kernel/time/timer.c:1773 [inline]
 __run_timers kernel/time/timer.c:1740 [inline]
 run_timer_softirq+0x6c3/0x1790 kernel/time/timer.c:1786
 __do_softirq+0x262/0x98c kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:373 [inline]
 irq_exit+0x19b/0x1e0 kernel/softirq.c:413
 exiting_irq arch/x86/include/asm/apic.h:536 [inline]
 smp_apic_timer_interrupt+0x1a3/0x610 arch/x86/kernel/apic/apic.c:1137
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829
 </IRQ>
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:752 [inline]
RIP: 0010:kmem_cache_free+0xab/0x320 mm/slab.c:3695
Code: e8 4a 29 00 00 84 c0 74 77 41 f7 c6 00 02 00 00 74 4f e8 68 65 c8 ff 48 83 3d 88 15 c1 07 00 0f 84 fa 01 00 00 4c 89 f7 57 9d <0f> 1f 44 00 00 4c 8b 6d 08 0f 1f 44 00 00 65 8b 05 28 93 4f 7e 83
RSP: 0018:ffffc90001f67d08 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000007 RBX: ffff88809b6f0340 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000282
RBP: ffffc90001f67d28 R08: ffff8880636cc100 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880a33001c0
R13: ffffffff81c3053d R14: 0000000000000282 R15: ffff88809b6f0430
 __d_free fs/dcache.c:271 [inline]
 dentry_free fs/dcache.c:348 [inline]
 dentry_free+0xed/0x170 fs/dcache.c:336
 __dentry_kill+0x457/0x600 fs/dcache.c:593
 dentry_kill fs/dcache.c:686 [inline]
 dput+0x821/0xe10 fs/dcache.c:859
 __fput+0x424/0x890 fs/file_table.c:293
 ____fput+0x16/0x20 fs/file_table.c:313
 task_work_run+0x145/0x1c0 kernel/task_work.c:113
 tracehook_notify_resume include/linux/tracehook.h:188 [inline]
 exit_to_usermode_loop+0x316/0x380 arch/x86/entry/common.c:164
 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:278 [inline]
 do_syscall_64+0x676/0x790 arch/x86/entry/common.c:304
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4141f0
Code: 01 f0 ff ff 0f 83 30 1b 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 3d 7d 42 66 00 00 75 14 b8 03 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 04 1b 00 00 c3 48 83 ec 08 e8 0a fc ff ff
RSP: 002b:0000000000a6f6c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00000000004141f0
RDX: 00000000000000e0 RSI: 0000000000a6f790 RDI: 0000000000000003
RBP: 0000000000a6f6e0 R08: 0000000000a6f6dc R09: 000000000000000a
R10: 0000000000a6f6e0 R11: 0000000000000246 R12: 0000000000000003
R13: 00000000007154e0 R14: 0000000000714de8 R15: 0000000000001380
rcu: rcu_preempt kthread starved for 10802 jiffies! g208901 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
rcu: RCU grace-period kthread stack dump:
rcu_preempt     R  running task    29272    10      2 0x80004000
protocol 88fb is buggy, dev hsr_slave_1
Call Trace:
 context_switch kernel/sched/core.c:3385 [inline]
 __schedule+0x934/0x1f90 kernel/sched/core.c:4081
 schedule+0xdc/0x2b0 kernel/sched/core.c:4155
 schedule_timeout+0x486/0xc50 kernel/time/timer.c:1895
 rcu_gp_fqs_loop kernel/rcu/tree.c:1661 [inline]
 rcu_gp_kthread+0x9b2/0x18d0 kernel/rcu/tree.c:1821
 kthread+0x361/0x430 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
protocol 88fb is buggy, dev hsr_slave_1

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/12/04 04:08 upstream 76bb8b05960c ae13a849 .config console log report ci-upstream-kasan-gce
* Struck through repros no longer work on HEAD.