INFO: task kworker/u8:1:12 blocked for more than 143 seconds. Not tainted 6.13.0-rc6-syzkaller-00036-gfbfd64d25c7a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u8:1 state:D stack:22040 pid:12 tgid:12 ppid:2 flags:0x00004000 Workqueue: loop6 loop_workfn Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 rwsem_down_read_slowpath kernel/locking/rwsem.c:1084 [inline] __down_read_common kernel/locking/rwsem.c:1248 [inline] __down_read kernel/locking/rwsem.c:1261 [inline] down_read+0x705/0xa40 kernel/locking/rwsem.c:1526 filemap_invalidate_lock_shared include/linux/fs.h:873 [inline] page_cache_ra_unbounded+0x142/0x720 mm/readahead.c:226 page_cache_sync_readahead include/linux/pagemap.h:1397 [inline] filemap_get_pages+0x605/0x2080 mm/filemap.c:2537 filemap_read+0x452/0xf50 mm/filemap.c:2637 blkdev_read_iter+0x2d8/0x430 block/fops.c:770 do_iter_readv_writev+0x600/0x880 vfs_iter_read+0x150/0x460 fs/read_write.c:909 lo_read_simple drivers/block/loop.c:283 [inline] do_req_filebacked drivers/block/loop.c:516 [inline] loop_handle_cmd drivers/block/loop.c:1909 [inline] loop_process_work+0xd72/0x21c0 drivers/block/loop.c:1944 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 INFO: task syz-executor:9667 blocked for more than 144 seconds. Not tainted 6.13.0-rc6-syzkaller-00036-gfbfd64d25c7a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:19504 pid:9667 tgid:9667 ppid:1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 __mutex_lock_common kernel/locking/mutex.c:665 [inline] __mutex_lock+0x7e7/0xee0 kernel/locking/mutex.c:735 bdev_open+0xf0/0xc50 block/bdev.c:903 blkdev_open+0x389/0x4f0 block/fops.c:627 do_dentry_open+0xbe1/0x1b70 fs/open.c:945 vfs_open+0x3e/0x330 fs/open.c:1075 do_open fs/namei.c:3828 [inline] path_openat+0x2c84/0x3590 fs/namei.c:3987 do_filp_open+0x27f/0x4e0 fs/namei.c:4014 do_sys_openat2+0x13e/0x1d0 fs/open.c:1402 do_sys_open fs/open.c:1417 [inline] __do_sys_openat fs/open.c:1433 [inline] __se_sys_openat fs/open.c:1428 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1428 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:0x7f5262b84690 RSP: 002b:00007ffcfe94fef0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f5262b84690 RDX: 0000000000000002 RSI: 00007ffcfe94fff0 RDI: 00000000ffffff9c RBP: 00007ffcfe94fff0 R08: 0000000000000000 R09: 00007ffcfe94fcb7 R10: 0000000000000000 R11: 0000000000000293 R12: 00007f5262d45f68 R13: 00007f5262d45260 R14: 00007ffcfe94fff0 R15: 0000000000000000 INFO: task kvm-nx-lpage-re:9802 blocked for more than 144 seconds. Not tainted 6.13.0-rc6-syzkaller-00036-gfbfd64d25c7a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kvm-nx-lpage-re state:D stack:26288 pid:9802 tgid:9800 ppid:8877 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 io_schedule+0x8d/0x110 kernel/sched/core.c:7681 folio_wait_bit_common+0x839/0xee0 mm/filemap.c:1299 __folio_lock mm/filemap.c:1637 [inline] folio_lock include/linux/pagemap.h:1151 [inline] __filemap_get_folio+0x14c/0x940 mm/filemap.c:1890 truncate_inode_pages_range+0x588/0x10e0 mm/truncate.c:335 kill_bdev block/bdev.c:91 [inline] blkdev_flush_mapping+0x108/0x270 block/bdev.c:670 blkdev_put_whole block/bdev.c:677 [inline] bdev_release+0x460/0x700 block/bdev.c:1102 blkdev_release+0x15/0x20 block/fops.c:635 __fput+0x23c/0xa50 fs/file_table.c:450 task_work_run+0x24f/0x310 kernel/task_work.c:239 exit_task_work include/linux/task_work.h:43 [inline] do_exit+0xa2a/0x28e0 kernel/exit.c:938 vhost_task_fn+0x3c8/0x3f0 kernel/vhost_task.c:67 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Showing all locks held in the system: 3 locks held by kworker/u8:1/12: #0: ffff88802a0f9948 ((wq_completion)loop6){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88802a0f9948 ((wq_completion)loop6){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc90000117d00 ((work_completion)(&worker->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90000117d00 ((work_completion)(&worker->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 #2: ffff888023648940 (mapping.invalidate_lock#2){++++}-{4:4}, at: filemap_invalidate_lock_shared include/linux/fs.h:873 [inline] #2: ffff888023648940 (mapping.invalidate_lock#2){++++}-{4:4}, at: page_cache_ra_unbounded+0x142/0x720 mm/readahead.c:226 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 3 locks held by kworker/u8:3/52: #0: ffff8880b863e758 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xb0/0x140 kernel/sched/core.c:606 #1: ffff8880b8628948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x41d/0x7a0 kernel/sched/psi.c:987 #2: ffff88807a0b0768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: wiphy_lock include/net/cfg80211.h:6019 [inline] #2: ffff88807a0b0768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: cfg80211_wiphy_work+0xd9/0x480 net/wireless/core.c:426 2 locks held by getty/5575: #0: ffff888030f610a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002ff62f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 3 locks held by kworker/0:6/5894: #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc90004257d00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90004257d00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 #2: ffff88802e73a240 (&data->fib_lock){+.+.}-{4:4}, at: nsim_fib_event_work+0x2d1/0x4130 drivers/net/netdevsim/fib.c:1490 1 lock held by syz.4.1021/9454: #0: ffff888023648940 (mapping.invalidate_lock#2){++++}-{4:4}, at: filemap_invalidate_lock include/linux/fs.h:863 [inline] #0: ffff888023648940 (mapping.invalidate_lock#2){++++}-{4:4}, at: blkdev_fallocate+0x20e/0x490 block/fops.c:813 1 lock held by syz-executor/9667: #0: ffff888024fad4c8 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xf0/0xc50 block/bdev.c:903 1 lock held by kvm-nx-lpage-re/9802: #0: ffff888024fad4c8 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_release+0x17e/0x700 block/bdev.c:1086 1 lock held by syz.7.1345/10693: #0: ffff888023648940 (mapping.invalidate_lock#2){++++}-{4:4}, at: filemap_invalidate_lock_shared include/linux/fs.h:873 [inline] #0: ffff888023648940 (mapping.invalidate_lock#2){++++}-{4:4}, at: page_cache_ra_unbounded+0x142/0x720 mm/readahead.c:226 1 lock held by syz.7.1345/10694: #0: ffff888023648940 (mapping.invalidate_lock#2){++++}-{4:4}, at: filemap_invalidate_lock_shared include/linux/fs.h:873 [inline] #0: ffff888023648940 (mapping.invalidate_lock#2){++++}-{4:4}, at: page_cache_ra_unbounded+0x142/0x720 mm/readahead.c:226 1 lock held by syz.7.1345/10698: #0: ffff888023648940 (mapping.invalidate_lock#2){++++}-{4:4}, at: filemap_invalidate_lock_shared include/linux/fs.h:873 [inline] #0: ffff888023648940 (mapping.invalidate_lock#2){++++}-{4:4}, at: page_cache_ra_unbounded+0x142/0x720 mm/readahead.c:226 1 lock held by syz.9.1454/11085: #0: ffff888024fad4c8 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xf0/0xc50 block/bdev.c:903 1 lock held by syz.5.1572/11527: #0: ffff888023648940 (mapping.invalidate_lock#2){++++}-{4:4}, at: filemap_invalidate_lock_shared include/linux/fs.h:873 [inline] #0: ffff888023648940 (mapping.invalidate_lock#2){++++}-{4:4}, at: page_cache_ra_unbounded+0x142/0x720 mm/readahead.c:226 2 locks held by syz-executor/11694: #0: ffffffff8fca0a08 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fca0a08 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:326 [inline] #0: ffffffff8fca0a08 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xce2/0x2210 net/core/rtnetlink.c:4011 #1: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #1: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:976 1 lock held by syz.3.1661/11833: #0: ffff888023648940 (mapping.invalidate_lock#2){++++}-{4:4}, at: filemap_invalidate_lock_shared include/linux/fs.h:873 [inline] #0: ffff888023648940 (mapping.invalidate_lock#2){++++}-{4:4}, at: page_cache_ra_unbounded+0x142/0x720 mm/readahead.c:226 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc6-syzkaller-00036-gfbfd64d25c7a #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+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/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: 3574 Comm: kworker/u8:7 Not tainted 6.13.0-rc6-syzkaller-00036-gfbfd64d25c7a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events_unbound nsim_dev_trap_report_work RIP: 0010:__bfs kernel/locking/lockdep.c:1811 [inline] RIP: 0010:__bfs_backwards kernel/locking/lockdep.c:1856 [inline] RIP: 0010:check_irq_usage kernel/locking/lockdep.c:2827 [inline] RIP: 0010:check_prev_add kernel/locking/lockdep.c:3165 [inline] RIP: 0010:check_prevs_add kernel/locking/lockdep.c:3280 [inline] RIP: 0010:validate_chain+0x1fc2/0x5920 kernel/locking/lockdep.c:3904 Code: 80 3c 20 00 74 08 4c 89 f7 e8 fa c5 87 00 48 09 9c 24 98 00 00 00 4d 8b 3e 4d 39 f7 0f 84 6e fc ff ff 41 b4 01 eb 0c 4d 8b 3f <4d> 39 f7 0f 84 5d fc ff ff 49 8d 5f 30 48 89 d8 48 c1 e8 03 48 b9 RSP: 0018:ffffc9000ce4f240 EFLAGS: 00000046 RAX: 1ffffffff2d860c1 RBX: ffffffff96c30638 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff93beca68 RBP: ffffc9000ce4f540 R08: ffffffff94271887 R09: 1ffffffff284e310 R10: dffffc0000000000 R11: fffffbfff284e311 R12: 0000000000000000 R13: ffffffff96b3ed28 R14: ffffffff93beca38 R15: ffffffff96c32c18 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f483c347ab8 CR3: 000000005e3ee000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_acquire+0x1397/0x2100 kernel/locking/lockdep.c:5226 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5849 local_lock_acquire include/linux/local_lock_internal.h:29 [inline] put_cpu_partial+0x91/0x250 mm/slub.c:3204 get_partial_node+0x13e/0x3f0 mm/slub.c:2864 get_partial mm/slub.c:2952 [inline] ___slab_alloc+0xb75/0x14a0 mm/slub.c:3810 __slab_alloc+0x58/0xa0 mm/slub.c:3920 __slab_alloc_node mm/slub.c:3995 [inline] slab_alloc_node mm/slub.c:4156 [inline] __do_kmalloc_node mm/slub.c:4297 [inline] __kmalloc_node_track_caller_noprof+0x2e9/0x4c0 mm/slub.c:4317 kmalloc_reserve+0x111/0x2a0 net/core/skbuff.c:609 __alloc_skb+0x1f3/0x440 net/core/skbuff.c:678 alloc_skb include/linux/skbuff.h:1323 [inline] nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:748 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:805 [inline] nsim_dev_trap_report_work+0x261/0xb50 drivers/net/netdevsim/dev.c:851 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244