INFO: task syz.1.1086:9719 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.1.1086 state:D stack:25072 pid:9719 tgid:9718 ppid:5739 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:2668 compact_node+0x17f/0x2c0 mm/compaction.c:2937 compact_nodes mm/compaction.c:2959 [inline] sysctl_compaction_handler mm/compaction.c:3010 [inline] sysctl_compaction_handler+0x141/0x210 mm/compaction.c:2997 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:0x7f381c99de99 RSP: 002b:00007f381d84b028 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f381cc25fa0 RCX: 00007f381c99de99 RDX: 00002000000000c0 RSI: 0000000000000003 RDI: 000000000000000a RBP: 00007f381ca33eaf R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f381cc26038 R14: 00007f381cc25fa0 R15: 00007ffccbee45b8 Showing all locks held in the system: 1 lock held by khungtaskd/43: #0: ffffffff8ebe8180 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:300 [inline] #0: ffffffff8ebe8180 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:840 [inline] #0: ffffffff8ebe8180 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x3d/0x184 kernel/locking/lockdep.c:6775 2 locks held by getty/5537: #0: ffff88802b1d80a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc9000337b2e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x419/0x14e0 drivers/tty/n_tty.c:2211 1 lock held by udevd/5744: #0: ffff888029379350 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0x41a/0xe40 block/bdev.c:948 3 locks held by kworker/2:4/5822: #0: ffff88801bcaa940 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x12b1/0x1940 kernel/workqueue.c:3297 #1: ffffc900047b7d08 (free_ipc_work){+.+.}-{0:0}, at: process_one_work+0x988/0x1940 kernel/workqueue.c:3298 #2: ffffffff8ebf3c28 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock+0x27f/0x3c0 kernel/rcu/tree_exp.h:311 1 lock held by syz.1.1086/9719: #0: ffff88805a122450 (sb_writers#3){.+.+}-{0:0}, at: splice_direct_to_actor+0x345/0xa30 fs/splice.c:1103 1 lock held by syz.7.1747/12246: 3 locks held by kworker/2:6/12581: 2 locks held by syz-executor/9352: 2 locks held by syz-executor/9483: #0: ffff888057830ea0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close+0x26/0xb0 net/bluetooth/hci_core.c:497 #1: ffffffff8ebf3c28 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock+0x19e/0x3c0 kernel/rcu/tree_exp.h:343 1 lock held by syz.0.2559/20734: #0: ffffffff8ebf3af8 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x48/0x6d0 kernel/rcu/tree.c:3857 ============================================= NMI backtrace for cpu 0 CPU: 0 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 0 to CPUs 2: NMI backtrace for cpu 2 CPU: 2 UID: 0 PID: 20734 Comm: syz.0.2559 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:mark_lock+0x23/0xa20 kernel/locking/lockdep.c:4714 Code: 90 90 90 90 90 90 90 55 48 89 e5 41 57 41 56 41 55 49 89 fd 41 54 49 89 f4 53 48 83 e4 f0 48 83 ec 70 65 48 8b 1d a5 54 7e 12 <48> 89 5c 24 68 89 d3 83 fa 08 74 6d 41 be 01 00 00 00 89 d9 41 d3 RSP: 0018:ffffc900034772e0 EFLAGS: 00000082 RAX: 0000000000000003 RBX: 790ec9b9c601af00 RCX: 0000000000000007 RDX: 0000000000000008 RSI: ffff88803cbf5698 RDI: ffff88803cbf4a80 RBP: ffffc90003477380 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000003 R12: ffff88803cbf5698 R13: ffff88803cbf4a80 R14: 0000000000000000 R15: 0000000000000003 FS: 0000000000000000(0000) GS:ffff8880d5fde000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000002e008000 CR4: 0000000000352ef0 Call Trace: mark_usage kernel/locking/lockdep.c:4674 [inline] __lock_acquire+0x49f/0x1a40 kernel/locking/lockdep.c:5191 lock_acquire kernel/locking/lockdep.c:5868 [inline] lock_acquire+0x1b9/0x370 kernel/locking/lockdep.c:5825 rcu_lock_acquire include/linux/rcupdate.h:300 [inline] rcu_read_lock include/linux/rcupdate.h:840 [inline] lruvec_stat_mod_folio+0x8a/0x2e0 mm/memcontrol.c:983 __folio_mod_stat mm/rmap.c:1336 [inline] __folio_remove_rmap mm/rmap.c:1873 [inline] folio_remove_rmap_ptes+0x79a/0xdd0 mm/rmap.c:1900 zap_present_folio_ptes mm/memory.c:1672 [inline] zap_present_ptes mm/memory.c:1730 [inline] do_zap_pte_range mm/memory.c:1832 [inline] zap_pte_range mm/memory.c:1934 [inline] zap_pmd_range mm/memory.c:2020 [inline] zap_pud_range mm/memory.c:2048 [inline] zap_p4d_range mm/memory.c:2069 [inline] __zap_vma_range+0x1e9f/0x4a30 mm/memory.c:2109 unmap_vmas+0x299/0x5f0 mm/memory.c:2178 exit_mmap+0x1ef/0xa00 mm/mmap.c:1300 __mmput+0x12a/0x410 kernel/fork.c:1187 mmput+0x67/0x80 kernel/fork.c:1210 exit_mm kernel/exit.c:615 [inline] do_exit+0x8b1/0x2ae0 kernel/exit.c:997 do_group_exit+0xd5/0x2a0 kernel/exit.c:1152 get_signal+0x1ec7/0x21e0 kernel/signal.c:3046 arch_do_signal_or_restart+0x91/0x7e0 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:66 [inline] exit_to_user_mode_loop+0x139/0x6f0 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:318 [inline] do_syscall_64+0x666/0x870 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f73d339de99 Code: Unable to access opcode bytes at 0x7f73d339de6f. RSP: 002b:00007f73d42d3028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: fffffffffffffffc RBX: 00007f73d3625fa0 RCX: 00007f73d339de99 RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000005 RBP: 00007f73d3433eaf R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f73d3626038 R14: 00007f73d3625fa0 R15: 00007ffd390396b8