------------[ cut here ]------------ WARNING: CPU: 1 PID: 1867 at drivers/gpu/drm/drm_prime.c:232 drm_prime_destroy_file_private+0x12/0x20 drivers/gpu/drm/drm_prime.c:232 Modules linked in: CPU: 1 PID: 1867 Comm: syz-executor.0 Not tainted 6.1.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:drm_prime_destroy_file_private+0x12/0x20 drivers/gpu/drm/drm_prime.c:232 Code: 83 98 00 00 00 00 00 00 00 5b c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 66 0f 1f 00 48 8b 87 90 00 00 00 48 85 c0 75 01 c3 90 <0f> 0b 90 c3 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 8b 47 68 RSP: 0018:ffffc90001ccbe48 EFLAGS: 00010282 RAX: ffff88810cbd7b10 RBX: ffff888109fb2800 RCX: 000000008010000d RDX: 000000008010000e RSI: ffffea00042da0c0 RDI: ffff888109fb2b70 RBP: ffff888109fb2ac8 R08: ffff88810b683400 R09: 000000008010000d R10: ffff88810b683400 R11: 0000000000000000 R12: ffff888109fb2aa0 R13: ffff888106a5b000 R14: ffff888109fb2aa0 R15: dead000000000100 FS: 0000555557251480(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f494295cd58 CR3: 00000001093ee000 CR4: 0000000000350ee0 Call Trace: drm_file_free+0x1da/0x280 drivers/gpu/drm/drm_file.c:286 drm_release+0x54/0xe0 drivers/gpu/drm/drm_file.c:490 __fput+0x89/0x250 fs/file_table.c:320 task_work_run+0x55/0x80 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x16c/0x180 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x17/0x40 kernel/entry/common.c:296 do_syscall_64+0x46/0x80 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x64/0xce RIP: 0033:0x7f4941c7bbda Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 03 7f 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 63 7f 02 00 8b 44 24 RSP: 002b:00007fff97fd3130 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f4941c7bbda RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f4941d9d980 R08: 0000001b2df60000 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000293 R12: 000000000000a9df R13: ffffffffffffffff R14: 00007f4941800000 R15: 000000000000a69e