------------[ cut here ]------------ WARNING: CPU: 1 PID: 12385 at drivers/gpu/drm/drm_prime.c:193 drm_prime_destroy_file_private+0x4b/0x60 drivers/gpu/drm/drm_prime.c:193 Modules linked in: CPU: 1 UID: 0 PID: 12385 Comm: syz.7.1423 Not tainted 6.16.0-rc1-next-20250613-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:drm_prime_destroy_file_private+0x4b/0x60 drivers/gpu/drm/drm_prime.c:193 Code: 00 fc ff df 80 3c 08 00 74 08 48 89 df e8 fd 74 bd fc 48 83 3b 00 75 0c e8 b2 b1 59 fc 5b e9 bc f8 04 06 cc e8 a6 b1 59 fc 90 <0f> 0b 90 5b c3 cc cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 90 RSP: 0018:ffffc9000c077c80 EFLAGS: 00010293 RAX: ffffffff8566b5ea RBX: ffff888057af3410 RCX: ffff88802e473c00 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888057af3380 RBP: 0000000000000000 R08: ffffc9000c077c07 R09: 1ffff9200180ef80 R10: dffffc0000000000 R11: fffff5200180ef81 R12: ffff888024826000 R13: ffff888057af32d8 R14: 0000000000000000 R15: dffffc0000000000 FS: 000055558e774500(0000) GS:ffff888125d41000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d715ff8 CR3: 0000000037ea6000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: drm_file_free+0x79a/0x960 drivers/gpu/drm/drm_file.c:257 drm_close_helper drivers/gpu/drm/drm_file.c:278 [inline] drm_release+0x2de/0x3f0 drivers/gpu/drm/drm_file.c:426 __fput+0x44c/0xa70 fs/file_table.c:468 task_work_run+0x1d4/0x260 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xec/0x110 kernel/entry/common.c:114 exit_to_user_mode_prepare include/linux/entry-common.h:330 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:414 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:449 [inline] do_syscall_64+0x2bd/0x3b0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd71f98e929 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:00007ffe48a44e58 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 000000000008a1c0 RCX: 00007fd71f98e929 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007fd71fbb7ba0 R08: 0000000000000001 R09: 0000000c48a4514f R10: 00007fd71f800000 R11: 0000000000000246 R12: 00007fd71fbb5fac R13: 00007fd71fbb5fa0 R14: ffffffffffffffff R15: 00007ffe48a44f70