INFO: task syz.7.3468:19520 blocked for more than 143 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.7.3468 state:D
stack:27152 pid:19520 ppid: 13078 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5049 [inline]
__schedule+0x11c3/0x4350 kernel/sched/core.c:6395
schedule+0x11b/0x1e0 kernel/sched/core.c:6478
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6537
__mutex_lock_common+0xdf5/0x2400 kernel/locking/mutex.c:669
__mutex_lock kernel/locking/mutex.c:729 [inline]
mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743
write_ports+0xb3/0xb80 fs/nfsd/nfsctl.c:848
nfsctl_transaction_write+0x105/0x150 fs/nfsd/nfsctl.c:114
vfs_write+0x304/0xd70 fs/read_write.c:592
ksys_write+0x153/0x260 fs/read_write.c:647
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f89f89564d9
RSP: 002b:00007f89f6ba3028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f89f8bd2fa0 RCX: 00007f89f89564d9
RDX: 0000000000000005 RSI: 00002000000007c0 RDI: 0000000000000006
RBP: 00007f89f89e504e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f89f8bd3038 R14: 00007f89f8bd2fa0 R15: 00007fffc4f14638
Showing all locks held in the system:
3 locks held by kworker/u4:0/9:
#0: ffff888017879138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1
#1: ffffc90000ce7d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285
#2:
ffffffff8e26ca48
(
rtnl_mutex
){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:251
1 lock held by khungtaskd/27:
#0: ffffffff8d11efa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3943:
#0:
ffff88807ec2a098
(
&tty->ldisc_sem
){++++}-{0:0}
, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1:
ffffc900025ce2e8
(
&ldata->atomic_read_lock
){+.+.}-{3:3}
, at: n_tty_read+0x594/0x1a50 drivers/tty/n_tty.c:2158
3 locks held by kworker/1:4/4269:
#0:
ffff888017870938
(
(wq_completion)events
){+.+.}-{0:0}, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1
#1: ffffc9000311fd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285
#2: ffffffff8d123a28 (rcu_state.exp_mutex
){+.+.}-{3:3}
, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline]
, at: synchronize_rcu_expedited+0x3a5/0x750 kernel/rcu/tree_exp.h:845
3 locks held by kworker/u4:9/4416:
2 locks held by kworker/0:9/9632:
#0:
ffff888017872138
(
(wq_completion)rcu_gp
){+.+.}-{0:0}
, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1
#1:
ffffc90005517d00
(
(work_completion)(&rew.rew_work)
){+.+.}-{0:0}
, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285
3 locks held by syz.8.3465/19508:
#0:
ffff88807ed065f0
(
&f->f_pos_lock
){+.+.}-{3:3}
, at: __fdget_pos+0x2bf/0x370 fs/file.c:1056
#1:
ffff88807aa28460
(
sb_writers
#23
){.+.+}-{0:0}
, at: vfs_write+0x296/0xd70 fs/read_write.c:590
#2:
ffffffff8d3713e8
(
nfsd_mutex){+.+.}-{3:3}, at: write_ports+0xb3/0xb80 fs/nfsd/nfsctl.c:848
3 locks held by syz.7.3468/19520:
#0: ffff888073675770 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x2bf/0x370 fs/file.c:1056
#1: ffff8880666e2460 (sb_writers#23){.+.+}-{0:0}, at: vfs_write+0x296/0xd70 fs/read_write.c:590
#2: ffffffff8d3713e8
(
nfsd_mutex
){+.+.}-{3:3}
, at: write_ports+0xb3/0xb80 fs/nfsd/nfsctl.c:848
2 locks held by syz-executor/19749:
#0: ffff88807b3e60e0 (&type->s_umount_key#53){+.+.}-{3:3}, at: deactivate_super+0xa0/0xd0 fs/super.c:365
#1:
ffffffff8d123a28
(
rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline]
rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x2d1/0x750 kernel/rcu/tree_exp.h:845
2 locks held by kworker/0:14/20190:
1 lock held by syz.5.3794/22975:
#0: ffffffff8e26ca48 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:699 [inline]
#0: ffffffff8e26ca48 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3d/0x1b0 drivers/net/tun.c:3454
2 locks held by syz.9.3795/22979:
#0:
ffff888075cfa0e0
(
&type->s_umount_key#74/1){+.+.}-{3:3}, at: alloc_super+0x200/0x970 fs/super.c:229
#1: ffffffff8d24fbd0 (kernfs_rwsem){++++}-{3:3}, at: kernfs_remove_by_name_ns+0x29/0x100 fs/kernfs/dir.c:1561
1 lock held by syz.3.3796/22984:
#0: ffffffff8e26ca48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline]
#0: ffffffff8e26ca48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x79f/0xf10 net/core/rtnetlink.c:5695
1 lock held by syz.3.3796/22985:
#0:
ffffffff8e26ca48
(rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline]
(rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x79f/0xf10 net/core/rtnetlink.c:5695
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Call Trace:
dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106
nmi_cpu_backtrace+0x3a2/0x3d0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline]
watchdog+0xe1b/0xe60 kernel/hung_task.c:369
kthread+0x42e/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 22979 Comm: syz.9.3795 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:on_stack arch/x86/include/asm/stacktrace.h:58 [inline]
RIP: 0010:stack_access_ok arch/x86/kernel/unwind_orc.c:347 [inline]
RIP: 0010:deref_stack_reg arch/x86/kernel/unwind_orc.c:357 [inline]
RIP: 0010:unwind_next_frame+0x8f7/0x1cf0 arch/x86/kernel/unwind_orc.c:539
Code: 80 3c 08 00 74 05 e8 a8 4e 89 00 48 8b 04 24 4c 8d 78 f8 4c 8b 73 10 48 b8 00 00 00 00 00 fc ff df 48 8b 4c 24 30 0f b6 04 01 <84> c0 0f 85 3d 0f 00 00 83 3b 00 0f 95 c0 4c 39 fd 0f 96 c1 20 c1
RSP: 0018:ffffc90000007690 EFLAGS: 00000046
RAX: 0000000000000000 RBX: ffffc90000007728 RCX: 1ffff92000000ee5
RDX: ffffc90000007e20 RSI: ffffffff8e7e06e0 RDI: ffffc90000007738
RBP: ffffc90000000000 R08: 0000000000000008 R09: 0000000000000006
R10: dffffc0000000000 R11: fffff52000000ef1 R12: 1ffffffff1dd6de0
R13: 1ffffffff1dd6de0 R14: ffffc90000008000 R15: ffffc90000007e18
FS: 00007fdb368a46c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055558fa274e8 CR3: 000000002f2e4000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
arch_stack_walk+0x10c/0x140 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0xa6/0xf0 kernel/stacktrace.c:122
kasan_save_stack+0x35/0x60 mm/kasan/common.c:38
kasan_record_aux_stack+0xb8/0x100 mm/kasan/generic.c:348
insert_work+0x54/0x3d0 kernel/workqueue.c:1366
__queue_work+0x90b/0xc80 kernel/workqueue.c:1532
call_timer_fn+0x17b/0x540 kernel/time/timer.c:1648
expire_timers kernel/time/timer.c:1694 [inline]
__run_timers+0x598/0x810 kernel/time/timer.c:1970
run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1983
handle_softirqs+0x336/0x830 kernel/softirq.c:576
__do_softirq kernel/softirq.c:610 [inline]
invoke_softirq kernel/softirq.c:450 [inline]
__irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659
irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:console_trylock_spinning+0x301/0x370 kernel/printk/printk.c:1909
Code: 85 db 74 89 e8 b0 f6 18 00 fb 31 c0 eb 48 e8 a6 f6 18 00 e8 71 54 69 08 48 85 db 74 d1 e8 97 f6 18 00 fb 48 c7 c7 e0 3a 11 8d <31> f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00 45 31 c9 68 fa 36 60
RSP: 0018:ffffc900054174c0 EFLAGS: 00000246
RAX: ffffffff816036f9 RBX: 0000000000000200 RCX: 0000000000080000
RDX: ffffc90011593000 RSI: 000000000007ffff RDI: ffffffff8d113ae0
RBP: ffffc90005417590 R08: ffffffff910470cf R09: 1ffffffff2208e19
R10: dffffc0000000000 R11: fffffbfff2208e1a R12: dffffc0000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 1ffff92000a82e98
vprintk_emit+0xa7/0x150 kernel/printk/printk.c:2273
_printk+0xda/0x130 kernel/printk/printk.c:2299
__dynamic_pr_debug+0x196/0x240 lib/dynamic_debug.c:619
__kernfs_remove+0xc96/0xcb0 fs/kernfs/dir.c:1345
kernfs_remove_by_name_ns+0x91/0x100 fs/kernfs/dir.c:1566
kernfs_remove_by_name include/linux/kernfs.h:598 [inline]
remove_files fs/sysfs/group.c:28 [inline]
sysfs_remove_group+0xfd/0x290 fs/sysfs/group.c:289
sysfs_remove_groups+0x50/0xa0 fs/sysfs/group.c:313
__kobject_del+0x83/0x2e0 lib/kobject.c:619
kobject_del+0x41/0x60 lib/kobject.c:651
f2fs_unregister_sysfs+0x117/0x140 fs/f2fs/sysfs.c:1270
f2fs_fill_super+0x64ef/0x7050 fs/f2fs/super.c:4478
mount_bdev+0x28a/0x3c0 fs/super.c:1411
legacy_get_tree+0xe6/0x180 fs/fs_context.c:611
vfs_get_tree+0x88/0x270 fs/super.c:1541
do_new_mount+0x247/0xa50 fs/namespace.c:3060
do_mount fs/namespace.c:3431 [inline]
__do_sys_mount fs/namespace.c:3639 [inline]
__se_sys_mount+0x2e3/0x3d0 fs/namespace.c:3616
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fdb3865877a
Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fdb368a3e58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fdb368a3ee0 RCX: 00007fdb3865877a
RDX: 0000200000000040 RSI: 0000200000000280 RDI: 00007fdb368a3ea0
RBP: 0000200000000040 R08: 00007fdb368a3ee0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000280
R13: 00007fdb368a3ea0 R14: 000000000000553b R15: 0000200000000f40