program: r0 = syz_open_dev$dri(&(0x7f00000000c0), 0x101, 0x0) (async) ioctl$DRM_IOCTL_MODE_GETCRTC(0xffffffffffffffff, 0xc06864a1, &(0x7f00000001c0)={&(0x7f0000000180)=[0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0], 0x7, 0x0, 0x0}) r2 = syz_open_dev$dri(&(0x7f00000008c0), 0x2, 0x22800) (async) ioctl$TIOCGPGRP(0xffffffffffffffff, 0x540f, &(0x7f0000000340)=0x0) syz_open_procfs(r3, &(0x7f0000000380)='coredump_filter\x00') (async) ioctl$DRM_IOCTL_MODE_GETRESOURCES(r2, 0xc04064a0, &(0x7f00000001c0)={0x0, &(0x7f0000000040)=[0x0], 0x0, 0x0, 0x0, 0x1}) ioctl$DRM_IOCTL_MODE_GETCRTC(r0, 0xc06864a1, &(0x7f00000004c0)={0x0, 0xffffffffffffff8e, r4, 0x0}) ioctl$DRM_IOCTL_MODE_GETFB2(r2, 0xc06864ce, &(0x7f0000000440)={r5, 0x0, 0x0, 0x40000, 0x3, [0x0], [0x0, 0xfffffffa], [0x0, 0x9, 0x2], [0xffffffffffffffff, 0x0, 0x0, 0xfffffffffffffffd]}) ioctl$DRM_IOCTL_PRIME_HANDLE_TO_FD(r2, 0xc00c642d, &(0x7f0000000100)={r6}) (async, rerun: 32) r7 = syz_open_dev$dri(&(0x7f0000000300), 0x1, 0x41) (rerun: 32) ioctl$DRM_IOCTL_MODE_GETRESOURCES(r7, 0xc04064a0, &(0x7f00000000c0)={0x0, &(0x7f00000002c0)=[0x0], 0x0, 0x0, 0x0, 0x1}) ioctl$DRM_IOCTL_MODE_GETCRTC(r7, 0xc06864a1, &(0x7f0000000100)={0x0, 0xfffffffffffffd24, r8, 0x0}) ioctl$DRM_IOCTL_MODE_GETFB2(r7, 0xc06864ce, &(0x7f0000000440)={r9, 0x80000000, 0x0, 0x0, 0x2, [0x0], [0x2, 0x0, 0x4020, 0x4], [0x8, 0x1ff, 0x6, 0xfffffffd], [0x0, 0x1, 0x200000000000a40b]}) ioctl$DRM_IOCTL_PRIME_HANDLE_TO_FD(r7, 0xc00c642d, &(0x7f0000000080)={r10}) (async) r11 = syz_open_dev$dri(&(0x7f00000008c0), 0xd21, 0x0) ioctl$DRM_IOCTL_MODE_GETRESOURCES(r11, 0xc04064a0, &(0x7f00000001c0)={0x0, &(0x7f00000000c0)=[0x0], 0x0, 0x0, 0x0, 0x1}) ioctl$DRM_IOCTL_MODE_GETCRTC(r11, 0xc06864a1, &(0x7f00000003c0)={0x0, 0x0, r12, 0x0}) ioctl$DRM_IOCTL_MODE_GETFB2(r11, 0xc06864ce, &(0x7f0000000200)={r13, 0x0, 0x0, 0x0, 0x0, [0x0, 0x0, 0x0]}) ioctl$DRM_IOCTL_PRIME_HANDLE_TO_FD(r11, 0xc00c64d2, &(0x7f0000000040)={r14}) (async, rerun: 32) ioctl$DRM_IOCTL_GEM_OPEN(0xffffffffffffffff, 0xc010640b, &(0x7f0000000280)={0x0, 0x0}) (rerun: 32) ioctl$DRM_IOCTL_MODE_ADDFB2(r0, 0xc06864b8, &(0x7f00000002c0)={r1, 0xe, 0x59b4, 0x5, 0x1, [r6, r10, r14, r16], [0xfff, 0x9, 0x7, 0x10000], [0xc9a, 0x212, 0xfffffffc, 0x2], [0x8000000000000001, 0xcce, 0x2, 0x1ff]}) (async) ioctl$DRM_IOCTL_PRIME_HANDLE_TO_FD(r7, 0xc00c642d, &(0x7f0000000540)={r15}) (async) capset(&(0x7f0000000000)={0x20080522}, 0x0) r17 = bpf$MAP_CREATE_CONST_STR(0x0, &(0x7f0000000240)=ANY=[@ANYBLOB="02000000040000000800000001"], 0x48) (async) r18 = syz_open_procfs(0xffffffffffffffff, &(0x7f0000006100)='cmdline\x00') prctl$PR_SET_SECCOMP(0x16, 0x1, 0x0) (async) read$FUSE(r18, 0x0, 0x0) (async) openat$mice(0xffffffffffffff9c, &(0x7f0000000080), 0x4400) (async, rerun: 64) bpf$PROG_LOAD(0x5, &(0x7f0000000840)={0x4, 0x10, &(0x7f0000000000)=@ringbuf={{0x18, 0x8}, {{0x18, 0x1, 0x1, 0x0, r17}, {}, {0x7, 0x0, 0xb, 0x3, 0x0, 0x0, 0x1ab92b}, {0x85, 0x0, 0x0, 0x8}, {0x4}}, {{0x5, 0x0, 0x4, 0x9, 0x0, 0x1, 0x2000}}, [@call={0x85, 0x0, 0x0, 0x64}], {{0x7, 0x1, 0xb, 0x8}, {0x6, 0x0, 0x5, 0x9}, {0x85, 0x0, 0x0, 0xa4}}}, &(0x7f0000000980)='GPL\x00', 0x9, 0x0, 0x0, 0x0, 0x0, '\x00', 0x0, @fallback=0x2f, 0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, 0x94) (async, rerun: 64) perf_event_open(&(0x7f0000000100)={0x2, 0x80, 0x70, 0x10, 0x0, 0x0, 0x0, 0x7, 0x20, 0xd, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x107b7d, 0x1, @perf_bp={0x0, 0xa}, 0x14105, 0x2e, 0xfffffbff, 0x3, 0x2, 0x0, 0x6, 0x0, 0x0, 0x0, 0xa9e6}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x9) [ 77.461259][ T4667] Bluetooth: hci0: command tx timeout [ 77.464634][ T1314] ieee802154 phy0 wpan0: encryption failed: -22 [ 77.467172][ T1314] ieee802154 phy1 wpan1: encryption failed: -22 [ 77.546326][ T25] audit: type=1326 audit(1763587047.478:2): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined pid=5316 comm="syz.0.0" exe="/syz-executor" sig=9 arch=c000003e syscall=231 compat=0 ip=0x7f9b76f8f749 code=0x0 [ 77.630780][ T5319] ------------[ cut here ]------------ [ 77.633366][ T5319] WARNING: CPU: 0 PID: 5319 at drivers/gpu/drm/drm_prime.c:223 drm_prime_destroy_file_private+0x4b/0x60 [ 77.638094][ T5319] Modules linked in: [ 77.639840][ T5319] CPU: 0 UID: 0 PID: 5319 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) [ 77.643815][ T5319] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 77.648275][ T5319] RIP: 0010:drm_prime_destroy_file_private+0x4b/0x60 [ 77.651167][ T5319] Code: 00 fc ff df 80 3c 08 00 74 08 48 89 df e8 8d 50 f2 fc 48 83 3b 00 75 0c e8 02 05 8b fc 5b e9 3c 56 16 06 cc e8 f6 04 8b fc 90 <0f> 0b 90 5b c3 cc cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 90 [ 77.659061][ T5319] RSP: 0018:ffffc9000fd1f880 EFLAGS: 00010293 [ 77.661790][ T5319] RAX: ffffffff85350e6a RBX: ffff888051d96410 RCX: ffff888000b1a480 [ 77.665115][ T5319] RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888051d96380 [ 77.668245][ T5319] RBP: ffff888051d962c8 R08: ffffc9000fd1f807 R09: 1ffff92001fa3f00 [ 77.671543][ T5319] R10: dffffc0000000000 R11: fffff52001fa3f01 R12: dffffc0000000000 [ 77.674905][ T5319] R13: dead000000000100 R14: 0000000000000000 R15: ffff888051d962d8 [ 77.678121][ T5319] FS: 0000000000000000(0000) GS:ffff88808d730000(0000) knlGS:0000000000000000 [ 77.681727][ T5319] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 77.684430][ T5319] CR2: 00007ffc96695ff8 CR3: 0000000050781000 CR4: 0000000000352ef0 [ 77.688124][ T5319] Call Trace: [ 77.689559][ T5319] [ 77.690702][ T5319] drm_file_free+0x7f2/0xa00 [ 77.692844][ T5319] drm_release+0x2de/0x3f0 [ 77.694553][ T5319] ? __pfx_drm_release+0x10/0x10 [ 77.696444][ T5319] __fput+0x44c/0xa70 [ 77.697992][ T5319] task_work_run+0x1d4/0x260 [ 77.699926][ T5319] ? __pfx_task_work_run+0x10/0x10 [ 77.702297][ T5319] do_exit+0x6b5/0x2300 [ 77.704031][ T5319] ? do_raw_spin_lock+0x121/0x290 [ 77.706109][ T5319] ? __pfx_do_exit+0x10/0x10 [ 77.707950][ T5319] do_group_exit+0x21c/0x2d0 [ 77.709699][ T5319] ? lockdep_hardirqs_on+0x9c/0x150 [ 77.711884][ T5319] get_signal+0x1285/0x1340 [ 77.713913][ T5319] arch_do_signal_or_restart+0xa0/0x790 [ 77.716157][ T5319] ? __pfx_arch_do_signal_or_restart+0x10/0x10 [ 77.718532][ T5319] ? __pfx_do_sys_openat2+0x10/0x10 [ 77.720525][ T5319] ? exit_to_user_mode_loop+0x40/0x130 [ 77.722950][ T5319] exit_to_user_mode_loop+0x72/0x130 [ 77.725076][ T5319] do_syscall_64+0x2bd/0xfa0 [ 77.727041][ T5319] ? lockdep_hardirqs_on+0x9c/0x150 [ 77.729202][ T5319] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 77.731717][ T5319] ? clear_bhb_loop+0x60/0xb0 [ 77.733651][ T5319] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 77.736103][ T5319] RIP: 0033:0x7f9b76f8f749 [ 77.737814][ T5319] Code: Unable to access opcode bytes at 0x7f9b76f8f71f. [ 77.740637][ T5319] RSP: 002b:00007f9b77dbe038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 [ 77.744434][ T5319] RAX: ffffffffffffffea RBX: 00007f9b771e6180 RCX: 00007f9b76f8f749 [ 77.747829][ T5319] RDX: 0000000000004400 RSI: 0000200000000080 RDI: ffffffffffffff9c [ 77.751194][ T5319] RBP: 00007f9b77013f91 R08: 0000000000000000 R09: 0000000000000000 [ 77.754295][ T5319] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 77.757300][ T5319] R13: 00007f9b771e6218 R14: 00007f9b771e6180 R15: 00007ffc96696b88 [ 77.760540][ T5319] [ 77.762047][ T5319] Kernel panic - not syncing: kernel: panic_on_warn set ... [ 77.765046][ T5319] CPU: 0 UID: 0 PID: 5319 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) [ 77.768358][ T5319] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 77.772428][ T5319] Call Trace: [ 77.773756][ T5319] [ 77.775033][ T5319] dump_stack_lvl+0x99/0x250 [ 77.776932][ T5319] ? __asan_memcpy+0x40/0x70 [ 77.778883][ T5319] ? __pfx_dump_stack_lvl+0x10/0x10 [ 77.781085][ T5319] ? __pfx__printk+0x10/0x10 [ 77.783044][ T5319] vpanic+0x237/0x6d0 [ 77.784721][ T5319] ? __pfx_vpanic+0x10/0x10 [ 77.786579][ T5319] panic+0xb9/0xc0 [ 77.788158][ T5319] ? __pfx_panic+0x10/0x10 [ 77.790010][ T5319] __warn+0x31b/0x4b0 [ 77.791798][ T5319] ? drm_prime_destroy_file_private+0x4b/0x60 [ 77.794778][ T5319] ? drm_prime_destroy_file_private+0x4b/0x60 [ 77.797591][ T5319] report_bug+0x2be/0x4f0 [ 77.799517][ T5319] ? drm_prime_destroy_file_private+0x4b/0x60 [ 77.802173][ T5319] ? drm_prime_destroy_file_private+0x4b/0x60 [ 77.804561][ T5319] ? drm_prime_destroy_file_private+0x4d/0x60 [ 77.807199][ T5319] handle_bug+0x84/0x160 [ 77.809025][ T5319] exc_invalid_op+0x1a/0x50 [ 77.810949][ T5319] asm_exc_invalid_op+0x1a/0x20 [ 77.813033][ T5319] RIP: 0010:drm_prime_destroy_file_private+0x4b/0x60 [ 77.815821][ T5319] Code: 00 fc ff df 80 3c 08 00 74 08 48 89 df e8 8d 50 f2 fc 48 83 3b 00 75 0c e8 02 05 8b fc 5b e9 3c 56 16 06 cc e8 f6 04 8b fc 90 <0f> 0b 90 5b c3 cc cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 90 [ 77.823591][ T5319] RSP: 0018:ffffc9000fd1f880 EFLAGS: 00010293 [ 77.826156][ T5319] RAX: ffffffff85350e6a RBX: ffff888051d96410 RCX: ffff888000b1a480 [ 77.829492][ T5319] RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888051d96380 [ 77.832883][ T5319] RBP: ffff888051d962c8 R08: ffffc9000fd1f807 R09: 1ffff92001fa3f00 [ 77.836241][ T5319] R10: dffffc0000000000 R11: fffff52001fa3f01 R12: dffffc0000000000 [ 77.839588][ T5319] R13: dead000000000100 R14: 0000000000000000 R15: ffff888051d962d8 [ 77.843048][ T5319] ? drm_prime_destroy_file_private+0x4a/0x60 [ 77.845620][ T5319] drm_file_free+0x7f2/0xa00 [ 77.847679][ T5319] drm_release+0x2de/0x3f0 [ 77.849575][ T5319] ? __pfx_drm_release+0x10/0x10 [ 77.851611][ T5319] __fput+0x44c/0xa70 [ 77.853226][ T5319] task_work_run+0x1d4/0x260 [ 77.855537][ T5319] ? __pfx_task_work_run+0x10/0x10 [ 77.857877][ T5319] do_exit+0x6b5/0x2300 [ 77.859621][ T5319] ? do_raw_spin_lock+0x121/0x290 [ 77.861789][ T5319] ? __pfx_do_exit+0x10/0x10 [ 77.863731][ T5319] do_group_exit+0x21c/0x2d0 [ 77.865668][ T5319] ? lockdep_hardirqs_on+0x9c/0x150 [ 77.867864][ T5319] get_signal+0x1285/0x1340 [ 77.869768][ T5319] arch_do_signal_or_restart+0xa0/0x790 [ 77.872112][ T5319] ? __pfx_arch_do_signal_or_restart+0x10/0x10 [ 77.874736][ T5319] ? __pfx_do_sys_openat2+0x10/0x10 [ 77.876886][ T5319] ? exit_to_user_mode_loop+0x40/0x130 [ 77.879195][ T5319] exit_to_user_mode_loop+0x72/0x130 [ 77.881447][ T5319] do_syscall_64+0x2bd/0xfa0 [ 77.883668][ T5319] ? lockdep_hardirqs_on+0x9c/0x150 [ 77.885844][ T5319] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 77.888404][ T5319] ? clear_bhb_loop+0x60/0xb0 [ 77.890447][ T5319] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 77.892958][ T5319] RIP: 0033:0x7f9b76f8f749 [ 77.894910][ T5319] Code: Unable to access opcode bytes at 0x7f9b76f8f71f. [ 77.897982][ T5319] RSP: 002b:00007f9b77dbe038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 [ 77.901490][ T5319] RAX: ffffffffffffffea RBX: 00007f9b771e6180 RCX: 00007f9b76f8f749 [ 77.904779][ T5319] RDX: 0000000000004400 RSI: 0000200000000080 RDI: ffffffffffffff9c [ 77.908049][ T5319] RBP: 00007f9b77013f91 R08: 0000000000000000 R09: 0000000000000000 [ 77.911303][ T5319] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 77.914756][ T5319] R13: 00007f9b771e6218 R14: 00007f9b771e6180 R15: 00007ffc96696b88 [ 77.918067][ T5319] [ 77.919756][ T5319] Kernel Offset: disabled [ 77.921555][ T5319] Rebooting in 86400 seconds..