------------[ cut here ]------------ WARNING: CPU: 0 PID: 6754 at drivers/gpu/drm/drm_prime.c:227 drm_prime_destroy_file_private+0x43/0x60 drivers/gpu/drm/drm_prime.c:227 Modules linked in: CPU: 0 UID: 0 PID: 6754 Comm: syz.0.16 Not tainted 6.13.0-rc4-syzkaller-g4bbf9020becb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:drm_prime_destroy_file_private+0x43/0x60 drivers/gpu/drm/drm_prime.c:227 Code: 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 21 48 8b 83 90 00 00 00 48 85 c0 75 06 5b e9 a3 9d 5f fc e8 9e 9d 5f fc 90 <0f> 0b 90 5b e9 94 9d 5f fc e8 5f 49 c2 fc eb d8 66 66 2e 0f 1f 84 RSP: 0018:ffffc90002e77ce8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888068977380 RCX: 1ffffffff20bed36 RDX: ffff88802c932440 RSI: ffffffff853a7812 RDI: ffff888068977410 RBP: ffff888068977000 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff905f3697 R11: 00000000000a4001 R12: ffff888025202000 R13: ffff8880689772b0 R14: ffff888025202068 R15: ffff8880252020a0 FS: 000055556acc9500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8e06bf9d58 CR3: 00000000345e4000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: drm_file_free.part.0+0x748/0xbe0 drivers/gpu/drm/drm_file.c:257 drm_file_free drivers/gpu/drm/drm_file.c:228 [inline] drm_close_helper.isra.0+0x186/0x1f0 drivers/gpu/drm/drm_file.c:278 drm_release+0x1a9/0x360 drivers/gpu/drm/drm_file.c:426 __fput+0x3f8/0xb60 fs/file_table.c:450 task_work_run+0x14e/0x250 kernel/task_work.c:239 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x27b/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8e05d7fed9 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:00007fffca279748 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f8e05f47ba0 RCX: 00007f8e05d7fed9 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f8e05f47ba0 R08: 0000000000000000 R09: 00007fffca279a2f R10: 000000000003fdac R11: 0000000000000246 R12: 00000000000166db R13: 00007f8e05f46080 R14: 0000000000000032 R15: ffffffffffffffff