syzbot


INFO: rcu detected stall in sys_mknod (3)

Status: closed as invalid on 2023/09/01 06:44
Subsystems: v9fs
[Documentation on labels]
First crash: 284d, last: 284d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_mknod exfat 8 1935d 2017d 0/26 closed as dup on 2018/10/27 13:01
upstream INFO: rcu detected stall in sys_mknod (2) kernel 1 1615d 1615d 0/26 closed as invalid on 2019/12/04 14:04

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	1-...!: (10499 ticks this GP) idle=dcfc/1/0x4000000000000000 softirq=19945/19946 fqs=0
rcu: 	(t=10500 jiffies g=21621 q=68 ncpus=2)
rcu: rcu_preempt kthread timer wakeup didn't happen for 10499 jiffies! g21621 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: 	Possible timer handling issue on cpu=0 timer-softirq=13496
rcu: rcu_preempt kthread starved for 10500 jiffies! g21621 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:28672 pid:16    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5381 [inline]
 __schedule+0xee1/0x59f0 kernel/sched/core.c:6710
 schedule+0xe7/0x1b0 kernel/sched/core.c:6786
 schedule_timeout+0x157/0x2c0 kernel/time/timer.c:2167
 rcu_gp_fqs_loop+0x1ec/0xa50 kernel/rcu/tree.c:1609
 rcu_gp_kthread+0x249/0x380 kernel/rcu/tree.c:1808
 kthread+0x33a/0x430 kernel/kthread.c:389
 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:296
RIP: 0000:0x0
Code: Unable to access opcode bytes at 0xffffffffffffffd6.
RSP: 0000:0000000000000000 EFLAGS: 00000000 ORIG_RAX: 0000000000000000
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </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: 8106 Comm: syz-executor.0 Not tainted 6.5.0-rc3-syzkaller-00020-gaf2e19389c2c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:434 [inline]
RIP: 0010:__pv_queued_spin_lock_slowpath+0x3f5/0xc70 kernel/locking/qspinlock.c:511
Code: 41 be 00 80 00 00 48 c1 e9 03 41 83 e4 07 41 bd 01 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8d 3c 01 eb 0c f3 90 41 83 ee 01 <0f> 84 c2 04 00 00 41 0f b6 07 44 38 e0 7f 08 84 c0 0f 85 fe 05 00
RSP: 0018:ffffc900069a7138 EFLAGS: 00000206
RAX: 0000000000000003 RBX: ffff88807baa20f0 RCX: 1ffff1100f75441e
RDX: 0000000000000001 RSI: ffffffff8a6c7880 RDI: ffffffff8ac80860
RBP: ffff8880b983d240 R08: 0000000000000001 R09: fffffbfff23095e8
R10: ffffffff9184af47 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000001 R14: 0000000000003ede R15: ffffed100f75441e
FS:  00007f654e5a06c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2f725000 CR3: 0000000022af2000 CR4: 0000000000350ef0
Call Trace:
 <NMI>
 </NMI>
 <TASK>
 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:586 [inline]
 queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline]
 queued_spin_lock include/asm-generic/qspinlock.h:114 [inline]
 do_raw_spin_lock+0x20e/0x2b0 kernel/locking/spinlock_debug.c:115
 spin_lock_bh include/linux/spinlock.h:356 [inline]
 dev_reset_queue+0xa9/0x1d0 net/sched/sch_generic.c:1291
 netdev_for_each_tx_queue include/linux/netdevice.h:2517 [inline]
 dev_deactivate_many+0x36f/0xb10 net/sched/sch_generic.c:1359
 dev_deactivate+0xed/0x1b0 net/sched/sch_generic.c:1382
 qdisc_graft+0xde1/0x1680 net/sched/sch_api.c:1108
 tc_modify_qdisc+0xcd2/0x1bf0 net/sched/sch_api.c:1731
 rtnetlink_rcv_msg+0x439/0xd30 net/core/rtnetlink.c:6424
 netlink_rcv_skb+0x16b/0x440 net/netlink/af_netlink.c:2549
 netlink_unicast_kernel net/netlink/af_netlink.c:1339 [inline]
 netlink_unicast+0x539/0x800 net/netlink/af_netlink.c:1365
 netlink_sendmsg+0x93c/0xe30 net/netlink/af_netlink.c:1914
 sock_sendmsg_nosec net/socket.c:725 [inline]
 sock_sendmsg+0xd9/0x180 net/socket.c:748
 ____sys_sendmsg+0x6ac/0x940 net/socket.c:2494
 ___sys_sendmsg+0x135/0x1d0 net/socket.c:2548
 __sys_sendmsg+0x117/0x1e0 net/socket.c:2577
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f654d87cb29
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f654e5a00c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f654d99bf80 RCX: 00007f654d87cb29
RDX: 0000000000000000 RSI: 00000000200007c0 RDI: 0000000000000004
RBP: 00007f654d8c847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f654d99bf80 R15: 00007ffe9c227008
 </TASK>
