INFO: task syz-executor.3:7421 blocked for more than 143 seconds.
Not tainted 6.7.0-next-20240119-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:25824 pid:7421 tgid:7420 ppid:5110 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5400 [inline]
__schedule+0xf15/0x5ce0 kernel/sched/core.c:6727
__schedule_loop kernel/sched/core.c:6802 [inline]
schedule+0xe7/0x280 kernel/sched/core.c:6817
wb_wait_for_completion+0x1b2/0x270 fs/fs-writeback.c:192
sync_inodes_sb+0x1b7/0xa40 fs/fs-writeback.c:2758
sync_filesystem+0x176/0x290 fs/sync.c:64
nilfs_remount+0x56/0x4f0 fs/nilfs2/super.c:1148
legacy_reconfigure+0x119/0x180 fs/fs_context.c:685
reconfigure_super+0x44f/0xb20 fs/super.c:1076
do_remount fs/namespace.c:2892 [inline]
path_mount+0x172d/0x1f20 fs/namespace.c:3671
do_mount fs/namespace.c:3692 [inline]
__do_sys_mount fs/namespace.c:3898 [inline]
__se_sys_mount fs/namespace.c:3875 [inline]
__x64_sys_mount+0x297/0x320 fs/namespace.c:3875
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x6d/0x75
RIP: 0033:0x7f1ee927e4aa
RSP: 002b:00007f1eea09aef8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f1eea09af80 RCX: 00007f1ee927e4aa
RDX: 0000000020000180 RSI: 0000000020000100 RDI: 0000000000000000
RBP: 0000000020000180 R08: 00007f1eea09af80 R09: 0000000001a404bc
R10: 0000000001a404bc R11: 0000000000000202 R12: 0000000020000100
R13: 00007f1eea09af40 R14: 0000000000000000 R15: 0000000020003780
Showing all locks held in the system:
1 lock held by khungtaskd/29:
#0: ffffffff8d5aec20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline]
#0: ffffffff8d5aec20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline]
#0: ffffffff8d5aec20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614
2 locks held by kworker/u4:3/49:
#0: ffff8880192d5d38 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x7ba/0x16e0 kernel/workqueue.c:2608
#1: ffffc90000ba7d80 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x824/0x16e0 kernel/workqueue.c:2609
3 locks held by kworker/0:2/1137:
2 locks held by getty/4813:
#0: ffff88801dd600a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201
8 locks held by syz-executor.0/5097:
3 locks held by kworker/0:4/5160:
2 locks held by kworker/u4:10/5534:
2 locks held by syz-executor.3/7421:
#0: ffff88801eab00e0 (&type->s_umount_key#78){++++}-{3:3}, at: do_remount fs/namespace.c:2889 [inline]
#0: ffff88801eab00e0 (&type->s_umount_key#78){++++}-{3:3}, at: path_mount+0x1426/0x1f20 fs/namespace.c:3671
#1: ffff8880208747d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline]
#1: ffff8880208747d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x19d/0xa40 fs/fs-writeback.c:2756
3 locks held by kworker/u4:24/7771:
1 lock held by syz-executor.4/9601:
#0: ffff88801eab00e0 (&type->s_umount_key#78){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff88801eab00e0 (&type->s_umount_key#78){++++}-{3:3}, at: super_lock+0x31a/0x3f0 fs/super.c:120
2 locks held by udevd/9706:
#0: ffff8880b943ccd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:567 [inline]
#0: ffff8880b943ccd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:552
#1: ffff8880b9428a08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:988
4 locks held by udevd/9972:
#0: ffff888092415cd0 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xde/0x12c0 fs/seq_file.c:182
#1: ffff88801eb35088 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154
#2: ffff88808bc8ce90 (kn->active#23){++++}-{0:0}, at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155
#3: ffff88808330c190 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:995 [inline]
#3: ffff88808330c190 (&dev->mutex){....}-{3:3}, at: manufacturer_show+0x26/0xa0 drivers/usb/core/sysfs.c:142
1 lock held by syz-executor.2/10829:
#0: ffffffff8d5ba340 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x6c0 kernel/rcu/tree.c:4032
3 locks held by syz-executor.5/10844:
#0: ffff88807d3fa010 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline]
#0: ffff88807d3fa010 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release+0x86/0x270 net/socket.c:658
#1: ffff888081337130 (sk_lock-AF_CAN){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1691 [inline]
#1: ffff888081337130 (sk_lock-AF_CAN){+.+.}-{0:0}, at: bcm_release+0x200/0x8e0 net/can/bcm.c:1527
#2: ffffffff8d5ba478 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline]
#2: ffffffff8d5ba478 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x6b5/0x800 kernel/rcu/tree_exp.h:996
3 locks held by syz-executor.0/10850:
#0: ffff888083c58e10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline]
#0: ffff888083c58e10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release+0x86/0x270 net/socket.c:658
#1: ffff88808192f130 (sk_lock-AF_CAN){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1691 [inline]
#1: ffff88808192f130 (sk_lock-AF_CAN){+.+.}-{0:0}, at: bcm_release+0x200/0x8e0 net/can/bcm.c:1527
#2: ffffffff8d5ba478 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline]
#2: ffffffff8d5ba478 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x403/0x800 kernel/rcu/tree_exp.h:996
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.7.0-next-20240119-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xf86/0x1210 kernel/hung_task.c:379
kthread+0x2c1/0x3a0 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:242
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 5108 Comm: syz-executor.2 Not tainted 6.7.0-next-20240119-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:check_region_inline mm/kasan/generic.c:169 [inline]
RIP: 0010:kasan_check_range+0x150/0x1a0 mm/kasan/generic.c:189
Code: c0 01 49 89 d3 48 39 d0 74 11 80 38 00 74 ef 4d 8d 1c 2c 48 85 c0 48 89 c2 75 93 48 89 da 4c 89 d8 4c 29 da e9 2c ff ff ff 5b 01 00 00 00 5d 41 5c c3 cc cc cc cc b8 01 00 00 00 c3 cc cc cc
RSP: 0018:ffffc90003507368 EFLAGS: 00000046
RAX: fffffbfff275b1f9 RBX: 0000000000000018 RCX: ffffffff816aa5ae
RDX: fffffbfff275b1f9 RSI: 0000000000000008 RDI: ffffffff93ad8fc0
RBP: fffffbfff275b1f8 R08: 0000000000000000 R09: fffffbfff275b1f8
R10: ffffffff93ad8fc7 R11: 0000000000000007 R12: ffff88802b0f0000
R13: 0000000000000200 R14: 0000000000000009 R15: 1ffff920006a0e78
FS: 0000555556595480(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcd1bcd56c6 CR3: 000000003e13c000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
instrument_atomic_read include/linux/instrumented.h:68 [inline]
_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline]
hlock_class+0x4e/0x130 kernel/locking/lockdep.c:228
mark_lock+0xb5/0xc60 kernel/locking/lockdep.c:4656
mark_usage kernel/locking/lockdep.c:4599 [inline]
__lock_acquire+0x992/0x3b30 kernel/locking/lockdep.c:5091
lock_acquire kernel/locking/lockdep.c:5754 [inline]
lock_acquire+0x1b1/0x540 kernel/locking/lockdep.c:5719
rcu_lock_acquire include/linux/rcupdate.h:298 [inline]
rcu_read_lock include/linux/rcupdate.h:750 [inline]
pfn_valid include/linux/mmzone.h:2016 [inline]
page_table_check_set mm/page_table_check.c:105 [inline]
__page_table_check_ptes_set+0x4bc/0xb70 mm/page_table_check.c:196
page_table_check_ptes_set include/linux/page_table_check.h:74 [inline]
set_ptes include/linux/pgtable.h:241 [inline]
copy_present_pte mm/memory.c:993 [inline]
copy_pte_range mm/memory.c:1102 [inline]
copy_pmd_range mm/memory.c:1187 [inline]
copy_pud_range mm/memory.c:1224 [inline]
copy_p4d_range mm/memory.c:1248 [inline]
copy_page_range+0x131f/0x3b90 mm/memory.c:1346
dup_mmap kernel/fork.c:745 [inline]
dup_mm kernel/fork.c:1685 [inline]
copy_mm kernel/fork.c:1734 [inline]
copy_process+0x5c37/0x9780 kernel/fork.c:2496
kernel_clone+0xfd/0x940 kernel/fork.c:2901
__do_sys_clone+0xba/0x100 kernel/fork.c:3044
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x6d/0x75
RIP: 0033:0x7fcd1b079dd3
Code: 1f 84 00 00 00 00 00 64 48 8b 04 25 10 00 00 00 45 31 c0 31 d2 31 f6 bf 11 00 20 01 4c 8d 90 d0 02 00 00 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 89 c2 85 c0 75 2c 64 48 8b 04 25 10 00 00
RSP: 002b:00007ffc481c9548 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fcd1b079dd3
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
R10: 0000555556595750 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001