INFO: task syz-executor.0:9311 blocked for more than 143 seconds. Not tainted 6.1.63-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:23968 pid:9311 ppid:10629 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6693 rwsem_down_read_slowpath kernel/locking/rwsem.c:1094 [inline] __down_read_common kernel/locking/rwsem.c:1261 [inline] __down_read kernel/locking/rwsem.c:1274 [inline] down_read+0x6ff/0xa30 kernel/locking/rwsem.c:1522 iterate_supers+0xac/0x1e0 fs/super.c:744 drop_caches_sysctl_handler+0x83/0x160 fs/drop_caches.c:62 proc_sys_call_handler+0x541/0x8a0 fs/proc/proc_sysctl.c:604 do_iter_write+0x6e6/0xc50 fs/read_write.c:861 iter_file_splice_write+0x806/0xfa0 fs/splice.c:686 do_splice_from fs/splice.c:764 [inline] direct_splice_actor+0xe3/0x1c0 fs/splice.c:931 splice_direct_to_actor+0x4c0/0xbd0 fs/splice.c:886 do_splice_direct+0x27f/0x3c0 fs/splice.c:974 do_sendfile+0x61c/0xff0 fs/read_write.c:1255 __do_sys_sendfile64 fs/read_write.c:1317 [inline] __se_sys_sendfile64+0xfc/0x1e0 fs/read_write.c:1309 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fe051c7cae9 RSP: 002b:00007fe052a2a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fe051d9c120 RCX: 00007fe051c7cae9 RDX: 00000000200000c0 RSI: 0000000000000004 RDI: 0000000000000005 RBP: 00007fe051cc847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000007 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fe051d9c120 R15: 00007ffd03225698 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d12a2b0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d12aab0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516 1 lock held by khungtaskd/28: #0: ffffffff8d12a0e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:306 [inline] #0: ffffffff8d12a0e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8d12a0e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6493 2 locks held by getty/3300: #0: ffff888028957098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2188 6 locks held by kworker/1:7/26068: #0: ffff888148a71938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc90015b3fd20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffff888144345190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:836 [inline] #2: ffff888144345190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1fe/0x5730 drivers/usb/core/hub.c:5758 #3: ffff88807aba9190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:836 [inline] #3: ffff88807aba9190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x570 drivers/base/dd.c:990 #4: ffff8880271eb118 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:836 [inline] #4: ffff8880271eb118 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x570 drivers/base/dd.c:990 #5: ffffffff8e239e68 (register_mutex#6){+.+.}-{3:3}, at: usb_audio_probe+0x410/0x2090 sound/usb/card.c:800 3 locks held by syz-executor.2/3707: 6 locks held by kworker/0:9/8867: #0: ffff888148a71938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc9000b717d20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffff8880229c5190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:836 [inline] #2: ffff8880229c5190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1fe/0x5730 drivers/usb/core/hub.c:5758 #3: ffff8880b9839e18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xa8/0x140 kernel/sched/core.c:545 #4: ffff8880b9827788 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x43d/0x770 kernel/sched/psi.c:1000 #5: ffff8880b9839e18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xa8/0x140 kernel/sched/core.c:545 2 locks held by syz-executor.0/9311: #0: ffff88807da78460 (sb_writers#3){.+.+}-{0:0}, at: do_sendfile+0x5f7/0xff0 fs/read_write.c:1254 #1: ffff88807ba820e0 (&type->s_umount_key#49){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:744 3 locks held by syz-executor.0/9354: 2 locks held by kworker/u4:22/9726: 2 locks held by syz-executor.2/11436: 1 lock held by syz-executor.0/11472: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.63-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1b0/0x3f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xf88/0xfd0 kernel/hung_task.c:377 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 11436 Comm: syz-executor.2 Not tainted 6.1.63-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:ext4_fill_raw_inode+0x1571/0x2970 fs/ext4/inode.c:4429 Code: 85 03 0d 00 00 44 89 33 eb 1b e8 8a 1b 4f ff 4c 8b 74 24 18 eb 46 e8 7e 1b 4f ff 48 ba 00 00 00 00 00 fc ff df 4c 8b 74 24 18 <41> 0f b6 04 16 84 c0 0f 85 94 09 00 00 48 8b 44 24 08 0f b7 28 49 RSP: 0018:ffffc9000320e968 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff88809291b198 RCX: ffff888022d2bb80 RDX: dffffc0000000000 RSI: 0000000000000020 RDI: 000000000000001b RBP: 0000005000080000 R08: ffffffff823b7429 R09: ffffed10126441d7 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff88809291b100 R14: 1ffff1101264424f R15: ffff888093220ce0 FS: 00007fdb553966c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdb54775198 CR3: 00000000af096000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_do_update_inode fs/ext4/inode.c:5195 [inline] ext4_mark_iloc_dirty+0x4e4/0x1d30 fs/ext4/inode.c:5827 __ext4_mark_inode_dirty+0x5c2/0x920 fs/ext4/inode.c:6031 ext4_dirty_inode+0xbf/0x100 fs/ext4/inode.c:6060 __mark_inode_dirty+0x331/0xf80 fs/fs-writeback.c:2433 mark_inode_dirty include/linux/fs.h:2481 [inline] generic_write_end+0x180/0x1d0 fs/buffer.c:2184 ext4_da_write_end+0x749/0xa70 fs/ext4/inode.c:3096 generic_perform_write+0x3e9/0x5e0 mm/filemap.c:3819 ext4_buffered_write_iter+0x122/0x3a0 fs/ext4/file.c:285 ext4_file_write_iter+0x1d2/0x18f0 __kernel_write_iter+0x2ff/0x710 fs/read_write.c:517 dump_emit_page fs/coredump.c:881 [inline] dump_user_range+0x43d/0x8e0 fs/coredump.c:908 elf_core_dump+0x3d2b/0x4590 fs/binfmt_elf.c:2312 do_coredump+0x18b7/0x2700 fs/coredump.c:755 get_signal+0x1454/0x17d0 kernel/signal.c:2848 arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:168 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 irqentry_exit_to_user_mode+0x5/0x40 kernel/entry/common.c:310 exc_page_fault+0x1c0/0x660 arch/x86/mm/fault.c:1530 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0xf714 Code: Unable to access opcode bytes at 0xf6ea. RSP: 002b:0000000020000058 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007fdb5479bf80 RCX: 00007fdb5467cae9 RDX: 0000000020000080 RSI: 0000000020000050 RDI: 0000000040000000 RBP: 00007fdb546c847a R08: 0000000020000140 R09: 0000000020000140 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 000000000000000b R14: 00007fdb5479bf80 R15: 00007ffeb920ab68