INFO: task syz.1.1761:15014 blocked for more than 143 seconds. Not tainted 6.13.0-rc7-syzkaller-00039-gc3812b15000c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.1761 state:D stack:25720 pid:15014 tgid:15010 ppid:10727 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 super_lock+0x335/0x400 fs/super.c:114 super_lock_shared fs/super.c:139 [inline] iterate_supers+0x8c/0x190 fs/super.c:931 ksys_sync+0xbd/0x1c0 fs/sync.c:102 __do_sys_sync+0xe/0x20 fs/sync.c:113 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8824d85d29 RSP: 002b:00007f8822bd5038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007f8824f76080 RCX: 00007f8824d85d29 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f8824f76080 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f8824f76080 R15: 00007ffd38133628 Showing all locks held in the system: 1 lock held by rcu_tasks_trace/15: #0: ffffffff8e9380b0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{4:4}, at: rcu_tasks_one_gp+0xaed/0xe10 kernel/rcu/tasks.h:613 1 lock held by khungtaskd/30: #0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744 4 locks held by kworker/u8:5/1782: #0: ffff8880202a8148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff8880202a8148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc900056f7d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc900056f7d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 #2: ffff88814e8fa0e0 (&type->s_umount_key#32){++++}-{4:4}, at: super_trylock_shared+0x22/0xf0 fs/super.c:562 #3: ffff88814e8fcb98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_read fs/ext4/ext4.h:1776 [inline] #3: ffff88814e8fcb98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages+0x1bf/0x3c0 fs/ext4/inode.c:2823 1 lock held by udevd/5199: 2 locks held by getty/5580: #0: ffff88803115b0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000330b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 2 locks held by kworker/0:6/5905: #0: ffff88801ac78948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff88801ac78948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc900045efd00 (free_ipc_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc900045efd00 (free_ipc_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 2 locks held by kworker/u8:13/6661: 3 locks held by kworker/0:0/9439: #0: ffff88801ac78948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff88801ac78948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc900049dfd00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc900049dfd00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 #2: ffff888021783240 (&data->fib_lock){+.+.}-{4:4}, at: nsim_fib_event_work+0x2d1/0x4130 drivers/net/netdevsim/fib.c:1490 1 lock held by syz-executor/10645: #0: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #0: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 1 lock held by syz.7.1382/12889: #0: ffff8880344a20e0 (&type->s_umount_key#69/1){+.+.}-{4:4}, at: alloc_super+0x221/0x9d0 fs/super.c:344 4 locks held by kworker/u8:19/14233: #0: ffff8880b863e8d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:598 #1: ffff8880b8628948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x41d/0x7a0 kernel/sched/psi.c:987 #2: ffff888024d80768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: wiphy_lock include/net/cfg80211.h:6019 [inline] #2: ffff888024d80768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: cfg80211_wiphy_work+0xd9/0x480 net/wireless/core.c:426 #3: ffffffff9a6911f0 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_assert_init+0x17c/0x4b0 lib/debugobjects.c:1007 1 lock held by kworker/u8:20/14238: 1 lock held by syz-executor/14291: 2 locks held by syz-executor/14459: #0: ffff88807e6c0d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close net/bluetooth/hci_core.c:480 [inline] #0: ffff88807e6c0d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2697 #1: ffff88807e6c0078 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x5c8/0x11c0 net/bluetooth/hci_sync.c:5201 1 lock held by syz-executor/14549: #0: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #0: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 1 lock held by syz.4.2122/16720: 2 locks held by syz.3.2124/16737: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc7-syzkaller-00039-gc3812b15000c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 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:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:234 [inline] watchdog+0xff6/0x1040 kernel/hung_task.c:397 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 1782 Comm: kworker/u8:5 Not tainted 6.13.0-rc7-syzkaller-00039-gc3812b15000c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: writeback wb_workfn (flush-8:0) RIP: 0010:virtqueue_add+0xde/0x4770 drivers/virtio/virtio_ring.c:2280 Code: 19 19 f3 f3 48 89 8c 24 38 01 00 00 c6 44 19 1b f3 e8 86 67 66 fc 4c 89 74 24 08 4d 8d 7e 40 4c 89 f8 48 c1 e8 03 0f b6 04 18 <84> c0 0f 85 1f 3b 00 00 44 8b 75 20 41 0f b6 1f 31 ff 89 de e8 59 RSP: 0018:ffffc900056f5840 EFLAGS: 00000012 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffff888029123c00 RDX: 0000000000000000 RSI: ffffc900056f5be0 RDI: ffff8880249aa800 RBP: ffffc900056f5ab8 R08: 0000000000000001 R09: ffff888028b66100 R10: dffffc0000000000 R11: fffffbfff2033077 R12: ffff888028b66100 R13: 0000000000000001 R14: ffff8880249aa800 R15: ffff8880249aa840 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f18acab6270 CR3: 000000000e736000 CR4: 0000000000350ef0 Call Trace: virtqueue_add_sgs+0xfe/0x120 drivers/virtio/virtio_ring.c:2316 __virtscsi_add_cmd drivers/scsi/virtio_scsi.c:471 [inline] virtscsi_add_cmd+0x58d/0x6e0 drivers/scsi/virtio_scsi.c:505 virtscsi_queuecommand+0x694/0xaf0 drivers/scsi/virtio_scsi.c:602 scsi_dispatch_cmd drivers/scsi/scsi_lib.c:1605 [inline] scsi_queue_rq+0x1d7e/0x2e70 drivers/scsi/scsi_lib.c:1847 blk_mq_dispatch_rq_list+0xad5/0x19d0 block/blk-mq.c:2118 __blk_mq_do_dispatch_sched block/blk-mq-sched.c:170 [inline] blk_mq_do_dispatch_sched block/blk-mq-sched.c:184 [inline] __blk_mq_sched_dispatch_requests+0xb8a/0x1840 block/blk-mq-sched.c:309 blk_mq_sched_dispatch_requests+0xd6/0x190 block/blk-mq-sched.c:331 blk_mq_run_hw_queue+0x414/0x500 block/blk-mq.c:2352 blk_mq_flush_plug_list+0x118e/0x1870 block/blk-mq.c:2913 blk_add_rq_to_plug+0x1ad/0x4b0 block/blk-mq.c:1382 blk_mq_submit_bio+0xf74/0x2390 block/blk-mq.c:3146 __submit_bio+0x2c6/0x560 block/blk-core.c:629 __submit_bio_noacct_mq block/blk-core.c:710 [inline] submit_bio_noacct_nocheck+0x4d3/0xe30 block/blk-core.c:739 ext4_io_submit fs/ext4/page-io.c:377 [inline] io_submit_add_bh fs/ext4/page-io.c:418 [inline] ext4_bio_write_folio+0x115f/0x1ae0 fs/ext4/page-io.c:562 mpage_submit_folio+0x27e/0x340 fs/ext4/inode.c:1932 mpage_process_page_bufs+0x6d1/0x9d0 fs/ext4/inode.c:2045 mpage_prepare_extent_to_map+0xecb/0x1860 fs/ext4/inode.c:2546 ext4_do_writepages+0xc2a/0x3df0 fs/ext4/inode.c:2688 ext4_writepages+0x213/0x3c0 fs/ext4/inode.c:2824 do_writepages+0x361/0x880 mm/page-writeback.c:2708 __writeback_single_inode+0x14f/0x10d0 fs/fs-writeback.c:1680 writeback_sb_inodes+0x820/0x1360 fs/fs-writeback.c:1976 __writeback_inodes_wb+0x11b/0x260 fs/fs-writeback.c:2047 wb_writeback+0x427/0xb80 fs/fs-writeback.c:2158 wb_check_old_data_flush fs/fs-writeback.c:2262 [inline] wb_do_writeback fs/fs-writeback.c:2315 [inline] wb_workfn+0xb94/0x1080 fs/fs-writeback.c:2343 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0xa68/0x1840 kernel/workqueue.c:3317 worker_thread+0x870/0xd30 kernel/workqueue.c:3398 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244