INFO: task syz-executor.3:8033 blocked for more than 143 seconds. Not tainted 6.8.0-rc6-syzkaller-00021-gcf1182944c7c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:21816 pid:8033 tgid:8032 ppid:20112 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x177f/0x49a0 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 request_wait_answer fs/fuse/dev.c:407 [inline] __fuse_request_send fs/fuse/dev.c:426 [inline] fuse_simple_request+0x1198/0x1b90 fs/fuse/dev.c:513 fuse_do_getattr+0x39a/0x840 fs/fuse/dir.c:1263 fuse_update_get_attr+0xa1a/0x1940 fs/fuse/dir.c:1319 vfs_statx+0x1a5/0x4e0 fs/stat.c:248 vfs_fstatat fs/stat.c:304 [inline] vfs_stat include/linux/fs.h:3190 [inline] __do_sys_newstat fs/stat.c:441 [inline] __se_sys_newstat fs/stat.c:437 [inline] __x64_sys_newstat+0xf8/0x180 fs/stat.c:437 do_syscall_64+0xf9/0x240 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f68a867dda9 RSP: 002b:00007f68a94640c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 00007f68a87abf80 RCX: 00007f68a867dda9 RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000020000200 RBP: 00007f68a86ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f68a87abf80 R15: 00007ffdcd0dca28 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8e130be0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8e130be0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8e130be0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by getty/4812: #0: ffff88802a6640a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 2 locks held by syz-executor.0/20110: 4 locks held by syz-executor.3/8237: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc6-syzkaller-00021-gcf1182944c7c #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+0x1e7/0x2e0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 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+0xfaf/0xff0 kernel/hung_task.c:379 kthread+0x2ef/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/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: 20110 Comm: syz-executor.0 Not tainted 6.8.0-rc6-syzkaller-00021-gcf1182944c7c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:lookup_chain_cache kernel/locking/lockdep.c:3762 [inline] RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:3782 [inline] RIP: 0010:validate_chain+0x1b6/0x58e0 kernel/locking/lockdep.c:3837 Code: b8 eb 83 b5 80 46 86 c8 61 49 0f af c6 48 c1 e8 2f 48 8d 1c c5 a0 63 b1 92 48 89 d8 48 c1 e8 03 48 89 44 24 60 42 80 3c 20 00 <74> 08 48 89 df e8 40 73 80 00 48 89 5c 24 40 48 8b 1b 48 85 db 74 RSP: 0018:ffffc900045d6ec0 EFLAGS: 00000046 RAX: 1ffffffff2570d43 RBX: ffffffff92b86a18 RCX: ffffffff8171c88b RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff92c56420 RBP: ffffc900045d71c0 R08: ffffffff92c56427 R09: 1ffffffff258ac84 R10: dffffc0000000000 R11: fffffbfff258ac85 R12: dffffc0000000000 R13: ffff88804b35a8a0 R14: 784bb2a7ec10647d R15: ffff88804b359dc0 FS: 0000555556f28480(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000560780a79008 CR3: 0000000046ac8000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_acquire+0x1345/0x1fd0 kernel/locking/lockdep.c:5137 lock_acquire+0x1e3/0x530 kernel/locking/lockdep.c:5754 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 __debug_check_no_obj_freed lib/debugobjects.c:978 [inline] debug_check_no_obj_freed+0x234/0x580 lib/debugobjects.c:1019 free_pages_prepare mm/page_alloc.c:1146 [inline] free_unref_page_prepare+0x319/0xa80 mm/page_alloc.c:2346 free_unref_page_list+0x5a3/0x850 mm/page_alloc.c:2532 release_pages+0x2117/0x2400 mm/swap.c:1042 __folio_batch_release+0x84/0x100 mm/swap.c:1062 folio_batch_release include/linux/pagevec.h:83 [inline] shmem_undo_range+0x6b5/0x1da0 mm/shmem.c:1005 shmem_truncate_range mm/shmem.c:1114 [inline] shmem_evict_inode+0x29b/0xa60 mm/shmem.c:1242 evict+0x2a8/0x630 fs/inode.c:665 __dentry_kill+0x20d/0x630 fs/dcache.c:603 dput+0x19f/0x2b0 fs/dcache.c:845 __fput+0x678/0x8a0 fs/file_table.c:384 task_work_run+0x24e/0x310 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+0x167/0x360 kernel/entry/common.c:212 do_syscall_64+0x108/0x240 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7fd1b387db0b 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:00007fffc5887d40 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00007fd1b387db0b RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000003 RBP: 00007fffc5887dfc R08: 0000000000000000 R09: 00007fffc5887ae7 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000032 R13: 000000000020ceae R14: 000000000020c3a8 R15: 0000000000000008