------------[ cut here ]------------ WARNING: CPU: 0 PID: 7085 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: 0 UID: 0 PID: 7085 Comm: syz.1.320 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:ffffc9001ab57c80 EFLAGS: 00010283 RAX: ffffffff8566b5ea RBX: ffff888143bd2410 RCX: 0000000000080000 RDX: ffffc9000dd09000 RSI: 000000000000095c RDI: 000000000000095d RBP: 0000000000000000 R08: ffffc9001ab57c07 R09: 1ffff9200356af80 R10: dffffc0000000000 R11: fffff5200356af81 R12: ffff888142f58000 R13: ffff888143bd22d8 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f3f0a1d96c0(0000) GS:ffff888125c41000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f485bd03619 CR3: 0000000055cf0000 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:0x7f3f0938e929 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:00007f3f0a1d9038 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f3f095b6080 RCX: 00007f3f0938e929 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000007 RBP: 00007f3f09410b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f3f095b6080 R15: 00007ffcad1802e8