INFO: task syz-executor.2:21900 blocked for more than 143 seconds. Not tainted 6.8.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28736 pid:21900 tgid:21898 ppid:5115 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0xf12/0x5c60 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0xe9/0x280 kernel/sched/core.c:6817 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6874 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5bd/0x9d0 kernel/locking/mutex.c:752 blk_trace_ioctl+0xc9/0x290 kernel/trace/blktrace.c:736 blkdev_ioctl+0x111/0x770 block/ioctl.c:623 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl fs/ioctl.c:857 [inline] __x64_sys_ioctl+0x193/0x220 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd5/0x270 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f3a9f87dda9 RSP: 002b:00007f3aa05610c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f3a9f9abf80 RCX: 00007f3a9f87dda9 RDX: 0000000020000480 RSI: 00000000c0481273 RDI: 0000000000000003 RBP: 00007f3a9f8ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f3a9f9abf80 R15: 00007ffc885ab638 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d7ad220 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8d7ad220 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8d7ad220 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 2 locks held by kswapd0/86: 2 locks held by getty/4810: #0: ffff88802958e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015d02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfca/0x1490 drivers/tty/n_tty.c:2201 1 lock held by syz-executor.3/5096: 1 lock held by syz-executor.4/5107: 2 locks held by kworker/1:12/23381: #0: ffff888014c7a538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x789/0x15e0 kernel/workqueue.c:2608 #1: ffffc90003dbfd80 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15e0 kernel/workqueue.c:2609 2 locks held by kworker/u4:11/21184: 2 locks held by syz-executor.0/21876: 1 lock held by syz-executor.2/21900: #0: ffff8880218f2190 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_ioctl+0xc9/0x290 kernel/trace/blktrace.c:736 1 lock held by syz-executor.0/22215: 1 lock held by syz-executor.2/22236: #0: ffff88802945e308 (&xt[i].mutex){+.+.}-{3:3}, at: xt_find_table_lock+0x58/0x4f0 net/netfilter/x_tables.c:1242 2 locks held by syz-executor.1/23628: 2 locks held by syz-executor.3/23631: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 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+0xf87/0x1210 kernel/hung_task.c:379 kthread+0x2c6/0x3b0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:243 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5107 Comm: syz-executor.4 Not tainted 6.8.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:lru_gen_is_active include/linux/mm_inline.h:172 [inline] RIP: 0010:lru_gen_update_size include/linux/mm_inline.h:205 [inline] RIP: 0010:lru_gen_del_folio.constprop.0+0x50a/0xab0 include/linux/mm_inline.h:288 Code: 41 83 fd 03 0f 87 b6 03 00 00 e8 81 43 cc ff 41 89 ee 44 89 ef 41 83 e6 03 44 89 f6 e8 8f 3d cc ff 45 39 f5 0f 84 15 02 00 00 61 43 cc ff 48 83 ed 01 44 89 ef 83 e5 03 89 ee e8 70 3d cc ff RSP: 0018:ffffc9000379f6f0 EFLAGS: 00000097 RAX: 0000000000000000 RBX: ffffea00082c38c0 RCX: ffffffff81bf0b01 RDX: ffff888028695940 RSI: 0000000000000002 RDI: 0000000000000004 RBP: 0000000000000003 R08: 0000000000000004 R09: 0000000000000002 R10: 0000000000000003 R11: 0000000000000000 R12: ffff888149738000 R13: 0000000000000002 R14: 0000000000000003 R15: 057ff00000080301 FS: 0000555555651480(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555568928f8 CR3: 0000000026272000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lruvec_del_folio include/linux/mm_inline.h:351 [inline] release_pages+0x879/0x14f0 mm/swap.c:1020 __folio_batch_release+0x77/0xe0 mm/swap.c:1062 folio_batch_release include/linux/pagevec.h:83 [inline] shmem_undo_range+0x57e/0x1140 mm/shmem.c:1005 shmem_truncate_range mm/shmem.c:1114 [inline] shmem_evict_inode+0x3a3/0xbb0 mm/shmem.c:1242 evict+0x2ed/0x6c0 fs/inode.c:665 iput_final fs/inode.c:1739 [inline] iput.part.0+0x563/0x7b0 fs/inode.c:1765 iput+0x5c/0x80 fs/inode.c:1755 dentry_unlink_inode+0x295/0x440 fs/dcache.c:400 __dentry_kill+0x1d0/0x600 fs/dcache.c:603 dput.part.0+0x4b1/0x9b0 fs/dcache.c:845 dput+0x1f/0x30 fs/dcache.c:835 __fput+0x3bc/0xb80 fs/file_table.c:384 task_work_run+0x14f/0x250 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:108 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:201 [inline] syscall_exit_to_user_mode+0x278/0x2a0 kernel/entry/common.c:212 do_syscall_64+0xe5/0x270 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7fb65787db0b Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00 RSP: 002b:00007ffcc9d4a210 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00007fb65787db0b RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000003 RBP: 00007ffcc9d4a2cc R08: 0000000000000000 R09: 00007ffcc9d49fb7 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000032 R13: 00000000002dc3b9 R14: 00000000002db835 R15: 0000000000000005