------------[ cut here ]------------ WARNING: CPU: 0 PID: 7048 at drivers/gpu/drm/drm_prime.c:326 drm_gem_prime_fd_to_handle+0x398/0x488 drivers/gpu/drm/drm_prime.c:326 Modules linked in: CPU: 0 UID: 0 PID: 7048 Comm: syz-executor.5 Not tainted 6.14.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : drm_gem_prime_fd_to_handle+0x398/0x488 drivers/gpu/drm/drm_prime.c:326 lr : drm_gem_prime_fd_to_handle+0x398/0x488 drivers/gpu/drm/drm_prime.c:326 sp : ffff8000a26279a0 x29: ffff8000a26279a0 x28: 1fffe0001c5a3c10 x27: 1ffff000144c4f4c x26: dfff800000000000 x25: 1fffe00018d67c25 x24: ffff0000c6b3e128 x23: ffff0000c6b3e000 x22: ffff0000e2d1e000 x21: ffff0000e2d1e380 x20: ffff8000a2627bf0 x19: ffff0000e25d1c00 x18: 0000000000000000 x17: 0000000000000000 x16: ffff8000803b88f4 x15: 0000000000000001 x14: 1fffe00018d67c00 x13: 0000000000000000 x12: 0000000000000000 x11: ffff600018d67c01 x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000d759bd00 x7 : ffff80008431bbf4 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80008431dfa4 x2 : 0000000000000001 x1 : 0000000000000007 x0 : ffff0000c6b3e000 Call trace: drm_gem_prime_fd_to_handle+0x398/0x488 drivers/gpu/drm/drm_prime.c:326 (P) drm_prime_fd_to_handle_ioctl+0xb4/0xf0 drivers/gpu/drm/drm_prime.c:375 drm_ioctl_kernel+0x26c/0x368 drivers/gpu/drm/drm_ioctl.c:796 drm_ioctl+0x6a0/0xb98 drivers/gpu/drm/drm_ioctl.c:893 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl fs/ioctl.c:892 [inline] __arm64_sys_ioctl+0x14c/0x1cc fs/ioctl.c:892 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 irq event stamp: 460 hardirqs last enabled at (459): [] kasan_quarantine_put+0x1a0/0x1c8 mm/kasan/quarantine.c:234 hardirqs last disabled at (460): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488 softirqs last enabled at (442): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (440): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---