------------[ cut here ]------------
WARNING: CPU: 1 PID: 6290 at ./include/linux/sched.h:2185 __ww_mutex_wound+0x21a/0x2b0
Modules linked in:
CPU: 1 UID: 0 PID: 6290 Comm: syz.0.128 Not tainted 6.17.0-rc1-syzkaller-00036-gdfc0f6373094-dirty #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:__ww_mutex_wound+0x21a/0x2b0
Code: 5f 5d e9 09 68 df 09 cc 90 0f 0b 90 e9 89 fe ff ff 90 0f 0b 90 e9 39 ff ff ff 90 0f 0b 90 4d 85 ff 0f 85 67 ff ff ff eb 95 90 <0f> 0b 90 eb 8f 48 c7 c1 70 b0 a3 8f 80 e1 07 80 c1 03 38 c1 0f 8c
RSP: 0018:ffffc900067bed20 EFLAGS: 00010046
RAX: ffff888020ba8d00 RBX: dffffc0000000000 RCX: 762e00148f212100
RDX: 00000000000002f4 RSI: ffffffff8dba60be RDI: ffffffff8be33400
RBP: 0000000000000001 R08: ffff888020ba93a7 R09: 1ffff11004175274
R10: dffffc0000000000 R11: ffffed1004175275 R12: ffff88810856e0b8
R13: ffffc900067bf168 R14: ffff88810856d640 R15: ffff888020ba93a0
FS:  00007f95e20a56c0(0000) GS:ffff8881a3c1b000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000001000 CR3: 000000011069e000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 __ww_mutex_lock+0xba3/0x2930
 ww_mutex_lock+0x3f/0x1c0
 modeset_lock+0x2be/0x650
 drm_atomic_get_crtc_state+0x126/0x460
 drm_atomic_get_plane_state+0x4c8/0x5a0
 drm_client_modeset_commit_atomic+0x1e7/0x760
 drm_client_modeset_commit_locked+0xcb/0x4d0
 drm_fb_helper_pan_display+0x3e7/0xbd0
 fb_pan_display+0x39e/0x680
 bit_update_start+0x4d/0x1e0
 fbcon_switch+0x1568/0x2040
 csi_J+0x6c4/0xe50
 do_con_write+0x4169/0x5200
 con_write+0x24/0x40
 n_tty_write+0xd2c/0x1200
 file_tty_write+0x554/0xa20
 vfs_write+0x5c9/0xb30
 ksys_write+0x145/0x250
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f95e118ebe9
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:00007f95e20a5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f95e13b5fa0 RCX: 00007f95e118ebe9
RDX: 0000000000001006 RSI: 0000200000000200 RDI: 0000000000000004
RBP: 00007f95e1211e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f95e13b6038 R14: 00007f95e13b5fa0 R15: 00007ffcbc24ca08
 </TASK>