CPU: 1 PID: 8105 Comm: syz-executor.1 Not tainted 6.5.0-rc3-syzkaller-00020-gaf2e19389c2c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
RIP: 0010:taprio_dequeue_from_txq+0x90/0x8d0 net/sched/sch_taprio.c:717
Code: 4d 8b 75 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 51 07 00 00 48 8b 83 c0 02 00 00 4e 8d 24 e0 <48> b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 80 3c 02 00 0f
RSP: 0018:ffffc900001e0d00 EFLAGS: 00000246
RAX: ffff888014eb9200 RBX: ffff88807baa2000 RCX: 0000000000000100
RDX: 1ffff1100f754458 RSI: ffffffff88597391 RDI: ffff88807baa22c0
RBP: 0000000000000009 R08: 0000000000000004 R09: 0000000000000009
R10: 0000000000000000 R11: ffffc900001e0ff8 R12: ffff888014eb9248
R13: ffff8880332f4000 R14: ffff8880334b2000 R15: 0000000000000001
FS:  00007fa493a8d6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 000000002a5d1000 CR4: 0000000000350ee0
Call Trace:
 <IRQ>
 taprio_dequeue_tc_priority+0x289/0x4b0 net/sched/sch_taprio.c:798
 taprio_dequeue+0x12e/0x5f0 net/sched/sch_taprio.c:868
 dequeue_skb net/sched/sch_generic.c:292 [inline]
 qdisc_restart net/sched/sch_generic.c:397 [inline]
 __qdisc_run+0x1c4/0x19d0 net/sched/sch_generic.c:415
 qdisc_run include/net/pkt_sched.h:125 [inline]
 qdisc_run include/net/pkt_sched.h:122 [inline]
 net_tx_action+0x71e/0xc80 net/core/dev.c:5049
 __do_softirq+0x218/0x965 kernel/softirq.c:553
 invoke_softirq kernel/softirq.c:427 [inline]
 __irq_exit_rcu kernel/softirq.c:632 [inline]
 irq_exit_rcu+0xb7/0x120 kernel/softirq.c:644
 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1109
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:put_cpu_partial+0x12b/0x220 mm/slub.c:2722
Code: 28 75 71 48 c7 43 28 00 00 00 00 48 c7 c6 04 c7 d9 81 48 89 df e8 d5 b1 8d ff 4d 85 e4 75 46 9c 58 f6 c4 02 0f 85 b0 00 00 00 <4d> 85 ed 74 21 5b 4c 89 ee 48 89 ef 5d 41 5c 41 5d 41 5e 41 5f e9
RSP: 0018:ffffc90005c5f6f0 EFLAGS: 00000246
RAX: 0000000000000006 RBX: ffff8880b9940390 RCX: 1ffffffff230bcaa
RDX: 0000000000000000 RSI: ffffffff8a6c7880 RDI: ffffffff8ac80860
RBP: ffff888012841780 R08: 0000000000000001 R09: fffffbfff23095d5
R10: ffffffff9184aeaf R11: 000000000000001d R12: 0000000000000200
R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000004
 qlink_free mm/kasan/quarantine.c:166 [inline]
 qlist_free_all+0x6a/0x170 mm/kasan/quarantine.c:185
 kasan_quarantine_reduce+0x18b/0x1d0 mm/kasan/quarantine.c:292
 __kasan_slab_alloc+0x65/0x90 mm/kasan/common.c:305
 kasan_slab_alloc include/linux/kasan.h:186 [inline]
 slab_post_alloc_hook mm/slab.h:762 [inline]
 slab_alloc_node mm/slub.c:3470 [inline]
 __kmem_cache_alloc_node+0x19b/0x350 mm/slub.c:3509
 __do_kmalloc_node mm/slab_common.c:984 [inline]
 __kmalloc+0x4c/0x100 mm/slab_common.c:998
 kmalloc include/linux/slab.h:586 [inline]
 p9_fcall_init+0x97/0x1d0 net/9p/client.c:232
 p9_tag_alloc+0x17a/0x870 net/9p/client.c:295
 p9_client_prepare_req+0x19b/0x490 net/9p/client.c:639
 p9_client_rpc+0x1c3/0xc10 net/9p/client.c:686
 p9_client_walk+0x1ad/0x540 net/9p/client.c:1167
 v9fs_vfs_lookup+0x204/0x5e0 fs/9p/vfs_inode.c:763
 lookup_one_qstr_excl+0x116/0x180 fs/namei.c:1605
 filename_create+0x1ed/0x530 fs/namei.c:3887
 do_mknodat+0x183/0x570 fs/namei.c:4032
 __do_sys_mknod fs/namei.c:4078 [inline]
 __se_sys_mknod fs/namei.c:4076 [inline]
 __x64_sys_mknod+0x11a/0x170 fs/namei.c:4076
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fa492c7cb29
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fa493a8d0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000085
RAX: ffffffffffffffda RBX: 00007fa492d9bf80 RCX: 00007fa492c7cb29
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000100
RBP: 00007fa492cc847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fa492d9bf80 R15: 00007fff7b1480a8
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/07/25 21:46 upstream af2e19389c2c 6756545c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in sys_mknod
* Struck through repros no longer work on HEAD.