------------[ cut here ]------------ WARNING: CPU: 1 PID: 61 at ./include/linux/sched.h:2185 __clear_task_blocked_on include/linux/sched.h:2185 [inline] WARNING: CPU: 1 PID: 61 at ./include/linux/sched.h:2185 __ww_mutex_wound+0x23b/0x3e0 kernel/locking/ww_mutex.h:346 Modules linked in: CPU: 1 UID: 0 PID: 61 Comm: kworker/1:1 Not tainted 6.16.0-syzkaller-11489-gd2eedaa3909b #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Workqueue: events drm_fb_helper_damage_work RIP: 0010:__clear_task_blocked_on include/linux/sched.h:2185 [inline] RIP: 0010:__ww_mutex_wound+0x23b/0x3e0 kernel/locking/ww_mutex.h:346 Code: 00 00 00 00 fc ff df 48 89 ea 48 c1 ea 03 80 3c 02 00 0f 85 85 01 00 00 48 8b 81 78 0a 00 00 48 85 c0 74 09 48 39 c3 74 04 90 <0f> 0b 90 48 b8 00 00 00 00 00 fc ff df 48 89 ea 48 c1 ea 03 80 3c RSP: 0000:ffffc90000aef768 EFLAGS: 00010083 RAX: ffff888105940068 RBX: ffff88802696a048 RCX: ffff88801daa8000 RDX: 1ffff11003b5514f RSI: ffffffff8de274f9 RDI: ffffffff8c160580 RBP: ffff88801daa8a78 R08: 0000000000000000 R09: ffffed1004d2d409 R10: ffff88802696a04f R11: 0000000000000000 R12: ffffc90000047120 R13: 0000000000000001 R14: 0000000000000007 R15: ffffc90000aef860 FS: 0000000000000000(0000) GS:ffff8880d67c6000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000000e380000 CR4: 0000000000352ef0 Call Trace: __ww_mutex_add_waiter kernel/locking/ww_mutex.h:574 [inline] __mutex_lock_common kernel/locking/mutex.c:638 [inline] __ww_mutex_lock.constprop.0+0x1a69/0x32c0 kernel/locking/mutex.c:767 ww_mutex_lock+0x37/0x160 kernel/locking/mutex.c:885 modeset_lock+0x4a0/0x6e0 drivers/gpu/drm/drm_modeset_lock.c:316 drm_modeset_lock drivers/gpu/drm/drm_modeset_lock.c:398 [inline] drm_modeset_lock+0x59/0x90 drivers/gpu/drm/drm_modeset_lock.c:394 drm_atomic_helper_dirtyfb+0x434/0x780 drivers/gpu/drm/drm_damage_helper.c:164 drm_fbdev_shmem_helper_fb_dirty+0x1cc/0x340 drivers/gpu/drm/drm_fbdev_shmem.c:118 drm_fb_helper_fb_dirty drivers/gpu/drm/drm_fb_helper.c:380 [inline] drm_fb_helper_damage_work+0x27e/0x5f0 drivers/gpu/drm/drm_fb_helper.c:403 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3236 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400 kthread+0x3c2/0x780 kernel/kthread.c:463 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245