------------[ cut here ]------------ WARNING: CPU: 0 PID: 15568 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: 15568 Comm: syz.1.2701 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:ffffc900041afc80 EFLAGS: 00010293 RAX: ffffffff8566b5ea RBX: ffff888050325410 RCX: ffff888030490000 RDX: 0000000000000000 RSI: ffffffff8d98bf73 RDI: ffff888050325380 RBP: 0000000000000000 R08: ffffffff8fa157f7 R09: 1ffffffff1f42afe R10: dffffc0000000000 R11: fffffbfff1f42aff R12: ffff88802508c000 R13: ffff8880503252d8 R14: ffffffff85f0be60 R15: dffffc0000000000 FS: 00007f9823f8d6c0(0000) GS:ffff888125c41000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3021fffc CR3: 000000006c80a000 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:0x7f982318e929 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:00007f9823f8d038 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f98233b5fa0 RCX: 00007f982318e929 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000004 RBP: 00007f9823210b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f98233b5fa0 R15: 00007ffdac7c62f8