program: mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./sys\x00', 0x1ff) mount(0x0, &(0x7f0000000100)='./sys\x00', &(0x7f0000005600)='sysfs\x00', 0x0, 0x0) bpf$BPF_BTF_LOAD(0x12, &(0x7f0000000400)={&(0x7f0000000440)={{0xeb9f, 0x1, 0x0, 0x18, 0x0, 0x24, 0x24, 0x6, [@typedef={0x4, 0x0, 0x0, 0xf, 0x2}, @struct={0x0, 0x1, 0x0, 0x4, 0x0, 0x0, [{0x0, 0x1}]}]}, {0x0, [0x0, 0x0, 0x0, 0x61]}}, 0x0, 0x42}, 0x20) pipe(&(0x7f00000000c0)={0xffffffffffffffff, 0xffffffffffffffff}) r2 = socket$inet_udp(0x2, 0x2, 0x0) close(r2) r3 = socket$nl_rdma(0x10, 0x3, 0x14) sendmsg$RDMA_NLDEV_CMD_RES_CM_ID_GET(r3, &(0x7f0000000240)={0x0, 0x0, &(0x7f0000000280)={&(0x7f0000000380)=ANY=[@ANYBLOB="28e0ffff1a1401"], 0x28}, 0x1, 0x0, 0x0, 0x40000}, 0x6008081) ioctl$FS_IOC_SETFLAGS(0xffffffffffffffff, 0x40086602, &(0x7f00000003c0)=0x10000) ioctl$SIOCPNADDRESOURCE(r0, 0x89e0, &(0x7f00000004c0)=0x7fff) write$binfmt_misc(r1, &(0x7f0000000400), 0xfffffecc) splice(r0, 0x0, r2, 0x0, 0x4ffe2, 0x0) syz_usb_connect(0x3, 0x2d, 0x0, 0x0) r4 = openat(0xffffffffffffff9c, &(0x7f0000005640)='./sys/bus/pci/devices/0000:00:01.0/remove\x00', 0x1, 0x0) perf_event_open(&(0x7f0000000040)={0x2, 0x80, 0x1f, 0x1, 0x0, 0x0, 0x0, 0x9, 0x640b9, 0x3, 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, 0x107b83, 0x2, @perf_bp={0x0, 0x3}, 0x8000, 0x5, 0x43a1bd76, 0x5, 0x9, 0x6, 0x2, 0x0, 0x0, 0x0, 0x2009}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) perf_event_open(&(0x7f00000001c0)={0x3, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4, 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, 0x0, 0x0, 0x0, 0x4, @perf_bp={0x0, 0x3}, 0x4000, 0x5, 0x0, 0x3}, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x0) write(r4, &(0x7f0000005680)='1', 0x1) mkdirat(0xffffffffffffff9c, &(0x7f0000000140)='./debug\x00', 0x1ff) mount(0x0, &(0x7f0000000180)='./debug\x00', &(0x7f00000002c0)='debugfs\x00', 0x0, 0x0) r5 = openat(0xffffffffffffff9c, &(0x7f0000000300)='./debug/dynamic_debug/control\x00', 0x2, 0x0) write(r5, &(0x7f0000000340)='+p', 0x2) [ 93.612292][ T4668] Bluetooth: hci0: command tx timeout [ 93.643237][ T10] cfg80211: failed to load regulatory.db [ 93.866222][ T5351] Console: switching to colour dummy device 80x25 [ 94.111666][ T5351] ------------[ cut here ]------------ [ 94.111680][ T5351] Memory manager not clean during takedown. [ 94.111686][ T5351] WARNING: drivers/gpu/drm/drm_mm.c:966 at drm_mm_takedown+0x54/0x70, CPU#0: syz.0.0/5351 [ 94.121469][ T5351] Modules linked in: [ 94.123416][ T5351] CPU: 0 UID: 0 PID: 5351 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) [ 94.127406][ T5351] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 94.131733][ T5351] RIP: 0010:drm_mm_takedown+0x54/0x70 [ 94.134149][ T5351] Code: 4c 89 f7 e8 ae 3b 97 fc 49 8b 06 4c 39 f0 75 0e e8 41 db 1d fc 5b 41 5e c3 cc cc cc cc cc e8 33 db 1d fc 48 8d 3d 6c b7 1e 0c <67> 48 0f b9 3a 48 89 df 5b 41 5e eb 1f 66 66 66 66 66 66 2e 0f 1f [ 94.142491][ T5351] RSP: 0018:ffffc9000e4af6f0 EFLAGS: 00010287 [ 94.145221][ T5351] RAX: ffffffff85ab56ad RBX: ffff88803613f468 RCX: 0000000000100000 [ 94.148700][ T5351] RDX: ffffc90020001000 RSI: 000000000001c42d RDI: ffffffff91ca0e20 [ 94.152059][ T5351] RBP: ffffffff85aa0b20 R08: ffff8880313cf380 R09: ffffffff8ca20720 [ 94.155656][ T5351] R10: dffffc0000000000 R11: ffffffff85aa0b20 R12: ffff8880313cf380 [ 94.158714][ T5351] R13: dffffc0000000000 R14: ffff88803613f4a0 R15: dffffc0000000000 [ 94.161992][ T5351] FS: 00007f24a84d56c0(0000) GS:ffff88808a9fa000(0000) knlGS:0000000000000000 [ 94.167557][ T5351] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 94.170867][ T5351] CR2: 00007f5b939909c0 CR3: 0000000045a9d000 CR4: 0000000000352ef0 [ 94.174567][ T5351] Call Trace: [ 94.176093][ T5351] [ 94.177435][ T5351] drm_managed_release+0x208/0x380 [ 94.179701][ T5351] ? __pfx_virtio_gpu_release+0x10/0x10 [ 94.182146][ T5351] drm_dev_put+0xe0/0x120 [ 94.184243][ T5351] virtio_dev_remove+0x9c/0x1b0 [ 94.186350][ T5351] ? __pfx_virtio_dev_remove+0x10/0x10 [ 94.188723][ T5351] device_release_driver_internal+0x42b/0x7d0 [ 94.191405][ T5351] bus_remove_device+0x444/0x560 [ 94.194033][ T5351] ? __pfx_bus_remove_device+0x10/0x10 [ 94.196386][ T5351] ? kernfs_remove_by_name_ns+0x101/0x140 [ 94.198827][ T5351] device_del+0x524/0x8f0 [ 94.200759][ T5351] ? __pfx_device_del+0x10/0x10 [ 94.203013][ T5351] device_unregister+0x21/0xf0 [ 94.205029][ T5351] unregister_virtio_device+0x37/0x60 [ 94.207290][ T5351] virtio_pci_remove+0x7f/0xf0 [ 94.209402][ T5351] pci_device_remove+0x99/0x1c0 [ 94.211576][ T5351] ? __pfx_pci_device_remove+0x10/0x10 [ 94.214145][ T5351] device_release_driver_internal+0x42b/0x7d0 [ 94.216923][ T5351] pci_stop_bus_device+0xf6/0x120 [ 94.219043][ T5351] pci_stop_and_remove_bus_device_locked+0x77/0xb0 [ 94.221881][ T5351] remove_store+0xe5/0x150 [ 94.223920][ T5351] ? __pfx_remove_store+0x10/0x10 [ 94.226135][ T5351] ? sysfs_file_kobj+0x1e4/0x230 [ 94.228303][ T5351] ? sysfs_kf_write+0x166/0x260 [ 94.230400][ T5351] ? __pfx_sysfs_kf_write+0x10/0x10 [ 94.233144][ T5351] kernfs_fop_write_iter+0x3a4/0x540 [ 94.235463][ T5351] vfs_write+0x612/0xba0 [ 94.237291][ T5351] ? __pfx_vfs_write+0x10/0x10 [ 94.239340][ T5351] ? __fget_files+0x3a2/0x420 [ 94.241324][ T5351] ? __fget_files+0x2a/0x420 [ 94.243470][ T5351] ? fdget+0x1ac/0x250 [ 94.245213][ T5351] ksys_write+0x150/0x270 [ 94.247141][ T5351] ? __pfx_ksys_write+0x10/0x10 [ 94.249286][ T5351] do_syscall_64+0x16a/0x530 [ 94.251333][ T5351] ? trace_irq_disable+0x3b/0x140 [ 94.253576][ T5351] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 94.256181][ T5351] ? clear_bhb_loop+0x70/0xc0 [ 94.258208][ T5351] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 94.260896][ T5351] RIP: 0033:0x7f24a75a94d9 [ 94.262984][ T5351] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 [ 94.272195][ T5351] RSP: 002b:00007f24a84d4fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 94.275910][ T5351] RAX: ffffffffffffffda RBX: 00007f24a7826090 RCX: 00007f24a75a94d9 [ 94.279001][ T5351] RDX: 0000000000000001 RSI: 0000200000005680 RDI: 0000000000000006 [ 94.282128][ T5351] RBP: 00007f24a763804e R08: 0000000000000000 R09: 0000000000000000 [ 94.285171][ T5351] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 94.288514][ T5351] R13: 00007f24a7826128 R14: 00007f24a7826090 R15: 00007ffcc0d5c548 [ 94.291790][ T5351] [ 94.293259][ T5351] Kernel panic - not syncing: kernel: panic_on_warn set ... [ 94.296386][ T5351] CPU: 0 UID: 0 PID: 5351 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) [ 94.299974][ T5351] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 94.304344][ T5351] Call Trace: [ 94.305786][ T5351] [ 94.307099][ T5351] vpanic+0x26f/0x710 [ 94.308835][ T5351] panic+0xc5/0xd0 [ 94.310490][ T5351] ? __pfx_panic+0x10/0x10 [ 94.312367][ T5351] __warn+0x315/0x4c0 [ 94.314035][ T5351] ? drm_mm_takedown+0x54/0x70 [ 94.316019][ T5351] ? drm_mm_takedown+0x54/0x70 [ 94.318032][ T5351] __report_bug+0x276/0x570 [ 94.319959][ T5351] ? bus_remove_device+0x444/0x560 [ 94.322121][ T5351] ? device_del+0x524/0x8f0 [ 94.324096][ T5351] ? device_unregister+0x21/0xf0 [ 94.326480][ T5351] ? drm_mm_takedown+0x54/0x70 [ 94.328727][ T5351] ? __pfx___report_bug+0x10/0x10 [ 94.331109][ T5351] report_bug_entry+0x19b/0x290 [ 94.333514][ T5351] ? drm_mm_takedown+0x54/0x70 [ 94.335638][ T5351] ? drm_mm_takedown+0x59/0x70 [ 94.337818][ T5351] handle_bug+0xce/0x200 [ 94.339559][ T5351] exc_invalid_op+0x1a/0x50 [ 94.341361][ T5351] asm_exc_invalid_op+0x1a/0x20 [ 94.345166][ T5351] RIP: 0010:drm_mm_takedown+0x54/0x70 [ 94.347682][ T5351] Code: 4c 89 f7 e8 ae 3b 97 fc 49 8b 06 4c 39 f0 75 0e e8 41 db 1d fc 5b 41 5e c3 cc cc cc cc cc e8 33 db 1d fc 48 8d 3d 6c b7 1e 0c <67> 48 0f b9 3a 48 89 df 5b 41 5e eb 1f 66 66 66 66 66 66 2e 0f 1f [ 94.355752][ T5351] RSP: 0018:ffffc9000e4af6f0 EFLAGS: 00010287 [ 94.358421][ T5351] RAX: ffffffff85ab56ad RBX: ffff88803613f468 RCX: 0000000000100000 [ 94.361839][ T5351] RDX: ffffc90020001000 RSI: 000000000001c42d RDI: ffffffff91ca0e20 [ 94.365129][ T5351] RBP: ffffffff85aa0b20 R08: ffff8880313cf380 R09: ffffffff8ca20720 [ 94.368328][ T5351] R10: dffffc0000000000 R11: ffffffff85aa0b20 R12: ffff8880313cf380 [ 94.371838][ T5351] R13: dffffc0000000000 R14: ffff88803613f4a0 R15: dffffc0000000000 [ 94.375393][ T5351] ? __pfx_drm_gem_init_release+0x10/0x10 [ 94.377926][ T5351] ? __pfx_drm_gem_init_release+0x10/0x10 [ 94.380289][ T5351] ? drm_mm_takedown+0x4d/0x70 [ 94.382283][ T5351] drm_managed_release+0x208/0x380 [ 94.384330][ T5351] ? __pfx_virtio_gpu_release+0x10/0x10 [ 94.386422][ T5351] drm_dev_put+0xe0/0x120 [ 94.388127][ T5351] virtio_dev_remove+0x9c/0x1b0 [ 94.390154][ T5351] ? __pfx_virtio_dev_remove+0x10/0x10 [ 94.392339][ T5351] device_release_driver_internal+0x42b/0x7d0 [ 94.396659][ T5351] bus_remove_device+0x444/0x560 [ 94.398752][ T5351] ? __pfx_bus_remove_device+0x10/0x10 [ 94.400976][ T5351] ? kernfs_remove_by_name_ns+0x101/0x140 [ 94.403381][ T5351] device_del+0x524/0x8f0 [ 94.405158][ T5351] ? __pfx_device_del+0x10/0x10 [ 94.407017][ T5351] device_unregister+0x21/0xf0 [ 94.409098][ T5351] unregister_virtio_device+0x37/0x60 [ 94.411436][ T5351] virtio_pci_remove+0x7f/0xf0 [ 94.413481][ T5351] pci_device_remove+0x99/0x1c0 [ 94.415588][ T5351] ? __pfx_pci_device_remove+0x10/0x10 [ 94.417977][ T5351] device_release_driver_internal+0x42b/0x7d0 [ 94.420628][ T5351] pci_stop_bus_device+0xf6/0x120 [ 94.423000][ T5351] pci_stop_and_remove_bus_device_locked+0x77/0xb0 [ 94.426256][ T5351] remove_store+0xe5/0x150 [ 94.428268][ T5351] ? __pfx_remove_store+0x10/0x10 [ 94.430452][ T5351] ? sysfs_file_kobj+0x1e4/0x230 [ 94.432648][ T5351] ? sysfs_kf_write+0x166/0x260 [ 94.434790][ T5351] ? __pfx_sysfs_kf_write+0x10/0x10 [ 94.437033][ T5351] kernfs_fop_write_iter+0x3a4/0x540 [ 94.439444][ T5351] vfs_write+0x612/0xba0 [ 94.441304][ T5351] ? __pfx_vfs_write+0x10/0x10 [ 94.443369][ T5351] ? __fget_files+0x3a2/0x420 [ 94.445350][ T5351] ? __fget_files+0x2a/0x420 [ 94.447401][ T5351] ? fdget+0x1ac/0x250 [ 94.449142][ T5351] ksys_write+0x150/0x270 [ 94.451060][ T5351] ? __pfx_ksys_write+0x10/0x10 [ 94.453159][ T5351] do_syscall_64+0x16a/0x530 [ 94.455026][ T5351] ? trace_irq_disable+0x3b/0x140 [ 94.456856][ T5351] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 94.459146][ T5351] ? clear_bhb_loop+0x70/0xc0 [ 94.461056][ T5351] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 94.463468][ T5351] RIP: 0033:0x7f24a75a94d9 [ 94.465220][ T5351] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 [ 94.473401][ T5351] RSP: 002b:00007f24a84d4fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 94.476809][ T5351] RAX: ffffffffffffffda RBX: 00007f24a7826090 RCX: 00007f24a75a94d9 [ 94.480194][ T5351] RDX: 0000000000000001 RSI: 0000200000005680 RDI: 0000000000000006 [ 94.483466][ T5351] RBP: 00007f24a763804e R08: 0000000000000000 R09: 0000000000000000 [ 94.486835][ T5351] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 94.490240][ T5351] R13: 00007f24a7826128 R14: 00007f24a7826090 R15: 00007ffcc0d5c548 [ 94.493785][ T5351] [ 94.495655][ T5351] Kernel Offset: disabled [ 94.498127][ T5351] Rebooting in 86400 seconds..