INFO: task syz-executor.0:11110 blocked for more than 143 seconds. Not tainted 6.8.0-rc7-syzkaller-g3aaa8ce7a335 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:25392 pid:11110 tgid:11108 ppid:5420 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 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6874 rwsem_down_write_slowpath+0xeea/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1ae/0x200 kernel/locking/rwsem.c:1306 inode_lock_nested include/linux/fs.h:839 [inline] filename_create+0x260/0x540 fs/namei.c:3895 do_mkdirat+0xbd/0x3a0 fs/namei.c:4141 __do_sys_mkdir fs/namei.c:4169 [inline] __se_sys_mkdir fs/namei.c:4167 [inline] __x64_sys_mkdir+0x6e/0x80 fs/namei.c:4167 do_syscall_64+0xf9/0x240 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f7c1667cda9 RSP: 002b:00007f7c173360c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007f7c167abf80 RCX: 00007f7c1667cda9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000 RBP: 00007f7c166c947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f7c167abf80 R15: 00007ffc42acefb8 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 1 lock held by udevd/4509: 2 locks held by getty/4807: #0: ffff88802a8810a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002efe2f0 (&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/11110: #0: ffff88802ae18420 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff888069de5e28 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:839 [inline] #1: ffff888069de5e28 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 fs/namei.c:3895 3 locks held by syz-executor.0/11118: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc7-syzkaller-g3aaa8ce7a335 #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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 11118 Comm: syz-executor.0 Not tainted 6.8.0-rc7-syzkaller-g3aaa8ce7a335 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:trace_lock_release include/trace/events/lock.h:69 [inline] RIP: 0010:lock_release+0xb8/0x9d0 kernel/locking/lockdep.c:5765 Code: 08 0f 83 cc 05 00 00 89 c3 48 89 d8 48 c1 e8 06 48 8d 3c c5 28 40 84 8f be 08 00 00 00 e8 a0 04 81 00 48 0f a3 1d 90 02 13 0e <73> 0d e8 31 95 09 00 84 c0 0f 84 d3 05 00 00 48 c7 c0 3c 73 84 8f RSP: 0018:ffffc9000bc873a0 EFLAGS: 00000257 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff81713d90 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8f844028 RBP: ffffc9000bc874e0 R08: ffffffff8f84402f R09: 1ffffffff1f08805 R10: dffffc0000000000 R11: fffffbfff1f08806 R12: 1ffff92001790e80 R13: ffffffff81e53d72 R14: 0000000000000200 R15: dffffc0000000000 FS: 00007f7c173156c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000000 CR3: 000000007c56c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: might_alloc include/linux/sched/mm.h:303 [inline] bdev_getblk+0x42/0x610 fs/buffer.c:1425 __bread_gfp+0xac/0x430 fs/buffer.c:1474 sb_bread include/linux/buffer_head.h:321 [inline] exfat_get_dentry+0x53b/0x730 fs/exfat/dir.c:770 exfat_readdir fs/exfat/dir.c:121 [inline] exfat_iterate+0xbd7/0x33e0 fs/exfat/dir.c:261 wrap_directory_iterator+0x94/0xe0 fs/readdir.c:67 iterate_dir+0x539/0x6f0 fs/readdir.c:110 __do_sys_getdents64 fs/readdir.c:409 [inline] __se_sys_getdents64+0x20d/0x4f0 fs/readdir.c:394 do_syscall_64+0xf9/0x240 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f7c1667cda9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7c173150c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 RAX: ffffffffffffffda RBX: 00007f7c167ac050 RCX: 00007f7c1667cda9 RDX: 0000000000000098 RSI: 0000000020000080 RDI: 0000000000000004 RBP: 00007f7c166c947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f7c167ac050 R15: 00007ffc42acefb8