INFO: task syz.7.5208:25336 blocked in I/O wait for more than 143 seconds. Tainted: G L syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.7.5208 state:D stack:25024 pid:25336 tgid:25335 ppid:22437 task_flags:0x400140 flags:0x00080002 Call Trace: context_switch kernel/sched/core.c:5510 [inline] __schedule+0x125c/0x6730 kernel/sched/core.c:7234 __schedule_loop kernel/sched/core.c:7311 [inline] schedule+0xdd/0x2c0 kernel/sched/core.c:7326 io_schedule+0x8a/0xf0 kernel/sched/core.c:8154 folio_wait_bit_common+0x414/0xa70 mm/filemap.c:1323 folio_lock include/linux/pagemap.h:1157 [inline] migrate_folio_unmap mm/migrate.c:1250 [inline] migrate_pages_batch+0x7a1/0x45c0 mm/migrate.c:1907 migrate_pages_sync+0x4db/0x880 mm/migrate.c:2051 migrate_pages+0x1a83/0x2850 mm/migrate.c:2133 compact_zone+0x243c/0x4420 mm/compaction.c:2669 compact_node+0x17f/0x2c0 mm/compaction.c:2938 compact_nodes mm/compaction.c:2960 [inline] sysctl_compaction_handler mm/compaction.c:3011 [inline] sysctl_compaction_handler+0x141/0x210 mm/compaction.c:2998 proc_sys_call_handler+0x47f/0x5a0 fs/proc/proc_sysctl.c:600 iter_file_splice_write+0x830/0x10b0 fs/splice.c:736 do_splice_from fs/splice.c:936 [inline] direct_splice_actor+0x192/0x690 fs/splice.c:1159 splice_direct_to_actor+0x345/0xa30 fs/splice.c:1103 do_splice_direct_actor fs/splice.c:1202 [inline] do_splice_direct+0x174/0x240 fs/splice.c:1228 do_sendfile+0xadc/0xe20 fs/read_write.c:1371 __do_sys_sendfile64 fs/read_write.c:1426 [inline] __se_sys_sendfile64 fs/read_write.c:1418 [inline] __x64_sys_sendfile64+0x154/0x220 fs/read_write.c:1418 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f185a19de59 RSP: 002b:00007f185b0f7028 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f185a425fa0 RCX: 00007f185a19de59 RDX: 00002000000000c0 RSI: 0000000000000005 RDI: 0000000000000006 RBP: 00007f185a233e6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f185a426038 R14: 00007f185a425fa0 R15: 00007fff612eab18 Showing all locks held in the system: 1 lock held by khungtaskd/43: #0: ffffffff8ebe6100 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:300 [inline] #0: ffffffff8ebe6100 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:840 [inline] #0: ffffffff8ebe6100 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x3d/0x184 kernel/locking/lockdep.c:6775 2 locks held by kworker/u35:0/65: #0: ffff888029cbd940 ((wq_completion)nbd2-recv){+.+.}-{0:0}, at: process_one_work+0x12b1/0x1940 kernel/workqueue.c:3297 #1: ffffc90000d37d08 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x988/0x1940 kernel/workqueue.c:3298 4 locks held by kworker/2:3/5909: #0: ffff88801bcaa940 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x12b1/0x1940 kernel/workqueue.c:3297 #1: ffffc9000497fd08 (key_gc_work){+.+.}-{0:0}, at: process_one_work+0x988/0x1940 kernel/workqueue.c:3298 #2: ffff88806a63b520 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2c/0x140 kernel/sched/core.c:667 #3: ffff88806a624568 (psi_seq){-.-.}-{0:0}, at: psi_sched_switch kernel/sched/stats.h:218 [inline] #3: ffff88806a624568 (psi_seq){-.-.}-{0:0}, at: __schedule+0x2e8e/0x6730 kernel/sched/core.c:7228 2 locks held by kworker/u35:1/16068: #0: ffff888029cbd940 ((wq_completion)nbd2-recv){+.+.}-{0:0}, at: process_one_work+0x12b1/0x1940 kernel/workqueue.c:3297 #1: ffffc9000461fd08 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x988/0x1940 kernel/workqueue.c:3298 2 locks held by kworker/u35:2/22114: #0: ffff888029e23140 ((wq_completion)nbd5-recv){+.+.}-{0:0}, at: process_one_work+0x12b1/0x1940 kernel/workqueue.c:3297 #1: ffffc900048afd08 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x988/0x1940 kernel/workqueue.c:3298 2 locks held by kworker/u35:3/22115: #0: ffff888029cbd940 ((wq_completion)nbd2-recv){+.+.}-{0:0}, at: process_one_work+0x12b1/0x1940 kernel/workqueue.c:3297 #1: ffffc900040bfd08 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x988/0x1940 kernel/workqueue.c:3298 2 locks held by kworker/u35:4/22116: #0: ffff888029cbd940 ((wq_completion)nbd2-recv){+.+.}-{0:0}, at: process_one_work+0x12b1/0x1940 kernel/workqueue.c:3297 #1: ffffc900044f7d08 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x988/0x1940 kernel/workqueue.c:3298 2 locks held by kworker/u35:5/22117: #0: ffff888029e23140 ((wq_completion)nbd5-recv){+.+.}-{0:0}, at: process_one_work+0x12b1/0x1940 kernel/workqueue.c:3297 #1: ffffc90004c27d08 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x988/0x1940 kernel/workqueue.c:3298 1 lock held by syz-executor/23572: #0: ffffffff8ebf1ba8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock+0x19e/0x3c0 kernel/rcu/tree_exp.h:343 1 lock held by udevd/24345: #0: ffff888029c0d350 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0x41a/0xe40 block/bdev.c:948 1 lock held by syz.7.5208/25336: #0: ffff88802e764450 (sb_writers#3){.+.+}-{0:0}, at: splice_direct_to_actor+0x345/0xa30 fs/splice.c:1103 2 locks held by kworker/u35:7/25852: #0: ffff888029e23140 ((wq_completion)nbd5-recv){+.+.}-{0:0}, at: process_one_work+0x12b1/0x1940 kernel/workqueue.c:3297 #1: ffffc900059c7d08 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x988/0x1940 kernel/workqueue.c:3298 2 locks held by kworker/u35:8/25853: #0: ffff888029e23140 ((wq_completion)nbd5-recv){+.+.}-{0:0}, at: process_one_work+0x12b1/0x1940 kernel/workqueue.c:3297 #1: ffffc900059d7d08 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x988/0x1940 kernel/workqueue.c:3298 2 locks held by getty/28405: #0: ffff88802ce0e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90006b542e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x419/0x14e0 drivers/tty/n_tty.c:2211 1 lock held by syz.4.6507/30160: #0: ffff888029c0d350 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0x41a/0xe40 block/bdev.c:948 1 lock held by syz.9.6529/30253: #0: ffff888029c0d350 (&disk->open_mutex){+.+.}-{4:4}, at: sync_bdevs+0x153/0x480 block/bdev.c:1297 1 lock held by syz.9.6529/30256: #0: ffff888029c0d350 (&disk->open_mutex){+.+.}-{4:4}, at: sync_bdevs+0x153/0x480 block/bdev.c:1297 1 lock held by syz.9.6529/30259: #0: ffff888029c0d350 (&disk->open_mutex){+.+.}-{4:4}, at: sync_bdevs+0x153/0x480 block/bdev.c:1297 1 lock held by syz.2.6598/30576: #0: ffffffff90a9b400 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:641 [inline] #0: ffffffff90a9b400 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x38/0x220 drivers/net/tun.c:3506 ============================================= NMI backtrace for cpu 3 CPU: 3 UID: 0 PID: 43 Comm: khungtaskd Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 nmi_cpu_backtrace.cold+0x12d/0x151 lib/nmi_backtrace.c:122 nmi_trigger_cpumask_backtrace+0x21c/0x2a0 lib/nmi_backtrace.c:65 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] __sys_info lib/sys_info.c:157 [inline] sys_info+0x141/0x190 lib/sys_info.c:165 check_hung_uninterruptible_tasks kernel/hung_task.c:353 [inline] watchdog+0xcb1/0x1030 kernel/hung_task.c:561 kthread+0x370/0x450 kernel/kthread.c:436 ret_from_fork+0x72b/0xd50 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 3 to CPUs 0-2: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:pv_native_safe_halt+0xf/0x20 arch/x86/kernel/paravirt.c:64 Code: 06 8e 02 c3 cc cc cc cc 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa eb 07 0f 00 2d c3 d9 12 00 fb f4 bc 48 03 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 RSP: 0018:ffffc90000177e00 EFLAGS: 00000206 RAX: 00000000005cab2d RBX: ffff88801eae2540 RCX: ffffffff8bb8c2d5 RDX: 0000000000000000 RSI: ffffffff8e1a29fc RDI: ffffffff8c400c80 RBP: ffffed1003d5c4a8 R08: 0000000000000001 R09: ffffed100d4a678d R10: ffff88806a533c6b R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 1ffff9200002efc4 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880d5eec000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffced98bff8 CR3: 000000003485c000 CR4: 0000000000352ef0 Call Trace: arch_safe_halt arch/x86/include/asm/paravirt.h:62 [inline] default_idle+0x9/0x10 arch/x86/kernel/process.c:768 default_idle_call+0x6c/0xb0 kernel/sched/idle.c:122 cpuidle_idle_call kernel/sched/idle.c:199 [inline] do_idle+0x3a7/0x5b0 kernel/sched/idle.c:355 cpu_startup_entry+0x4f/0x60 kernel/sched/idle.c:454 start_secondary+0x21d/0x2d0 arch/x86/kernel/smpboot.c:312 common_startup_64+0x13e/0x158 NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:pv_native_safe_halt+0xf/0x20 arch/x86/kernel/paravirt.c:64 Code: 06 8e 02 c3 cc cc cc cc 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa eb 07 0f 00 2d c3 d9 12 00 fb f4 bc 48 03 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 RSP: 0018:ffffffff8e807e10 EFLAGS: 00000206 RAX: 00000000005f76e7 RBX: ffffffff8e891480 RCX: ffffffff8bb8c2d5 RDX: 0000000000000000 RSI: ffffffff8e1a29fc RDI: ffffffff8c400c80 RBP: fffffbfff1d12290 R08: 0000000000000001 R09: ffffed100d48678d R10: ffff88806a433c6b R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 1ffffffff1d00fc6 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880d5dec000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f25ed7eb540 CR3: 000000003485c000 CR4: 0000000000352ef0 DR0: 0000000000000005 DR1: 0000000000000006 DR2: 0000000000040003 DR3: 000000000000000a DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: arch_safe_halt arch/x86/include/asm/paravirt.h:62 [inline] default_idle+0x9/0x10 arch/x86/kernel/process.c:768 default_idle_call+0x6c/0xb0 kernel/sched/idle.c:122 cpuidle_idle_call kernel/sched/idle.c:199 [inline] do_idle+0x3a7/0x5b0 kernel/sched/idle.c:355 cpu_startup_entry+0x4f/0x60 kernel/sched/idle.c:454 rest_init+0x251/0x260 init/main.c:717 start_kernel+0x48e/0x490 init/main.c:1175 x86_64_start_reservations+0x24/0x30 arch/x86/kernel/head64.c:310 x86_64_start_kernel+0x12b/0x130 arch/x86/kernel/head64.c:291 common_startup_64+0x13e/0x158 NMI backtrace for cpu 2 CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:pv_native_safe_halt+0xf/0x20 arch/x86/kernel/paravirt.c:64 Code: 06 8e 02 c3 cc cc cc cc 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa eb 07 0f 00 2d c3 d9 12 00 fb f4 bc 48 03 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 RSP: 0018:ffffc90000187e00 EFLAGS: 00000206 RAX: 0000000000543239 RBX: ffff88801eecca80 RCX: ffffffff8bb8c2d5 RDX: 0000000000000000 RSI: ffffffff8e1a29fc RDI: ffffffff8c400c80 RBP: ffffed1003dd9950 R08: 0000000000000001 R09: ffffed100d4c678d R10: ffff88806a633c6b R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 1ffff92000030fc4 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880d5fec000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7ab43ef4b8 CR3: 000000004de23000 CR4: 0000000000352ef0 Call Trace: arch_safe_halt arch/x86/include/asm/paravirt.h:62 [inline] default_idle+0x9/0x10 arch/x86/kernel/process.c:768 default_idle_call+0x6c/0xb0 kernel/sched/idle.c:122 cpuidle_idle_call kernel/sched/idle.c:199 [inline] do_idle+0x3a7/0x5b0 kernel/sched/idle.c:355 cpu_startup_entry+0x4f/0x60 kernel/sched/idle.c:454 start_secondary+0x21d/0x2d0 arch/x86/kernel/smpboot.c:312 common_startup_64+0x13e/0x158