------------[ cut here ]------------ WARNING: CPU: 1 PID: 5593 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: 1 PID: 5593 Comm: syz-executor.0 Not tainted 6.7.0-rc8-syzkaller-00177-g52b1853b080a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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 63 cb 93 fc e8 5e cb 93 fc 90 <0f> 0b 90 5b e9 54 cb 93 fc e8 1f 75 ea fc eb d8 66 66 2e 0f 1f 84 RSP: 0018:ffffc90009a47d90 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888025e1a378 RCX: ffffc90009a47d60 RDX: ffff88801fd81dc0 RSI: ffffffff84f3a732 RDI: ffff888025e1a408 RBP: ffff888025e1a000 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8f193c57 R11: 0000000000000000 R12: ffff8881407cc000 R13: ffff888025e1a2a8 R14: ffff8881407cc068 R15: ffff8881407cc0a0 FS: 00005555568b0480(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd360f55d58 CR3: 00000000243dc000 CR4: 0000000000350ef0 Call Trace: drm_file_free.part.0+0x738/0xb90 drivers/gpu/drm/drm_file.c:290 drm_file_free drivers/gpu/drm/drm_file.c:247 [inline] drm_close_helper.isra.0+0x180/0x1f0 drivers/gpu/drm/drm_file.c:307 drm_release+0x22a/0x4f0 drivers/gpu/drm/drm_file.c:494 __fput+0x270/0xb70 fs/file_table.c:394 __fput_sync+0x47/0x50 fs/file_table.c:475 __do_sys_close fs/open.c:1587 [inline] __se_sys_close fs/open.c:1572 [inline] __x64_sys_close+0x87/0xf0 fs/open.c:1572 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fd36027bbda 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:00007ffeab6961f0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007fd36027bbda RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007fd36039d980 R08: 0000001b2ea60000 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000293 R12: 000000000001507c R13: ffffffffffffffff R14: 00007fd35fe00000 R15: 0000000000014d3b