INFO: task syz-executor.4:10288 blocked for more than 143 seconds.
Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:29360 pid:10288 tgid:10279 ppid:9926 flags:0x00000006
Call Trace:
context_switch kernel/sched/core.c:5409 [inline]
__schedule+0xf15/0x5c70 kernel/sched/core.c:6736
__schedule_loop kernel/sched/core.c:6813 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6828
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6885
rwsem_down_read_slowpath+0x61e/0xb20 kernel/locking/rwsem.c:1086
__down_read_common kernel/locking/rwsem.c:1250 [inline]
__down_read kernel/locking/rwsem.c:1263 [inline]
down_read+0x124/0x330 kernel/locking/rwsem.c:1528
inode_lock_shared include/linux/fs.h:803 [inline]
lookup_slow fs/namei.c:1708 [inline]
walk_component+0x342/0x5b0 fs/namei.c:2004
lookup_last fs/namei.c:2461 [inline]
path_lookupat+0x17f/0x770 fs/namei.c:2485
filename_lookup+0x1e5/0x5b0 fs/namei.c:2514
user_path_at_empty+0x42/0x60 fs/namei.c:2921
user_path_at include/linux/namei.h:57 [inline]
do_mount fs/namespace.c:3689 [inline]
__do_sys_mount fs/namespace.c:3898 [inline]
__se_sys_mount fs/namespace.c:3875 [inline]
__x64_sys_mount+0x1ff/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:0x7f35e1a7de69
RSP: 002b:00007f35e27320c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f35e1bac050 RCX: 00007f35e1a7de69
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00000000200000c0
RBP: 00007f35e1aca47a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f35e1bac050 R15: 00007fff23da6d38
Showing all locks held in the system:
1 lock held by khungtaskd/29:
#0: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline]
#0: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline]
#0: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614
3 locks held by kworker/u8:4/61:
3 locks held by kworker/u8:8/2838:
#0: ffff88802a21a148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x1296/0x1a60 kernel/workqueue.c:3229
#1: ffffc9000b4b7d80 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x906/0x1a60 kernel/workqueue.c:3230
#2: ffffffff8f2f63c8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xcf/0x1500 net/ipv6/addrconf.c:4191
2 locks held by getty/4818:
#0: ffff88802b0490a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900015e02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201
2 locks held by syz-executor.4/10282:
1 lock held by syz-executor.4/10288:
#0: ffff88805b7c8188 (&type->i_mutex_dir_key#18){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:803 [inline]
#0: ffff88805b7c8188 (&type->i_mutex_dir_key#18){++++}-{3:3}, at: lookup_slow fs/namei.c:1708 [inline]
#0: ffff88805b7c8188 (&type->i_mutex_dir_key#18){++++}-{3:3}, at: walk_component+0x342/0x5b0 fs/namei.c:2004
2 locks held by syz-executor.3/10442:
1 lock held by syz-executor.3/10450:
#0: ffff888031e84188 (&type->i_mutex_dir_key#18){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:803 [inline]
#0: ffff888031e84188 (&type->i_mutex_dir_key#18){++++}-{3:3}, at: lookup_slow fs/namei.c:1708 [inline]
#0: ffff888031e84188 (&type->i_mutex_dir_key#18){++++}-{3:3}, at: walk_component+0x342/0x5b0 fs/namei.c:2004
6 locks held by syz-executor.1/11195:
#0: ffff888029246420 (sb_writers#11){.+.+}-{0:0}, at: ksys_write+0x12f/0x260 fs/read_write.c:643
#1: ffff88805f035088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x281/0x500 fs/kernfs/file.c:325
#2: ffffffff8d800f88 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_lock include/linux/cgroup.h:368 [inline]
#2: ffffffff8d800f88 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_kn_lock_live+0x136/0x570 kernel/cgroup/cgroup.c:1662
#3: ffffffff8d653cb0 (cpu_hotplug_lock){++++}-{0:0}, at: cgroup_attach_lock kernel/cgroup/cgroup.c:2413 [inline]
#3: ffffffff8d653cb0 (cpu_hotplug_lock){++++}-{0:0}, at: cgroup_procs_write_start+0x18f/0x660 kernel/cgroup/cgroup.c:2917
#4: ffffffff8d800d50 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: cgroup_attach_lock kernel/cgroup/cgroup.c:2415 [inline]
#4: ffffffff8d800d50 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: cgroup_attach_lock kernel/cgroup/cgroup.c:2411 [inline]
#4: ffffffff8d800d50 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: cgroup_procs_write_start+0x19b/0x660 kernel/cgroup/cgroup.c:2917
#5: ffffffff8d7bc4b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline]
#5: ffffffff8d7bc4b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x403/0x7a0 kernel/rcu/tree_exp.h:939
2 locks held by syz-executor.4/11210:
#0: ffffffff8f2f63c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8f2f63c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe60 net/core/rtnetlink.c:6592
#1: ffff888086b59408 (&wg->device_update_lock){+.+.}-{3:3}, at: wg_open+0x203/0x4e0 drivers/net/wireguard/device.c:50
2 locks held by syz-executor.3/11380:
#0: ffff8880663b01c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: tty_release+0x8b/0x1420 drivers/tty/tty_io.c:1742
#1: ffff8880663b11c0 (&tty->legacy_mutex/1){+.+.}-{3:3}, at: __tty_hangup.part.0+0xbe/0x8c0 drivers/tty/tty_io.c:590
1 lock held by syz-executor.3/11381:
#0: ffff8880663b10a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
2 locks held by syz-executor.3/11382:
#0: ffff8880663b11c0 (&tty->legacy_mutex/1){+.+.}-{3:3}, at: tty_set_ldisc+0x8b/0x680 drivers/tty/tty_ldisc.c:528
#1: ffff8880663b10a0 (&tty->ldisc_sem){++++}-{0:0}, at: __tty_ldisc_lock drivers/tty/tty_ldisc.c:289 [inline]
#1: ffff8880663b10a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_lock+0x65/0xb0 drivers/tty/tty_ldisc.c:313
1 lock held by syz-executor.3/11385:
#0: ffff8880663b10a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
1 lock held by kvm-nx-lpage-re/11388:
#0: ffffffff8d800f88 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_lock include/linux/cgroup.h:368 [inline]
#0: ffffffff8d800f88 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_attach_task_all+0x25/0x130 kernel/cgroup/cgroup-v1.c:61
1 lock held by syz-executor.0/11390:
#0: ffff88807e20f3a0 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock_killable include/linux/mmap_lock.h:124 [inline]
#0: ffff88807e20f3a0 (&mm->mmap_lock){++++}-{3:3}, at: vm_mmap_pgoff+0x160/0x3c0 mm/util.c:571
1 lock held by syz-executor.0/11391:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114
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:243
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 11391 Comm: syz-executor.0 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:__sanitizer_cov_trace_pc+0x33/0x60 kernel/kcov.c:207
Code: db 76 7e 65 8b 05 05 db 76 7e a9 00 01 ff 00 48 8b 34 24 74 0f f6 c4 01 74 35 8b 82 14 16 00 00 85 c0 74 2b 8b 82 f0 15 00 00 <83> f8 02 75 20 48 8b 8a f8 15 00 00 8b 92 f4 15 00 00 48 8b 01 48
RSP: 0018:ffffc90003dbf8b0 EFLAGS: 00000046
RAX: 0000000000000002 RBX: ffffea0002144d40 RCX: ffffffff81d2801c
RDX: ffff88801937da00 RSI: ffffffff81d2802a RDI: 0000000000000007
RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000005 R12: ffff88807e909f10
R13: 0000000000000001 R14: dffffc0000000000 R15: 0000000000000008
FS: 00007f528786d6c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b31822000 CR3: 0000000086b92000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline]
page_fixed_fake_head include/linux/page-flags.h:210 [inline]
page_is_fake_head include/linux/page-flags.h:242 [inline]
PageTail include/linux/page-flags.h:286 [inline]
folio_flags.constprop.0+0x4a/0x150 include/linux/page-flags.h:313
folio_test_mlocked include/linux/page-flags.h:557 [inline]
folio_evictable+0xc2/0x260 mm/internal.h:163
__mlock_folio mm/mlock.c:69 [inline]
mlock_folio_batch+0x11ec/0x4000 mm/mlock.c:200
mlock_folio+0x2e3/0x8f0 mm/mlock.c:260
mlock_vma_folio mm/internal.h:670 [inline]
__folio_add_file_rmap mm/rmap.c:1461 [inline]
folio_add_file_rmap_ptes+0x26d/0x2c0 mm/rmap.c:1478
set_pte_range+0x3cf/0xa10 mm/memory.c:4547
finish_fault+0x372/0x9e0 mm/memory.c:4622
do_read_fault mm/memory.c:4762 [inline]
do_fault mm/memory.c:4888 [inline]
do_pte_missing mm/memory.c:3745 [inline]
handle_pte_fault mm/memory.c:5164 [inline]
__handle_mm_fault+0x32ee/0x4920 mm/memory.c:5305
handle_mm_fault+0x476/0xa00 mm/memory.c:5470
faultin_page mm/gup.c:958 [inline]
__get_user_pages+0x4b5/0x1490 mm/gup.c:1241
populate_vma_page_range+0x2d4/0x420 mm/gup.c:1679
__mm_populate+0x1d6/0x380 mm/gup.c:1788
mm_populate include/linux/mm.h:3391 [inline]
__do_sys_mlockall+0x490/0x5e0 mm/mlock.c:778
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:0x7f5286a7de69
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:00007f528786d0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000097
RAX: ffffffffffffffda RBX: 00007f5286babf80 RCX: 00007f5286a7de69
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: 00007f5286aca47a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f5286babf80 R15: 00007fffc0b0c248