INFO: task syz.2.588:7433 blocked for more than 145 seconds. Not tainted 6.11.0-rc3-syzkaller-00036-g9d5906799f7d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.588 state:D stack:29040 pid:7433 tgid:7430 ppid:5247 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xe37/0x5490 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6621 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __ww_mutex_lock.constprop.0+0xf55/0x2650 kernel/locking/mutex.c:759 ww_mutex_lock+0x37/0x140 kernel/locking/mutex.c:876 drm_modeset_lock+0x7a/0x90 drivers/gpu/drm/drm_modeset_lock.c:398 drm_mode_getplane+0x14a/0x8b0 drivers/gpu/drm/drm_plane.c:840 drm_ioctl_kernel+0x1ec/0x3e0 drivers/gpu/drm/drm_ioctl.c:745 drm_ioctl+0x5dc/0xc00 drivers/gpu/drm/drm_ioctl.c:842 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __x64_sys_ioctl+0x193/0x220 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa2377799b9 RSP: 002b:00007fa2385ed038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fa237915f80 RCX: 00007fa2377799b9 RDX: 00000000200001c0 RSI: 00000000c02064b6 RDI: 0000000000000004 RBP: 00007fa2377e78d8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fa237915f80 R15: 00007fff2ae1f218 INFO: task syz.2.588:7434 blocked for more than 146 seconds. Not tainted 6.11.0-rc3-syzkaller-00036-g9d5906799f7d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.588 state:D stack:29440 pid:7434 tgid:7430 ppid:5247 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xe37/0x5490 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6621 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __ww_mutex_lock.constprop.0+0xf55/0x2650 kernel/locking/mutex.c:759 ww_mutex_lock+0x37/0x140 kernel/locking/mutex.c:876 drm_modeset_lock+0x7a/0x90 drivers/gpu/drm/drm_modeset_lock.c:398 drm_mode_getplane+0x14a/0x8b0 drivers/gpu/drm/drm_plane.c:840 drm_ioctl_kernel+0x1ec/0x3e0 drivers/gpu/drm/drm_ioctl.c:745 drm_ioctl+0x5dc/0xc00 drivers/gpu/drm/drm_ioctl.c:842 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __x64_sys_ioctl+0x193/0x220 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa2377799b9 RSP: 002b:00007fa2385cc038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fa237916058 RCX: 00007fa2377799b9 RDX: 0000000020000200 RSI: 00000000c02064b6 RDI: 0000000000000003 RBP: 00007fa2377e78d8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fa237916058 R15: 00007fff2ae1f218 INFO: task syz.1.633:7600 blocked for more than 147 seconds. Not tainted 6.11.0-rc3-syzkaller-00036-g9d5906799f7d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.633 state:D stack:29088 pid:7600 tgid:7599 ppid:5254 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0xe37/0x5490 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6621 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __ww_mutex_lock.constprop.0+0xf55/0x2650 kernel/locking/mutex.c:759 ww_mutex_lock+0x37/0x140 kernel/locking/mutex.c:876 drm_modeset_lock+0x7a/0x90 drivers/gpu/drm/drm_modeset_lock.c:398 drm_mode_getplane+0x14a/0x8b0 drivers/gpu/drm/drm_plane.c:840 drm_ioctl_kernel+0x1ec/0x3e0 drivers/gpu/drm/drm_ioctl.c:745 drm_ioctl+0x5dc/0xc00 drivers/gpu/drm/drm_ioctl.c:842 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __x64_sys_ioctl+0x193/0x220 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f28da5799b9 RSP: 002b:00007f28db27c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f28da715f80 RCX: 00007f28da5799b9 RDX: 00000000200001c0 RSI: 00000000c02064b6 RDI: 0000000000000004 RBP: 00007f28da5e78d8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f28da715f80 R15: 00007ffd866e0e18 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8ddb5ba0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline] #0: ffffffff8ddb5ba0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #0: ffffffff8ddb5ba0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6626 1 lock held by kcompactd0/33: 2 locks held by kworker/u8:9/2900: #0: ffff8880b923edd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:568 [inline] #0: ffff8880b923edd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:553 #1: ffff8880b9328a48 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:989 2 locks held by getty/4973: #0: ffff88802b4c60a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900031232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2211 3 locks held by kworker/1:3/5308: 3 locks held by kworker/u8:15/6168: 3 locks held by syz.3.565/7356: 1 lock held by syz.2.588/7433: #0: ffff8880204780b0 (crtc_ww_class_mutex){+.+.}-{3:3}, at: drm_modeset_lock+0x7a/0x90 drivers/gpu/drm/drm_modeset_lock.c:398 1 lock held by syz.2.588/7434: #0: ffff8880204780b0 (crtc_ww_class_mutex){+.+.}-{3:3}, at: drm_modeset_lock+0x7a/0x90 drivers/gpu/drm/drm_modeset_lock.c:398 1 lock held by syz.1.633/7600: #0: ffff8880204780b0 (crtc_ww_class_mutex){+.+.}-{3:3}, at: drm_modeset_lock+0x7a/0x90 drivers/gpu/drm/drm_modeset_lock.c:398 4 locks held by syz-executor/7700: #0: ffff88802e19cd80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x26/0x90 net/bluetooth/hci_core.c:481 #1: ffff88802e19c078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x346/0x1110 net/bluetooth/hci_sync.c:5145 #2: ffffffff8fc86a68 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1977 [inline] #2: ffffffff8fc86a68 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xc4/0x260 net/bluetooth/hci_conn.c:2592 #3: ffffffff8ddc1338 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:328 1 lock held by syz.0.686/7825: #0: ffff8880204780b0 (crtc_ww_class_mutex){+.+.}-{3:3}, at: drm_modeset_lock+0x7a/0x90 drivers/gpu/drm/drm_modeset_lock.c:398 2 locks held by syz.0.686/7829: #0: ffffc90003fe7bb0 (crtc_ww_class_acquire){+.+.}-{0:0}, at: drm_mode_obj_get_properties_ioctl+0x229/0x660 drivers/gpu/drm/drm_mode_object.c:446 #1: ffff888020390518 (crtc_ww_class_mutex){+.+.}-{3:3}, at: modeset_lock+0x488/0x6c0 drivers/gpu/drm/drm_modeset_lock.c:314 3 locks held by syz.2.994/8969: #0: ffff88802c83cd80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x26/0x90 net/bluetooth/hci_core.c:481 #1: ffff88802c83c078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x346/0x1110 net/bluetooth/hci_sync.c:5145 #2: ffffffff8fc86a68 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1977 [inline] #2: ffffffff8fc86a68 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xc4/0x260 net/bluetooth/hci_conn.c:2592 1 lock held by syz.0.995/8970: #0: ffff8880204780b0 (crtc_ww_class_mutex){+.+.}-{3:3}, at: drm_modeset_lock+0x7a/0x90 drivers/gpu/drm/drm_modeset_lock.c:398 1 lock held by syz.4.1000/8988: 2 locks held by syz.1.1002/8993: #0: ffffffff8fa222e8 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8fa222e8 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3e/0x250 drivers/net/tun.c:3510 #1: ffffffff8ddc1338 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x1a4/0x3b0 kernel/rcu/tree_exp.h:328 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-rc3-syzkaller-00036-g9d5906799f7d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Call Trace: __dump_stack lib/dump_stack.c:93 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:119 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xf4e/0x1280 kernel/hung_task.c:379 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/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: 7356 Comm: syz.3.565 Not tainted 6.11.0-rc3-syzkaller-00036-g9d5906799f7d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:rcu_lockdep_current_cpu_online+0xb/0x150 kernel/rcu/tree.c:4695 Code: 1b 19 43 03 e9 6a ff ff ff 66 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 65 8b 15 ad fe 92 7e <81> e2 00 00 f0 00 b8 01 00 00 00 75 0a 8b 15 42 07 a2 0e 85 d2 75 RSP: 0018:ffffc90003cd6b48 EFLAGS: 00000202 RAX: 0000000000000001 RBX: 00000000000248da RCX: ffffc9000953a000 RDX: 0000000080000000 RSI: ffffffff8bb09300 RDI: ffffffff8d7b4b40 RBP: ffff88813fff9080 R08: 0000000000000007 R09: 000000000007ffff R10: 0000000000000004 R11: 0000000000000000 R12: ffff888016200000 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000 FS: 00007f9c2ff8e6c0(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020a7e030 CR3: 000000007a53c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock_held_common kernel/rcu/update.c:113 [inline] rcu_read_lock_held+0x27/0x50 kernel/rcu/update.c:349 lookup_page_ext mm/page_ext.c:255 [inline] page_ext_get+0x132/0x310 mm/page_ext.c:536 __page_table_check_zero+0xcd/0x370 mm/page_table_check.c:148 page_table_check_alloc include/linux/page_table_check.h:33 [inline] post_alloc_hook+0x2c0/0x350 mm/page_alloc.c:1494 prep_new_page mm/page_alloc.c:1501 [inline] get_page_from_freelist+0x1351/0x2e50 mm/page_alloc.c:3442 __alloc_pages_noprof+0x22b/0x2460 mm/page_alloc.c:4700 alloc_pages_mpol_noprof+0x275/0x610 mm/mempolicy.c:2263 folio_alloc_mpol_noprof+0x36/0xd0 mm/mempolicy.c:2281 shmem_alloc_folio+0x135/0x160 mm/shmem.c:1722 shmem_alloc_and_add_folio+0x19c/0xce0 mm/shmem.c:1782 shmem_get_folio_gfp+0xa62/0x15e0 mm/shmem.c:2188 shmem_read_folio_gfp+0xa3/0x120 mm/shmem.c:5201 drm_gem_get_pages+0x20b/0x8f0 drivers/gpu/drm/drm_gem.c:568 drm_gem_shmem_get_pages+0xbd/0x300 drivers/gpu/drm/drm_gem_shmem_helper.c:177 drm_gem_shmem_vmap+0x322/0x760 drivers/gpu/drm/drm_gem_shmem_helper.c:337 drm_gem_vmap+0xc5/0x1c0 drivers/gpu/drm/drm_gem.c:1205 drm_gem_vmap_unlocked+0x4a/0xa0 drivers/gpu/drm/drm_gem.c:1247 drm_gem_fb_vmap+0xc7/0x4b0 drivers/gpu/drm/drm_gem_framebuffer_helper.c:365 vkms_prepare_fb+0x87/0xb0 drivers/gpu/drm/vkms/vkms_plane.c:176 drm_atomic_helper_prepare_planes drivers/gpu/drm/drm_atomic_helper.c:2601 [inline] drm_atomic_helper_prepare_planes+0x1e4/0xbc0 drivers/gpu/drm/drm_atomic_helper.c:2577 drm_atomic_helper_commit+0x18e/0x380 drivers/gpu/drm/drm_atomic_helper.c:2029 drm_atomic_commit+0x229/0x300 drivers/gpu/drm/drm_atomic.c:1522 drm_atomic_helper_update_plane+0x323/0x420 drivers/gpu/drm/drm_atomic_helper.c:3190 __setplane_atomic+0x250/0x360 drivers/gpu/drm/drm_plane.c:1074 drm_mode_cursor_universal+0x4a7/0xcb0 drivers/gpu/drm/drm_plane.c:1229 drm_mode_cursor_common+0x318/0x970 drivers/gpu/drm/drm_plane.c:1288 drm_mode_cursor_ioctl+0xd2/0x110 drivers/gpu/drm/drm_plane.c:1338 drm_ioctl_kernel+0x1ec/0x3e0 drivers/gpu/drm/drm_ioctl.c:745 drm_ioctl+0x5dc/0xc00 drivers/gpu/drm/drm_ioctl.c:842 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __x64_sys_ioctl+0x193/0x220 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9c2f1799b9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9c2ff8e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f9c2f315f80 RCX: 00007f9c2f1799b9 RDX: 0000000020000100 RSI: 00000000c01c64a3 RDI: 0000000000000005 RBP: 00007f9c2f1e78d8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f9c2f315f80 R15: 00007ffe504d4648