INFO: task syz-executor.0:9228 blocked for more than 143 seconds. Not tainted 6.0.0-rc2-syzkaller-00283-g10d4879f9ef0 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:25528 pid: 9228 ppid: 3642 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5182 [inline] __schedule+0x957/0xe20 kernel/sched/core.c:6494 schedule+0xcb/0x190 kernel/sched/core.c:6570 io_schedule+0x83/0x100 kernel/sched/core.c:8714 folio_wait_bit_common+0x98a/0x14b0 mm/filemap.c:1298 __unmap_and_move+0x368/0x12b0 mm/migrate.c:1009 unmap_and_move+0x349/0xe10 mm/migrate.c:1162 migrate_pages+0x4c5/0xef0 mm/migrate.c:1441 compact_zone+0x28c9/0x37e0 mm/compaction.c:2416 compact_node+0x279/0x610 mm/compaction.c:2698 compact_nodes mm/compaction.c:2714 [inline] sysctl_compaction_handler+0xa8/0x140 mm/compaction.c:2756 proc_sys_call_handler+0x561/0x880 fs/proc/proc_sysctl.c:611 call_write_iter include/linux/fs.h:2187 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x7b5/0xbb0 fs/read_write.c:578 ksys_write+0x19b/0x2c0 fs/read_write.c:631 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f1c4ec89279 RSP: 002b:00007f1c4fe3b168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f1c4ed9bf80 RCX: 00007f1c4ec89279 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f1c4ece3189 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcf9eba87f R14: 00007f1c4fe3b300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8cd20970 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8cd21170 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 3 locks held by kworker/1:1/26: #0: ffff888012eaad38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262 #1: ffffc90000a1fd00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264 #2: ffff888147a5b190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline] #2: ffff888147a5b190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1bb/0xd80 drivers/usb/core/hub.c:5681 1 lock held by khungtaskd/28: #0: ffffffff8cd207a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 3 locks held by kworker/u4:5/1203: 2 locks held by getty/3286: #0: ffff8880276ca098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc90002d232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6e8/0x1e50 drivers/tty/n_tty.c:2177 1 lock held by syz-executor.5/3644: #0: ffff8880b9a39c18 (&rq->__lock){-.-.}-{2:2}, at: debug_object_free+0x6b/0x460 lib/debugobjects.c:834 1 lock held by syz-executor.1/8843: 1 lock held by syz-executor.3/8937: 2 locks held by syz-executor.0/9228: #0: ffff88806d57ed68 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x242/0x2e0 fs/file.c:1036 #1: ffff88807747a460 (sb_writers#3){.+.+}-{0:0}, at: vfs_write+0x275/0xbb0 fs/read_write.c:574 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.0.0-rc2-syzkaller-00283-g10d4879f9ef0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x47c/0x4b0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x169/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+0xcd5/0xd20 kernel/hung_task.c:369 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3645 Comm: syz-executor.2 Not tainted 6.0.0-rc2-syzkaller-00283-g10d4879f9ef0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 RIP: 0010:__lock_acquire+0x6f/0x1f60 kernel/locking/lockdep.c:4923 Code: 10 84 c0 0f 85 62 16 00 00 83 3d 3f 52 bc 0c 00 0f 84 13 15 00 00 83 3d fe 92 55 0b 00 74 2c 4c 89 e8 48 c1 e8 03 80 3c 10 00 <74> 12 4c 89 ef e8 27 f2 73 00 48 ba 00 00 00 00 00 fc ff df 48 c7 RSP: 0018:ffffc90003a7f868 EFLAGS: 00000046 RAX: 1ffff11017347383 RBX: 0000000000000000 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffff8880b9a39c18 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: fffffbfff1c4ae36 R11: 1ffffffff1c4ae35 R12: 0000000000000001 R13: ffff8880b9a39c18 R14: 0000000000000001 R15: 0000000000000000 FS: 00005555558f9400(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555572cc848 CR3: 00000000307a1000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5666 _raw_spin_lock_nested+0x2d/0x40 kernel/locking/spinlock.c:378 raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:544 raw_spin_rq_lock kernel/sched/sched.h:1355 [inline] rq_lock kernel/sched/sched.h:1653 [inline] __schedule+0x19f/0xe20 kernel/sched/core.c:6411 schedule+0xcb/0x190 kernel/sched/core.c:6570 freezable_schedule include/linux/freezer.h:172 [inline] do_nanosleep+0x1c0/0x7d0 kernel/time/hrtimer.c:2044 hrtimer_nanosleep+0x24d/0x490 kernel/time/hrtimer.c:2097 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1276 [inline] __se_sys_clock_nanosleep kernel/time/posix-timers.c:1254 [inline] __x64_sys_clock_nanosleep+0x360/0x3f0 kernel/time/posix-timers.c:1254 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f80424adfa1 Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 aa e7 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 8b 74 24 0c 8b 3c 24 b8 e6 00 00 00 0f 05 <44> 89 c7 48 89 04 24 e8 e3 e7 ff ff 48 8b 04 24 eb 97 66 2e 0f 1f RSP: 002b:00007ffd17360e00 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6 RAX: ffffffffffffffda RBX: 000000000000057c RCX: 00007f80424adfa1 RDX: 00007ffd17360e40 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007ffd17360ecc R08: 0000000000000000 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032 R13: 000000000009e797 R14: 0000000000000000 R15: 00007ffd17360f30