The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [syzbot] [dri?] WARNING in drm_mm_takedown
@ 2026-07-29  2:08 syzbot
  2026-08-09 20:57 ` syzbot
  0 siblings, 1 reply; 10+ messages in thread
From: syzbot @ 2026-07-29  2:08 UTC (permalink / raw)
  To: airlied, dri-devel, linux-kernel, maarten.lankhorst, mripard,
	simona, syzkaller-bugs, tzimmermann

Hello,

syzbot found the following issue on:

HEAD commit:    62cc90241548 Merge tag 'mm-hotfixes-stable-2026-07-27-14-1..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=121f9632580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=145fa60d73086782
dashboard link: https://syzkaller.appspot.com/bug?extid=d93b9064fe5f74af3aa3
compiler:       gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/d900f083ada3/non_bootable_disk-62cc9024.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/b10a9ae7e3d1/vmlinux-62cc9024.xz
kernel image: https://storage.googleapis.com/syzbot-assets/b89124d39495/bzImage-62cc9024.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+d93b9064fe5f74af3aa3@syzkaller.appspotmail.com

------------[ cut here ]------------
Memory manager not clean during takedown.
WARNING: drivers/gpu/drm/drm_mm.c:965 at drm_mm_takedown+0x62/0x280 drivers/gpu/drm/drm_mm.c:965, CPU#3: syz.1.134/6649
Modules linked in:
CPU: 3 UID: 0 PID: 6649 Comm: syz.1.134 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:drm_mm_takedown+0x62/0x280 drivers/gpu/drm/drm_mm.c:965
Code: 8b 43 38 48 39 c5 75 16 e8 2b c6 44 fc 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e c3 cc cc cc cc e8 15 c6 44 fc 48 8d 3d ce 75 68 0b <67> 48 0f b9 3a 48 c7 c0 e0 e3 46 8e 48 ba 00 00 00 00 00 fc ff df
RSP: 0018:ffffc9000383f858 EFLAGS: 00010283
RAX: 0000000000021ab5 RBX: ffff888027c40c68 RCX: ffffc90007884000
RDX: 0000000000080000 RSI: ffffffff85c59a2b RDI: ffffffff912e1000
RBP: ffff888027c40ca0 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880277dbd80
R13: ffff8880277dbd98 R14: ffffffff85c47730 R15: 0000000000000000
FS:  00007fd2ebde36c0(0000) GS:ffff8880d60dc000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa5b75eb580 CR3: 0000000025294000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 drm_managed_release+0x1bb/0x540 drivers/gpu/drm/drm_managed.c:75
 drm_dev_release drivers/gpu/drm/drm_drv.c:914 [inline]
 kref_put include/linux/kref.h:65 [inline]
 drm_dev_put.part.0+0xca/0x140 drivers/gpu/drm/drm_drv.c:948
 drm_dev_put+0x1f/0x30 drivers/gpu/drm/drm_drv.c:947
 virtio_dev_remove+0xb8/0x170 drivers/virtio/virtio.c:375
 device_remove+0xcb/0x180 drivers/base/dd.c:616
 __device_release_driver drivers/base/dd.c:1349 [inline]
 device_release_driver_internal+0x44e/0x620 drivers/base/dd.c:1372
 bus_remove_device+0x2bc/0x560 drivers/base/bus.c:664
 device_del+0x376/0x9b0 drivers/base/core.c:3961
 device_unregister+0x1d/0xe0 drivers/base/core.c:4002
 unregister_virtio_device+0x39/0x60 drivers/virtio/virtio.c:594
 virtio_pci_remove+0x7c/0x110 drivers/virtio/virtio_pci_common.c:758
 pci_device_remove+0xb2/0x1d0 drivers/pci/pci-driver.c:512
 device_remove+0xcb/0x180 drivers/base/dd.c:616
 __device_release_driver drivers/base/dd.c:1349 [inline]
 device_release_driver_internal+0x44e/0x620 drivers/base/dd.c:1372
 unbind_store+0xf8/0x110 drivers/base/bus.c:244
 drv_attr_store+0x74/0xb0 drivers/base/bus.c:125
 sysfs_kf_write+0xf2/0x150 fs/sysfs/file.c:145
 kernfs_fop_write_iter+0x3e0/0x5f0 fs/kernfs/file.c:345
 new_sync_write fs/read_write.c:595 [inline]
 vfs_write+0x6ac/0x1050 fs/read_write.c:687
 ksys_write+0x12a/0x250 fs/read_write.c:739
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd2eaf9de99
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
RSP: 002b:00007fd2ebde3028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fd2eb225fa0 RCX: 00007fd2eaf9de99
RDX: 000000000000000d RSI: 0000200000000280 RDI: 0000000000000008
RBP: 00007fd2eb033eaf R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd2eb226038 R14: 00007fd2eb225fa0 R15: 00007ffd8ff0ecc8
 </TASK>
----------------
Code disassembly (best guess):
   0:	8b 43 38             	mov    0x38(%rbx),%eax
   3:	48 39 c5             	cmp    %rax,%rbp
   6:	75 16                	jne    0x1e
   8:	e8 2b c6 44 fc       	call   0xfc44c638
   d:	48 83 c4 08          	add    $0x8,%rsp
  11:	5b                   	pop    %rbx
  12:	5d                   	pop    %rbp
  13:	41 5c                	pop    %r12
  15:	41 5d                	pop    %r13
  17:	41 5e                	pop    %r14
  19:	c3                   	ret
  1a:	cc                   	int3
  1b:	cc                   	int3
  1c:	cc                   	int3
  1d:	cc                   	int3
  1e:	e8 15 c6 44 fc       	call   0xfc44c638
  23:	48 8d 3d ce 75 68 0b 	lea    0xb6875ce(%rip),%rdi        # 0xb6875f8
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	48 c7 c0 e0 e3 46 8e 	mov    $0xffffffff8e46e3e0,%rax
  36:	48 ba 00 00 00 00 00 	movabs $0xdffffc0000000000,%rdx
  3d:	fc ff df


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [syzbot] [dri?] WARNING in drm_mm_takedown
  2026-07-29  2:08 syzbot
@ 2026-08-09 20:57 ` syzbot
  0 siblings, 0 replies; 10+ messages in thread
From: syzbot @ 2026-08-09 20:57 UTC (permalink / raw)
  To: airlied, dri-devel, linux-kernel, maarten.lankhorst, mripard,
	simona, syzkaller-bugs, tzimmermann

syzbot has found a reproducer for the following issue on:

HEAD commit:    b643e495ae92 Merge tag 's390-7.2-7' of git://git.kernel.or..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=1531a2c6580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=c44651ea7dd2f307
dashboard link: https://syzkaller.appspot.com/bug?extid=d93b9064fe5f74af3aa3
compiler:       gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=138cdfb9580000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=1373ffb9580000

Downloadable assets:
disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/d900f083ada3/non_bootable_disk-b643e495.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/9eb4fbda136d/vmlinux-b643e495.xz
kernel image: https://storage.googleapis.com/syzbot-assets/53cbbd75c40a/bzImage-b643e495.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+d93b9064fe5f74af3aa3@syzkaller.appspotmail.com

Console: switching to colour dummy device 80x25
------------[ cut here ]------------
Memory manager not clean during takedown.
WARNING: drivers/gpu/drm/drm_mm.c:965 at drm_mm_takedown+0x62/0x280 drivers/gpu/drm/drm_mm.c:965, CPU#0: syz.0.28/5943
Modules linked in:
CPU: 0 UID: 0 PID: 5943 Comm: syz.0.28 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:drm_mm_takedown+0x62/0x280 drivers/gpu/drm/drm_mm.c:965
Code: 8b 43 38 48 39 c5 75 16 e8 3b 0e 45 fc 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e e9 0a 9f f8 05 e8 25 0e 45 fc 48 8d 3d 2e cb 67 0b <67> 48 0f b9 3a 48 c7 c0 e0 13 47 8e 48 ba 00 00 00 00 00 fc ff df
RSP: 0018:ffffc90003aff790 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff88802b8a0c68 RCX: ffffffff85c5509b
RDX: ffff888030942540 RSI: ffffffff85c5655b RDI: ffffffff912d3090
RBP: ffff88802b8a0ca0 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff888029bdb900
R13: ffff888029bdb918 R14: ffffffff85c44260 R15: 0000000000000000
FS:  000055557bc5c500(0000) GS:ffff8880d5dec000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00001c245591d000 CR3: 0000000038e44000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 drm_managed_release+0x1bb/0x540 drivers/gpu/drm/drm_managed.c:75
 drm_dev_release drivers/gpu/drm/drm_drv.c:914 [inline]
 kref_put include/linux/kref.h:65 [inline]
 drm_dev_put.part.0+0xca/0x140 drivers/gpu/drm/drm_drv.c:948
 drm_dev_put+0x1f/0x30 drivers/gpu/drm/drm_drv.c:947
 virtio_dev_remove+0xb8/0x170 drivers/virtio/virtio.c:375
 device_remove+0xcb/0x180 drivers/base/dd.c:616
 __device_release_driver drivers/base/dd.c:1349 [inline]
 device_release_driver_internal+0x44e/0x620 drivers/base/dd.c:1372
 bus_remove_device+0x2bc/0x560 drivers/base/bus.c:664
 device_del+0x376/0x9b0 drivers/base/core.c:3961
 device_unregister+0x1d/0xe0 drivers/base/core.c:4002
 unregister_virtio_device+0x39/0x60 drivers/virtio/virtio.c:594
 virtio_pci_remove+0x7c/0x110 drivers/virtio/virtio_pci_common.c:758
 pci_device_remove+0xb2/0x1d0 drivers/pci/pci-driver.c:512
 device_remove+0xcb/0x180 drivers/base/dd.c:616
 __device_release_driver drivers/base/dd.c:1349 [inline]
 device_release_driver_internal+0x44e/0x620 drivers/base/dd.c:1372
 pci_stop_dev drivers/pci/remove.c:27 [inline]
 pci_stop_bus_device+0x120/0x160 drivers/pci/remove.c:93
 pci_stop_and_remove_bus_device+0x58/0xa0 drivers/pci/remove.c:128
 pci_stop_and_remove_bus_device_locked+0x1a/0x20 drivers/pci/remove.c:136
 remove_store+0x123/0x140 drivers/pci/pci-sysfs.c:523
 dev_attr_store+0x58/0x80 drivers/base/core.c:2505
 sysfs_kf_write+0xf2/0x150 fs/sysfs/file.c:145
 kernfs_fop_write_iter+0x3e0/0x5f0 fs/kernfs/file.c:345
 new_sync_write fs/read_write.c:595 [inline]
 vfs_write+0x6ac/0x1050 fs/read_write.c:687
 ksys_write+0x12a/0x250 fs/read_write.c:739
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa232f9e0d9
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
RSP: 002b:00007ffd4f8ff7c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fa233225fa0 RCX: 00007fa232f9e0d9
RDX: 0000000000000001 RSI: 00002000000000c0 RDI: 0000000000000003
RBP: 00007fa233035024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa233225fac R14: 00007fa233225fa0 R15: 00007fa233225fa0
 </TASK>
----------------
Code disassembly (best guess):
   0:	8b 43 38             	mov    0x38(%rbx),%eax
   3:	48 39 c5             	cmp    %rax,%rbp
   6:	75 16                	jne    0x1e
   8:	e8 3b 0e 45 fc       	call   0xfc450e48
   d:	48 83 c4 08          	add    $0x8,%rsp
  11:	5b                   	pop    %rbx
  12:	5d                   	pop    %rbp
  13:	41 5c                	pop    %r12
  15:	41 5d                	pop    %r13
  17:	41 5e                	pop    %r14
  19:	e9 0a 9f f8 05       	jmp    0x5f89f28
  1e:	e8 25 0e 45 fc       	call   0xfc450e48
  23:	48 8d 3d 2e cb 67 0b 	lea    0xb67cb2e(%rip),%rdi        # 0xb67cb58
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	48 c7 c0 e0 13 47 8e 	mov    $0xffffffff8e4713e0,%rax
  36:	48 ba 00 00 00 00 00 	movabs $0xdffffc0000000000,%rdx
  3d:	fc ff df


---
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [syzbot] [dri?] WARNING in drm_mm_takedown
       [not found] <0c1bf590-3b29-4bd9-a0a9-b133bd234cf3n@googlegroups.com>
@ 2026-08-24  6:36 ` syzbot
  0 siblings, 0 replies; 10+ messages in thread
From: syzbot @ 2026-08-24  6:36 UTC (permalink / raw)
  To: linux-kernel, syzkaller-bugs, tao1.yu

Hello,

syzbot tried to test the proposed patch but the build/boot failed:

32 Joules, 0 fixed counters, 10737418240 ms ovfl timer
[    5.352811][    T1] kvm_amd: CPU 1 isn't AMD or Hygon
[    5.356426][    T1] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x257a472b559, max_idle_ns: 440795210424 ns
[    5.364035][    T1] clocksource: Switched to clocksource tsc
[    5.406183][    T1] Initialise system trusted keyrings
[    5.413095][    T1] workingset: timestamp_bits=40 (anon: 35) max_order=20 bucket_order=0 (anon: 0)
[    5.427320][    T1] DLM installed
[    5.435485][    T1] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    5.447542][    T1] NFS: Registering the id_resolver key type
[    5.451696][    T1] Key type id_resolver registered
[    5.455064][    T1] Key type id_legacy registered
[    5.458354][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    5.462998][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    5.473083][    T1] smbdirect: subsystem loading...
[    5.481054][    T1] smbdirect: subsystem loaded
[    5.495040][    T1] Key type cifs.spnego registered
[    5.498591][    T1] Key type cifs.idmap registered
[    5.505968][    T1] ntfs3: Enabled Linux POSIX ACLs support
[    5.509792][    T1] ntfs3: Read-only LZX/Xpress compression included
[    5.514576][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    5.521918][    T1] romfs: ROMFS MTD (C) 2007 Red Hat, Inc.
[    5.525791][    T1] QNX4 filesystem 0.2.3 registered.
[    5.529298][    T1] qnx6: QNX6 filesystem 1.0.0 registered.
[    5.534419][    T1] fuse: init (API version 7.45)
[    5.540952][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    5.547313][    T1] orangefs_init: module version upstream loaded
[    5.553004][    T1] JFS: nTxBlock = 8192, nTxLock = 65536
[    5.569758][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, repair, quota, no debug enabled
[    5.583202][    T1] 9p: Installing v9fs 9p2000 file system support
[    5.588731][    T1] NILFS version 2 loaded
[    5.591665][    T1] befs: version: 0.9.3
[    5.595573][    T1] ocfs2: Registered cluster interface o2cb
[    5.600570][    T1] ocfs2: Registered cluster interface user
[    5.605426][    T1] OCFS2 User DLM kernel interface loaded
[    5.627190][    T1] gfs2: GFS2 installed
[    5.642316][    T1] ceph: loaded (mds proto 32)
[    5.652310][    T1] NET: Registered PF_ALG protocol family
[    5.656177][    T1] async_tx: api initialized (async)
[    5.659751][    T1] Key type asymmetric registered
[    5.662362][    T1] Asymmetric key parser 'x509' registered
[    5.665396][    T1] Asymmetric key parser 'pkcs8' registered
[    5.668828][    T1] Key type pkcs7_test registered
[    5.671968][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 239)
[    5.678840][    T1] io scheduler mq-deadline registered
[    5.682493][    T1] io scheduler kyber registered
[    5.686082][    T1] io scheduler bfq registered
[    5.689267][    T1] raid6: skipped pq benchmark and selected avx512x4
[    5.698936][  T169] kworker/u33:5 (169) used greatest stack depth: 27160 bytes left
[    5.719774][    T1] ACPI: \_SB_.GSIE: Enabled at IRQ 20
[    5.731254][    T1] pcieport 0000:00:04.0: PME: Signaling with IRQ 25
[    5.737966][    T1] pcieport 0000:00:04.0: AER: enabled with IRQ 26
[    5.751359][    T1] input: Power Button as /devices/platform/LNXPWRBN:00/input/input0
[    5.758527][    T1] ACPI: button: Power Button [PWRF]
[    6.135929][    T1] ioatdma: Intel(R) QuickData Technology Driver 5.00
[    6.184670][    T1] ACPI: \_SB_.GSIF: Enabled at IRQ 21
[    6.224243][    T1] ACPI: \_SB_.GSIH: Enabled at IRQ 23
[    6.376535][  T422] kworker/u33:6 (422) used greatest stack depth: 26904 bytes left
[    6.582563][    T1] N_HDLC line discipline registered with maxframe=4096
[    6.589499][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    6.596966][    T1] 00:04: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    6.644100][    T1] Non-volatile memory driver v1.3
[    6.661350][    T1] usbcore: registered new interface driver xillyusb
[    6.669978][    T1] ACPI: bus type drm_connector registered
[    6.689938][    T1] [drm] Initialized vgem 1.0.0 for vgem on minor 0
[    6.693748][    T1] usbcore: registered new interface driver udl
[    6.697950][    T1] [drm] pci: virtio-vga detected at 0000:00:01.0
[    6.701716][    T1] virtio-pci 0000:00:01.0: vgaarb: deactivate vga console
[    6.727071][    T1] Console: switching to colour dummy device 80x25
[    6.732332][    T1] [drm] features: -virgl +edid -resource_blob -host_visible
[    6.732344][    T1] [drm] features: -context_init -blob_alignment
[    6.744000][    T1] [drm] number of scanouts: 1
[    6.748020][    T1] [drm] number of cap sets: 0
[    6.752914][    T1] ------------[ cut here ]------------
[    6.755910][    T1] [PLANE:36:plane-1] pixel format with alpha exposed but blend mode not setup
[    6.755920][    T1] WARNING: drivers/gpu/drm/drm_mode_config.c:872 at drm_mode_config_validate+0xfb4/0x1be0, CPU#2: swapper/0/1
[    6.767418][    T1] Modules linked in:
[    6.769701][    T1] CPU: 2 UID: 0 PID: 1 Comm: swapper/0 Not tainted syzkaller #0 PREEMPT(full) 
[    6.774395][    T1] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[    6.779609][    T1] RIP: 0010:drm_mode_config_validate+0xfbb/0x1be0
[    6.783271][    T1] Code: 00 49 8b 57 18 48 89 f8 48 c1 e8 03 0f b6 04 28 84 c0 74 08 3c 03 0f 8e 00 0b 00 00 48 8d 3d bc 1c 7f 0b 41 8b b7 c8 00 00 00 <67> 48 0f b9 3a e9 fa fd ff ff 48 8b 5c 24 20 e8 11 c5 3a fc 48 8d
[    6.795026][    T1] RSP: 0000:ffffc90000047908 EFLAGS: 00010246
[    6.799169][    T1] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[    6.803260][    T1] RDX: ffff888027dca9a0 RSI: 0000000000000024 RDI: ffffffff914f7d80
[    6.807344][    T1] RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000000
[    6.811371][    T1] R10: 0000000000000001 R11: 0000000000000000 R12: ffffed1004ff9e23
[    6.815416][    T1] R13: ffffed1004ff9e24 R14: 0000000000000001 R15: ffff888027fcf028
[    6.820211][    T1] FS:  0000000000000000(0000) GS:ffff8880d5d86000(0000) knlGS:0000000000000000
[    6.825284][    T1] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    6.829406][    T1] CR2: 0000000000000000 CR3: 000000000eb94000 CR4: 0000000000352ef0
[    6.833808][    T1] Call Trace:
[    6.835812][    T1]  <TASK>
[    6.837245][    T1]  ? queue_work_on+0x137/0x1e0
[    6.839718][    T1]  drm_dev_register+0x56e/0x7b0
[    6.842181][    T1]  ? aperture_remove_conflicting_pci_devices+0x138/0x1e0
[    6.845665][    T1]  virtio_gpu_probe+0x271/0x360
[    6.848197][    T1]  virtio_dev_probe+0x6a2/0xbe0
[    6.850766][    T1]  ? __pfx_virtio_dev_probe+0x10/0x10
[    6.853811][    T1]  ? kernfs_create_link+0x1bd/0x240
[    6.856510][    T1]  ? kernfs_put+0x3f/0x60
[    6.859112][    T1]  ? sysfs_do_create_link_sd+0xbb/0x140
[    6.862571][    T1]  ? sysfs_create_link+0x68/0xc0
[    6.865746][    T1]  ? __pfx_virtio_dev_probe+0x10/0x10
[    6.869008][    T1]  really_probe+0x241/0xa60
[    6.871581][    T1]  __driver_probe_device+0x210/0x460
[    6.874260][    T1]  ? _raw_spin_unlock_irqrestore+0x52/0x80
[    6.877556][    T1]  driver_probe_device+0x4a/0x140
[    6.880231][    T1]  __driver_attach+0x21f/0x5b0
[    6.882616][    T1]  ? __pfx___driver_attach+0x10/0x10
[    6.885401][    T1]  bus_for_each_dev+0x13e/0x1d0
[    6.888683][    T1]  ? __pfx_bus_for_each_dev+0x10/0x10
[    6.892385][    T1]  ? bus_add_driver+0x2b5/0x5b0
[    6.895374][    T1]  bus_add_driver+0x305/0x5b0
[    6.897777][    T1]  driver_register+0x1e2/0x360
[    6.900188][    T1]  ? __pfx_virtio_gpu_driver_init+0x10/0x10
[    6.903143][    T1]  virtio_gpu_driver_init+0xc9/0x170
[    6.906247][    T1]  do_one_initcall+0x11c/0x6f0
[    6.908791][    T1]  ? __pfx_do_one_initcall+0x10/0x10
[    6.911643][    T1]  ? kernel_init_freeable+0x4ca/0x7b0
[    6.915241][    T1]  kernel_init_freeable+0x6ea/0x7b0
[    6.918167][    T1]  ? __pfx_kernel_init+0x10/0x10
[    6.921181][    T1]  kernel_init+0x21/0x1e0
[    6.923889][    T1]  ? __pfx_kernel_init+0x10/0x10
[    6.926426][    T1]  ret_from_fork+0x730/0xd60
[    6.929327][    T1]  ? __pfx_ret_from_fork+0x10/0x10
[    6.932314][    T1]  ? __switch_to+0x800/0x10f0
[    6.935329][    T1]  ? __pfx_kernel_init+0x10/0x10
[    6.938325][    T1]  ret_from_fork_asm+0x1a/0x30
[    6.940872][    T1]  </TASK>
[    6.942652][    T1] Kernel panic - not syncing: kernel: panic_on_warn set ...
[    6.945295][    T1] CPU: 2 UID: 0 PID: 1 Comm: swapper/0 Not tainted syzkaller #0 PREEMPT(full) 
[    6.945295][    T1] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[    6.945295][    T1] Call Trace:
[    6.945295][    T1]  <TASK>
[    6.945295][    T1]  dump_stack_lvl+0x100/0x190
[    6.945295][    T1]  vpanic+0x553/0x970
[    6.945295][    T1]  ? __pfx_vpanic+0x10/0x10
[    6.945295][    T1]  panic+0xd1/0xe0
[    6.945295][    T1]  ? __pfx_panic+0x10/0x10
[    6.945295][    T1]  check_panic_on_warn.cold+0x19/0x34
[    6.945295][    T1]  ? drm_mode_config_validate+0xfb4/0x1be0
[    6.945295][    T1]  __warn.cold+0x191/0x318
[    6.945295][    T1]  __report_bug+0x30f/0x440
[    6.945295][    T1]  ? drm_mode_config_validate+0xfb4/0x1be0
[    6.945295][    T1]  ? __pfx___report_bug+0x10/0x10
[    6.995341][    T1]  ? __pfx___might_resched+0x10/0x10
[    6.995341][    T1]  ? schedule_timeout+0x161/0x280
[    6.995341][    T1]  report_bug_entry+0xe2/0x290
[    6.995341][    T1]  ? drm_mode_config_validate+0xfbb/0x1be0
[    6.995341][    T1]  handle_bug+0x1cd/0x2a0
[    6.995341][    T1]  exc_invalid_op+0x17/0x50
[    6.995341][    T1]  asm_exc_invalid_op+0x1a/0x20
[    6.995341][    T1] RIP: 0010:drm_mode_config_validate+0xfbb/0x1be0
[    6.995341][    T1] Code: 00 49 8b 57 18 48 89 f8 48 c1 e8 03 0f b6 04 28 84 c0 74 08 3c 03 0f 8e 00 0b 00 00 48 8d 3d bc 1c 7f 0b 41 8b b7 c8 00 00 00 <67> 48 0f b9 3a e9 fa fd ff ff 48 8b 5c 24 20 e8 11 c5 3a fc 48 8d
[    6.995341][    T1] RSP: 0000:ffffc90000047908 EFLAGS: 00010246
[    6.995341][    T1] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[    6.995341][    T1] RDX: ffff888027dca9a0 RSI: 0000000000000024 RDI: ffffffff914f7d80
[    7.045509][    T1] RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000000
[    7.045509][    T1] R10: 0000000000000001 R11: 0000000000000000 R12: ffffed1004ff9e23
[    7.045509][    T1] R13: ffffed1004ff9e24 R14: 0000000000000001 R15: ffff888027fcf028
[    7.045509][    T1]  ? drm_mode_config_validate+0xf76/0x1be0
[    7.045509][    T1]  ? queue_work_on+0x137/0x1e0
[    7.045509][    T1]  drm_dev_register+0x56e/0x7b0
[    7.045509][    T1]  ? aperture_remove_conflicting_pci_devices+0x138/0x1e0
[    7.045509][    T1]  virtio_gpu_probe+0x271/0x360
[    7.045509][    T1]  virtio_dev_probe+0x6a2/0xbe0
[    7.045509][    T1]  ? __pfx_virtio_dev_probe+0x10/0x10
[    7.045509][    T1]  ? kernfs_create_link+0x1bd/0x240
[    7.045509][    T1]  ? kernfs_put+0x3f/0x60
[    7.045509][    T1]  ? sysfs_do_create_link_sd+0xbb/0x140
[    7.045509][    T1]  ? sysfs_create_link+0x68/0xc0
[    7.095424][    T1]  ? __pfx_virtio_dev_probe+0x10/0x10
[    7.095424][    T1]  really_probe+0x241/0xa60
[    7.095424][    T1]  __driver_probe_device+0x210/0x460
[    7.095424][    T1]  ? _raw_spin_unlock_irqrestore+0x52/0x80
[    7.095424][    T1]  driver_probe_device+0x4a/0x140
[    7.095424][    T1]  __driver_attach+0x21f/0x5b0
[    7.095424][    T1]  ? __pfx___driver_attach+0x10/0x10
[    7.095424][    T1]  bus_for_each_dev+0x13e/0x1d0
[    7.095424][    T1]  ? __pfx_bus_for_each_dev+0x10/0x10
[    7.095424][    T1]  ? bus_add_driver+0x2b5/0x5b0
[    7.095424][    T1]  bus_add_driver+0x305/0x5b0
[    7.095424][    T1]  driver_register+0x1e2/0x360
[    7.095424][    T1]  ? __pfx_virtio_gpu_driver_init+0x10/0x10
[    7.095424][    T1]  virtio_gpu_driver_init+0xc9/0x170
[    7.095424][    T1]  do_one_initcall+0x11c/0x6f0
[    7.095424][    T1]  ? __pfx_do_one_initcall+0x10/0x10
[    7.145266][    T1]  ? kernel_init_freeable+0x4ca/0x7b0
[    7.145266][    T1]  kernel_init_freeable+0x6ea/0x7b0
[    7.145266][    T1]  ? __pfx_kernel_init+0x10/0x10
[    7.145266][    T1]  kernel_init+0x21/0x1e0
[    7.145266][    T1]  ? __pfx_kernel_init+0x10/0x10
[    7.145266][    T1]  ret_from_fork+0x730/0xd60
[    7.145266][    T1]  ? __pfx_ret_from_fork+0x10/0x10
[    7.145266][    T1]  ? __switch_to+0x800/0x10f0
[    7.145266][    T1]  ? __pfx_kernel_init+0x10/0x10
[    7.145266][    T1]  ret_from_fork_asm+0x1a/0x30
[    7.145266][    T1]  </TASK>
[    7.145266][    T1] Kernel Offset: disabled
[    7.145266][    T1] Rebooting in 86400 seconds..


syzkaller build log:
go env (err=<nil>)
AR='ar'
CC='gcc'
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_ENABLED='1'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
CXX='g++'
GCCGO='gccgo'
GO111MODULE='auto'
GOAMD64='v1'
GOARCH='amd64'
GOAUTH='netrc'
GOBIN=''
GOCACHE='/syzkaller/.cache/go-build'
GOCACHEPROG=''
GODEBUG=''
GOENV='/syzkaller/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFIPS140='off'
GOFLAGS=''
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build395131052=/tmp/go-build -gno-record-gcc-switches'
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMOD='/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/go.mod'
GOMODCACHE='/syzkaller/jobs/linux/gopath/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/syzkaller/jobs/linux/gopath'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/usr/local/go'
GOSUMDB='sum.golang.org'
GOTELEMETRY='local'
GOTELEMETRYDIR='/syzkaller/.config/go/telemetry'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.26.0'
GOWORK=''
PKG_CONFIG='pkg-config'

git status (err=<nil>)
HEAD detached at 5d63f80b763
nothing to commit, working tree clean


tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
Makefile:31: run command via tools/syz-env for best compatibility, see:
Makefile:32: https://github.com/google/syzkaller/blob/master/docs/contributing.md#using-syz-env
go list -f '{{.Stale}}' -ldflags="-s -w -X github.com/google/syzkaller/prog.GitRevision=5d63f80b763910b40ae04a96c13dc75d621bea67 -X github.com/google/syzkaller/prog.gitRevisionDate=20260807-150932"  ./sys/syz-sysgen | grep -q false || go install -ldflags="-s -w -X github.com/google/syzkaller/prog.GitRevision=5d63f80b763910b40ae04a96c13dc75d621bea67 -X github.com/google/syzkaller/prog.gitRevisionDate=20260807-150932"  ./sys/syz-sysgen
make .descriptions
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
Makefile:31: run command via tools/syz-env for best compatibility, see:
Makefile:32: https://github.com/google/syzkaller/blob/master/docs/contributing.md#using-syz-env
bin/syz-sysgen
touch .descriptions
GOOS=linux GOARCH=amd64 go build -ldflags="-s -w -X github.com/google/syzkaller/prog.GitRevision=5d63f80b763910b40ae04a96c13dc75d621bea67 -X github.com/google/syzkaller/prog.gitRevisionDate=20260807-150932"  -o ./bin/linux_amd64/syz-execprog github.com/google/syzkaller/tools/syz-execprog
mkdir -p ./bin/linux_amd64
g++ -o ./bin/linux_amd64/syz-executor executor/executor.cc \
	-m64 -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-stringop-overflow -Wno-array-bounds -Wno-format-overflow -Wno-unused-but-set-variable -Wno-unused-command-line-argument -static-pie -std=c++17 -I. -Iexecutor/_include   -DGOOS_linux=1 -DGOARCH_amd64=1 \
	-DHOSTGOOS_linux=1 -DGIT_REVISION=\"5d63f80b763910b40ae04a96c13dc75d621bea67\"
/usr/bin/ld: /tmp/ccMrnHjB.o: in function `Connection::Connect(char const*, char const*)':
executor.cc:(.text._ZN10Connection7ConnectEPKcS1_[_ZN10Connection7ConnectEPKcS1_]+0x386): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
./tools/check-syzos.sh 2>/dev/null


Error text is too large and was truncated, full error text is at:
https://syzkaller.appspot.com/x/error.txt?x=173f8979580000


Tested on:

commit:         910bf66b drm/virtio: defer host visible cleanup to man..
git tree:       https://github.com/yutao-intel/linux.git fix-dri-virtio
kernel config:  https://syzkaller.appspot.com/x/.config?x=28d806ce16ed1cb2
dashboard link: https://syzkaller.appspot.com/bug?extid=d93b9064fe5f74af3aa3
compiler:       gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44

Note: no patches were applied.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [syzbot] [dri?] WARNING in drm_mm_takedown
       [not found] <968ad555-6f0b-41f7-b84b-66f07e600262n@googlegroups.com>
@ 2026-08-24  7:44 ` syzbot
  0 siblings, 0 replies; 10+ messages in thread
From: syzbot @ 2026-08-24  7:44 UTC (permalink / raw)
  To: linux-kernel, syzkaller-bugs, tao1.yu

Hello,

syzbot has tested the proposed patch but the reproducer is still triggering an issue:
WARNING in drm_mm_takedown

Console: switching to colour dummy device 80x25
------------[ cut here ]------------
Memory manager not clean during takedown.
WARNING: drivers/gpu/drm/drm_mm.c:965 at drm_mm_takedown+0x62/0x280 drivers/gpu/drm/drm_mm.c:965, CPU#2: syz.0.26/6291
Modules linked in:
CPU: 2 UID: 0 PID: 6291 Comm: syz.0.26 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:drm_mm_takedown+0x62/0x280 drivers/gpu/drm/drm_mm.c:965
Code: 8b 43 38 48 39 c5 75 16 e8 eb 42 45 fc 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e c3 cc cc cc cc e8 d5 42 45 fc 48 8d 3d 0e 72 68 0b <67> 48 0f b9 3a 48 c7 c0 e0 c3 46 8e 48 ba 00 00 00 00 00 fc ff df
RSP: 0018:ffffc900033ff790 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff888034d4f468 RCX: ffffffff85c4f8ab
RDX: ffff888029f08000 RSI: ffffffff85c50d6b RDI: ffffffff912d7f80
RBP: ffff888034d4f4a0 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88802f211800
R13: ffff88802f211818 R14: ffffffff85c3ea70 R15: 0000000000000000
FS:  00007fb8cf0616c0(0000) GS:ffff8880d5ff1000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb8cf03fff8 CR3: 0000000027310000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 drm_managed_release+0x1bb/0x540 drivers/gpu/drm/drm_managed.c:75
 drm_dev_release drivers/gpu/drm/drm_drv.c:914 [inline]
 kref_put include/linux/kref.h:65 [inline]
 drm_dev_put.part.0+0xca/0x140 drivers/gpu/drm/drm_drv.c:948
 drm_dev_put+0x1f/0x30 drivers/gpu/drm/drm_drv.c:947
 virtio_dev_remove+0xb8/0x170 drivers/virtio/virtio.c:375
 device_remove+0xcb/0x180 drivers/base/dd.c:616
 __device_release_driver drivers/base/dd.c:1349 [inline]
 device_release_driver_internal+0x44e/0x620 drivers/base/dd.c:1372
 bus_remove_device+0x2bc/0x560 drivers/base/bus.c:664
 device_del+0x376/0x9b0 drivers/base/core.c:3961
 device_unregister+0x1d/0xe0 drivers/base/core.c:4002
 unregister_virtio_device+0x39/0x60 drivers/virtio/virtio.c:594
 virtio_pci_remove+0x7c/0x110 drivers/virtio/virtio_pci_common.c:758
 pci_device_remove+0xb2/0x1d0 drivers/pci/pci-driver.c:512
 device_remove+0xcb/0x180 drivers/base/dd.c:616
 __device_release_driver drivers/base/dd.c:1349 [inline]
 device_release_driver_internal+0x44e/0x620 drivers/base/dd.c:1372
 pci_stop_dev drivers/pci/remove.c:27 [inline]
 pci_stop_bus_device+0x120/0x160 drivers/pci/remove.c:93
 pci_stop_and_remove_bus_device+0x58/0xa0 drivers/pci/remove.c:128
 pci_stop_and_remove_bus_device_locked+0x1a/0x20 drivers/pci/remove.c:136
 remove_store+0x123/0x140 drivers/pci/pci-sysfs.c:523
 dev_attr_store+0x58/0x80 drivers/base/core.c:2505
 sysfs_kf_write+0xf2/0x150 fs/sysfs/file.c:145
 kernfs_fop_write_iter+0x3e0/0x5f0 fs/kernfs/file.c:345
 new_sync_write fs/read_write.c:595 [inline]
 vfs_write+0x6ac/0x1050 fs/read_write.c:687
 ksys_write+0x12a/0x250 fs/read_write.c:739
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fb8ce19e0d9
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
RSP: 002b:00007fb8cf061028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fb8ce425fa0 RCX: 00007fb8ce19e0d9
RDX: 0000000000000001 RSI: 00002000000000c0 RDI: 0000000000000003
RBP: 00007fb8ce235024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fb8ce426038 R14: 00007fb8ce425fa0 R15: 00007ffd47a213f8
 </TASK>
----------------
Code disassembly (best guess):
   0:	8b 43 38             	mov    0x38(%rbx),%eax
   3:	48 39 c5             	cmp    %rax,%rbp
   6:	75 16                	jne    0x1e
   8:	e8 eb 42 45 fc       	call   0xfc4542f8
   d:	48 83 c4 08          	add    $0x8,%rsp
  11:	5b                   	pop    %rbx
  12:	5d                   	pop    %rbp
  13:	41 5c                	pop    %r12
  15:	41 5d                	pop    %r13
  17:	41 5e                	pop    %r14
  19:	c3                   	ret
  1a:	cc                   	int3
  1b:	cc                   	int3
  1c:	cc                   	int3
  1d:	cc                   	int3
  1e:	e8 d5 42 45 fc       	call   0xfc4542f8
  23:	48 8d 3d 0e 72 68 0b 	lea    0xb68720e(%rip),%rdi        # 0xb687238
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	48 c7 c0 e0 c3 46 8e 	mov    $0xffffffff8e46c3e0,%rax
  36:	48 ba 00 00 00 00 00 	movabs $0xdffffc0000000000,%rdx
  3d:	fc ff df


Tested on:

commit:         3ec54d5f drm/virtio: defer host visible cleanup to man..
git tree:       https://github.com/yutao-intel/linux.git fix-dri-virtio-align-HEAD
console output: https://syzkaller.appspot.com/x/log.txt?x=14512625580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=acc0a882b963ae23
dashboard link: https://syzkaller.appspot.com/bug?extid=d93b9064fe5f74af3aa3
compiler:       gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44

Note: no patches were applied.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [syzbot] [dri?] WARNING in drm_mm_takedown
       [not found] <2c1e2693-b113-4c19-931d-04b977c36dbbn@googlegroups.com>
@ 2026-08-25  3:19 ` syzbot
  0 siblings, 0 replies; 10+ messages in thread
From: syzbot @ 2026-08-25  3:19 UTC (permalink / raw)
  To: linux-kernel, syzkaller-bugs, tao1.yu

Hello,

syzbot has tested the proposed patch but the reproducer is still triggering an issue:
WARNING in drm_mm_takedown

Console: switching to colour dummy device 80x25
------------[ cut here ]------------
Memory manager not clean during takedown.
WARNING: drivers/gpu/drm/drm_mm.c:965 at drm_mm_takedown+0x62/0x280 drivers/gpu/drm/drm_mm.c:965, CPU#3: syz.0.24/6257
Modules linked in:
CPU: 3 UID: 0 PID: 6257 Comm: syz.0.24 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:drm_mm_takedown+0x62/0x280 drivers/gpu/drm/drm_mm.c:965
Code: 8b 43 38 48 39 c5 75 16 e8 eb 42 45 fc 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e c3 cc cc cc cc e8 d5 42 45 fc 48 8d 3d 0e 72 68 0b <67> 48 0f b9 3a 48 c7 c0 e0 c3 46 8e 48 ba 00 00 00 00 00 fc ff df
RSP: 0018:ffffc90003087790 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff88802d6bdc68 RCX: ffffffff85c4f8ab
RDX: ffff88802a662540 RSI: ffffffff85c50d6b RDI: ffffffff912d7f80
RBP: ffff88802d6bdca0 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff888023321600
R13: ffff888023321618 R14: ffffffff85c3ea70 R15: 0000000000000000
FS:  00007ff16d1b16c0(0000) GS:ffff8880d60f1000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff16c627dac CR3: 0000000029db0000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 drm_managed_release+0x1bb/0x540 drivers/gpu/drm/drm_managed.c:75
 drm_dev_release drivers/gpu/drm/drm_drv.c:914 [inline]
 kref_put include/linux/kref.h:65 [inline]
 drm_dev_put.part.0+0xca/0x140 drivers/gpu/drm/drm_drv.c:948
 drm_dev_put+0x1f/0x30 drivers/gpu/drm/drm_drv.c:947
 virtio_dev_remove+0xb8/0x170 drivers/virtio/virtio.c:375
 device_remove+0xcb/0x180 drivers/base/dd.c:616
 __device_release_driver drivers/base/dd.c:1349 [inline]
 device_release_driver_internal+0x44e/0x620 drivers/base/dd.c:1372
 bus_remove_device+0x2bc/0x560 drivers/base/bus.c:664
 device_del+0x376/0x9b0 drivers/base/core.c:3961
 device_unregister+0x1d/0xe0 drivers/base/core.c:4002
 unregister_virtio_device+0x39/0x60 drivers/virtio/virtio.c:594
 virtio_pci_remove+0x7c/0x110 drivers/virtio/virtio_pci_common.c:758
 pci_device_remove+0xb2/0x1d0 drivers/pci/pci-driver.c:512
 device_remove+0xcb/0x180 drivers/base/dd.c:616
 __device_release_driver drivers/base/dd.c:1349 [inline]
 device_release_driver_internal+0x44e/0x620 drivers/base/dd.c:1372
 pci_stop_dev drivers/pci/remove.c:27 [inline]
 pci_stop_bus_device+0x120/0x160 drivers/pci/remove.c:93
 pci_stop_and_remove_bus_device+0x58/0xa0 drivers/pci/remove.c:128
 pci_stop_and_remove_bus_device_locked+0x1a/0x20 drivers/pci/remove.c:136
 remove_store+0x123/0x140 drivers/pci/pci-sysfs.c:523
 dev_attr_store+0x58/0x80 drivers/base/core.c:2505
 sysfs_kf_write+0xf2/0x150 fs/sysfs/file.c:145
 kernfs_fop_write_iter+0x3e0/0x5f0 fs/kernfs/file.c:345
 new_sync_write fs/read_write.c:595 [inline]
 vfs_write+0x6ac/0x1050 fs/read_write.c:687
 ksys_write+0x12a/0x250 fs/read_write.c:739
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ff16c39e0d9
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
RSP: 002b:00007ff16d1b1028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007ff16c625fa0 RCX: 00007ff16c39e0d9
RDX: 0000000000000001 RSI: 00002000000000c0 RDI: 0000000000000003
RBP: 00007ff16c435024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ff16c626038 R14: 00007ff16c625fa0 R15: 00007ffc4bf9de98
 </TASK>
----------------
Code disassembly (best guess):
   0:	8b 43 38             	mov    0x38(%rbx),%eax
   3:	48 39 c5             	cmp    %rax,%rbp
   6:	75 16                	jne    0x1e
   8:	e8 eb 42 45 fc       	call   0xfc4542f8
   d:	48 83 c4 08          	add    $0x8,%rsp
  11:	5b                   	pop    %rbx
  12:	5d                   	pop    %rbp
  13:	41 5c                	pop    %r12
  15:	41 5d                	pop    %r13
  17:	41 5e                	pop    %r14
  19:	c3                   	ret
  1a:	cc                   	int3
  1b:	cc                   	int3
  1c:	cc                   	int3
  1d:	cc                   	int3
  1e:	e8 d5 42 45 fc       	call   0xfc4542f8
  23:	48 8d 3d 0e 72 68 0b 	lea    0xb68720e(%rip),%rdi        # 0xb687238
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	48 c7 c0 e0 c3 46 8e 	mov    $0xffffffff8e46c3e0,%rax
  36:	48 ba 00 00 00 00 00 	movabs $0xdffffc0000000000,%rdx
  3d:	fc ff df


Tested on:

commit:         3a4435f6 drm/virtio: tear down host visible drm_mm wit..
git tree:       https://github.com/yutao-intel/linux.git fix-dri-virtio-align-HEAD
console output: https://syzkaller.appspot.com/x/log.txt?x=10efe415580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=acc0a882b963ae23
dashboard link: https://syzkaller.appspot.com/bug?extid=d93b9064fe5f74af3aa3
compiler:       gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44

Note: no patches were applied.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [syzbot] [dri?] WARNING in drm_mm_takedown
       [not found] <3be6397f-9566-488f-a1c2-05988c0f28c7n@googlegroups.com>
@ 2026-08-25  3:44 ` syzbot
  0 siblings, 0 replies; 10+ messages in thread
From: syzbot @ 2026-08-25  3:44 UTC (permalink / raw)
  To: linux-kernel, syzkaller-bugs, tao1.yu

Hello,

syzbot has tested the proposed patch but the reproducer is still triggering an issue:
WARNING in drm_mm_takedown

Console: switching to colour dummy device 80x25
------------[ cut here ]------------
Memory manager not clean during takedown.
WARNING: drivers/gpu/drm/drm_mm.c:965 at drm_mm_takedown+0x62/0x280 drivers/gpu/drm/drm_mm.c:965, CPU#3: syz.0.23/6278
Modules linked in:
CPU: 3 UID: 0 PID: 6278 Comm: syz.0.23 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:drm_mm_takedown+0x62/0x280 drivers/gpu/drm/drm_mm.c:965
Code: 8b 43 38 48 39 c5 75 16 e8 eb 42 45 fc 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e c3 cc cc cc cc e8 d5 42 45 fc 48 8d 3d 0e 72 68 0b <67> 48 0f b9 3a 48 c7 c0 e0 c3 46 8e 48 ba 00 00 00 00 00 fc ff df
RSP: 0018:ffffc90003c2f790 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff88803b7d1868 RCX: ffffffff85c4f8ab
RDX: ffff88802b49a540 RSI: ffffffff85c50d6b RDI: ffffffff912d7f80
RBP: ffff88803b7d18a0 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88802bc8ed00
R13: ffff88802bc8ed18 R14: ffffffff85c3ea70 R15: 0000000000000000
FS:  00007f7ae5c196c0(0000) GS:ffff8880d60f1000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc84fbc0b8 CR3: 0000000038100000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 drm_managed_release+0x1bb/0x540 drivers/gpu/drm/drm_managed.c:75
 drm_dev_release drivers/gpu/drm/drm_drv.c:914 [inline]
 kref_put include/linux/kref.h:65 [inline]
 drm_dev_put.part.0+0xca/0x140 drivers/gpu/drm/drm_drv.c:948
 drm_dev_put+0x1f/0x30 drivers/gpu/drm/drm_drv.c:947
 virtio_dev_remove+0xb8/0x170 drivers/virtio/virtio.c:375
 device_remove+0xcb/0x180 drivers/base/dd.c:616
 __device_release_driver drivers/base/dd.c:1349 [inline]
 device_release_driver_internal+0x44e/0x620 drivers/base/dd.c:1372
 bus_remove_device+0x2bc/0x560 drivers/base/bus.c:664
 device_del+0x376/0x9b0 drivers/base/core.c:3961
 device_unregister+0x1d/0xe0 drivers/base/core.c:4002
 unregister_virtio_device+0x39/0x60 drivers/virtio/virtio.c:594
 virtio_pci_remove+0x7c/0x110 drivers/virtio/virtio_pci_common.c:758
 pci_device_remove+0xb2/0x1d0 drivers/pci/pci-driver.c:512
 device_remove+0xcb/0x180 drivers/base/dd.c:616
 __device_release_driver drivers/base/dd.c:1349 [inline]
 device_release_driver_internal+0x44e/0x620 drivers/base/dd.c:1372
 pci_stop_dev drivers/pci/remove.c:27 [inline]
 pci_stop_bus_device+0x120/0x160 drivers/pci/remove.c:93
 pci_stop_and_remove_bus_device+0x58/0xa0 drivers/pci/remove.c:128
 pci_stop_and_remove_bus_device_locked+0x1a/0x20 drivers/pci/remove.c:136
 remove_store+0x123/0x140 drivers/pci/pci-sysfs.c:523
 dev_attr_store+0x58/0x80 drivers/base/core.c:2505
 sysfs_kf_write+0xf2/0x150 fs/sysfs/file.c:145
 kernfs_fop_write_iter+0x3e0/0x5f0 fs/kernfs/file.c:345
 new_sync_write fs/read_write.c:595 [inline]
 vfs_write+0x6ac/0x1050 fs/read_write.c:687
 ksys_write+0x12a/0x250 fs/read_write.c:739
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f7ae4d9e0d9
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
RSP: 002b:00007f7ae5c19028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f7ae5025fa0 RCX: 00007f7ae4d9e0d9
RDX: 0000000000000001 RSI: 00002000000000c0 RDI: 0000000000000003
RBP: 00007f7ae4e35024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f7ae5026038 R14: 00007f7ae5025fa0 R15: 00007ffc84fbbd58
 </TASK>
----------------
Code disassembly (best guess):
   0:	8b 43 38             	mov    0x38(%rbx),%eax
   3:	48 39 c5             	cmp    %rax,%rbp
   6:	75 16                	jne    0x1e
   8:	e8 eb 42 45 fc       	call   0xfc4542f8
   d:	48 83 c4 08          	add    $0x8,%rsp
  11:	5b                   	pop    %rbx
  12:	5d                   	pop    %rbp
  13:	41 5c                	pop    %r12
  15:	41 5d                	pop    %r13
  17:	41 5e                	pop    %r14
  19:	c3                   	ret
  1a:	cc                   	int3
  1b:	cc                   	int3
  1c:	cc                   	int3
  1d:	cc                   	int3
  1e:	e8 d5 42 45 fc       	call   0xfc4542f8
  23:	48 8d 3d 0e 72 68 0b 	lea    0xb68720e(%rip),%rdi        # 0xb687238
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	48 c7 c0 e0 c3 46 8e 	mov    $0xffffffff8e46c3e0,%rax
  36:	48 ba 00 00 00 00 00 	movabs $0xdffffc0000000000,%rdx
  3d:	fc ff df


Tested on:

commit:         633a40fd drm/virtio: reclaim pending vbufs before host..
git tree:       https://github.com/yutao-intel/linux.git fix-dri-virtio-align-HEAD
console output: https://syzkaller.appspot.com/x/log.txt?x=12801415580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=acc0a882b963ae23
dashboard link: https://syzkaller.appspot.com/bug?extid=d93b9064fe5f74af3aa3
compiler:       gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44

Note: no patches were applied.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [syzbot] [dri?] WARNING in drm_mm_takedown
       [not found] <df3a1b07-755a-403e-8229-2b11ee55cc01n@googlegroups.com>
@ 2026-08-25  4:30 ` syzbot
  0 siblings, 0 replies; 10+ messages in thread
From: syzbot @ 2026-08-25  4:30 UTC (permalink / raw)
  To: linux-kernel, syzkaller-bugs, tao1.yu

Hello,

syzbot has tested the proposed patch but the reproducer is still triggering an issue:
WARNING in drm_mm_takedown

Console: switching to colour dummy device 80x25
------------[ cut here ]------------
Memory manager not clean during takedown.
WARNING: drivers/gpu/drm/drm_mm.c:965 at drm_mm_takedown+0x62/0x280 drivers/gpu/drm/drm_mm.c:965, CPU#1: syz.0.22/6271
Modules linked in:
CPU: 1 UID: 0 PID: 6271 Comm: syz.0.22 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:drm_mm_takedown+0x62/0x280 drivers/gpu/drm/drm_mm.c:965
Code: 8b 43 38 48 39 c5 75 16 e8 eb 42 45 fc 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e c3 cc cc cc cc e8 d5 42 45 fc 48 8d 3d 0e 72 68 0b <67> 48 0f b9 3a 48 c7 c0 e0 c3 46 8e 48 ba 00 00 00 00 00 fc ff df
RSP: 0018:ffffc9000607f790 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff88804754e868 RCX: ffffffff85c4f8ab
RDX: ffff888025482540 RSI: ffffffff85c50d6b RDI: ffffffff912d7f80
RBP: ffff88804754e8a0 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88803d419400
R13: ffff88803d419418 R14: ffffffff85c3ea70 R15: 0000000000000000
FS:  00007f803fef06c0(0000) GS:ffff8880d5ef1000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f803feceff8 CR3: 000000003e66d000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 drm_managed_release+0x1bb/0x540 drivers/gpu/drm/drm_managed.c:75
 drm_dev_release drivers/gpu/drm/drm_drv.c:914 [inline]
 kref_put include/linux/kref.h:65 [inline]
 drm_dev_put.part.0+0xca/0x140 drivers/gpu/drm/drm_drv.c:948
 drm_dev_put+0x1f/0x30 drivers/gpu/drm/drm_drv.c:947
 virtio_dev_remove+0xb8/0x170 drivers/virtio/virtio.c:375
 device_remove+0xcb/0x180 drivers/base/dd.c:616
 __device_release_driver drivers/base/dd.c:1349 [inline]
 device_release_driver_internal+0x44e/0x620 drivers/base/dd.c:1372
 bus_remove_device+0x2bc/0x560 drivers/base/bus.c:664
 device_del+0x376/0x9b0 drivers/base/core.c:3961
 device_unregister+0x1d/0xe0 drivers/base/core.c:4002
 unregister_virtio_device+0x39/0x60 drivers/virtio/virtio.c:594
 virtio_pci_remove+0x7c/0x110 drivers/virtio/virtio_pci_common.c:758
 pci_device_remove+0xb2/0x1d0 drivers/pci/pci-driver.c:512
 device_remove+0xcb/0x180 drivers/base/dd.c:616
 __device_release_driver drivers/base/dd.c:1349 [inline]
 device_release_driver_internal+0x44e/0x620 drivers/base/dd.c:1372
 pci_stop_dev drivers/pci/remove.c:27 [inline]
 pci_stop_bus_device+0x120/0x160 drivers/pci/remove.c:93
 pci_stop_and_remove_bus_device+0x58/0xa0 drivers/pci/remove.c:128
 pci_stop_and_remove_bus_device_locked+0x1a/0x20 drivers/pci/remove.c:136
 remove_store+0x123/0x140 drivers/pci/pci-sysfs.c:523
 dev_attr_store+0x58/0x80 drivers/base/core.c:2505
 sysfs_kf_write+0xf2/0x150 fs/sysfs/file.c:145
 kernfs_fop_write_iter+0x3e0/0x5f0 fs/kernfs/file.c:345
 new_sync_write fs/read_write.c:595 [inline]
 vfs_write+0x6ac/0x1050 fs/read_write.c:687
 ksys_write+0x12a/0x250 fs/read_write.c:739
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f803ef9e0d9
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
RSP: 002b:00007f803fef0028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f803f225fa0 RCX: 00007f803ef9e0d9
RDX: 0000000000000001 RSI: 00002000000000c0 RDI: 0000000000000003
RBP: 00007f803f035024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f803f226038 R14: 00007f803f225fa0 R15: 00007fffd7f01f68
 </TASK>
----------------
Code disassembly (best guess):
   0:	8b 43 38             	mov    0x38(%rbx),%eax
   3:	48 39 c5             	cmp    %rax,%rbp
   6:	75 16                	jne    0x1e
   8:	e8 eb 42 45 fc       	call   0xfc4542f8
   d:	48 83 c4 08          	add    $0x8,%rsp
  11:	5b                   	pop    %rbx
  12:	5d                   	pop    %rbp
  13:	41 5c                	pop    %r12
  15:	41 5d                	pop    %r13
  17:	41 5e                	pop    %r14
  19:	c3                   	ret
  1a:	cc                   	int3
  1b:	cc                   	int3
  1c:	cc                   	int3
  1d:	cc                   	int3
  1e:	e8 d5 42 45 fc       	call   0xfc4542f8
  23:	48 8d 3d 0e 72 68 0b 	lea    0xb68720e(%rip),%rdi        # 0xb687238
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	48 c7 c0 e0 c3 46 8e 	mov    $0xffffffff8e46c3e0,%rax
  36:	48 ba 00 00 00 00 00 	movabs $0xdffffc0000000000,%rdx
  3d:	fc ff df


Tested on:

commit:         93427272 drm/virtio: fix host-visible blob cleanup on ..
git tree:       https://github.com/yutao-intel/linux.git fix-dri-virtio-align-HEAD
console output: https://syzkaller.appspot.com/x/log.txt?x=12ffc979580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=acc0a882b963ae23
dashboard link: https://syzkaller.appspot.com/bug?extid=d93b9064fe5f74af3aa3
compiler:       gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44

Note: no patches were applied.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [syzbot] [dri?] WARNING in drm_mm_takedown
       [not found] <4be92c36-cfd3-4f20-baf0-04baac37ad1an@googlegroups.com>
@ 2026-08-25  4:51 ` syzbot
  0 siblings, 0 replies; 10+ messages in thread
From: syzbot @ 2026-08-25  4:51 UTC (permalink / raw)
  To: linux-kernel, syzkaller-bugs, tao1.yu

Hello,

syzbot has tested the proposed patch but the reproducer is still triggering an issue:
WARNING in drm_mm_takedown

Console: switching to colour dummy device 80x25
------------[ cut here ]------------
Memory manager not clean during takedown.
WARNING: drivers/gpu/drm/drm_mm.c:965 at drm_mm_takedown+0x62/0x280 drivers/gpu/drm/drm_mm.c:965, CPU#3: syz.0.19/6260
Modules linked in:
CPU: 3 UID: 0 PID: 6260 Comm: syz.0.19 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:drm_mm_takedown+0x62/0x280 drivers/gpu/drm/drm_mm.c:965
Code: 8b 43 38 48 39 c5 75 16 e8 eb 42 45 fc 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e c3 cc cc cc cc e8 d5 42 45 fc 48 8d 3d 0e 72 68 0b <67> 48 0f b9 3a 48 c7 c0 e0 c3 46 8e 48 ba 00 00 00 00 00 fc ff df
RSP: 0018:ffffc90004c37790 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff888035627068 RCX: ffffffff85c4f8ab
RDX: ffff8880306d8000 RSI: ffffffff85c50d6b RDI: ffffffff912d7f80
RBP: ffff8880356270a0 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88802ddce100
R13: ffff88802ddce118 R14: ffffffff85c3ea70 R15: 0000000000000000
FS:  00007ff439fc06c0(0000) GS:ffff8880d60f1000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff4391eb7c0 CR3: 000000003d740000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 drm_managed_release+0x1bb/0x540 drivers/gpu/drm/drm_managed.c:75
 drm_dev_release drivers/gpu/drm/drm_drv.c:914 [inline]
 kref_put include/linux/kref.h:65 [inline]
 drm_dev_put.part.0+0xca/0x140 drivers/gpu/drm/drm_drv.c:948
 drm_dev_put+0x1f/0x30 drivers/gpu/drm/drm_drv.c:947
 virtio_dev_remove+0xb8/0x170 drivers/virtio/virtio.c:375
 device_remove+0xcb/0x180 drivers/base/dd.c:616
 __device_release_driver drivers/base/dd.c:1349 [inline]
 device_release_driver_internal+0x44e/0x620 drivers/base/dd.c:1372
 bus_remove_device+0x2bc/0x560 drivers/base/bus.c:664
 device_del+0x376/0x9b0 drivers/base/core.c:3961
 device_unregister+0x1d/0xe0 drivers/base/core.c:4002
 unregister_virtio_device+0x39/0x60 drivers/virtio/virtio.c:594
 virtio_pci_remove+0x7c/0x110 drivers/virtio/virtio_pci_common.c:758
 pci_device_remove+0xb2/0x1d0 drivers/pci/pci-driver.c:512
 device_remove+0xcb/0x180 drivers/base/dd.c:616
 __device_release_driver drivers/base/dd.c:1349 [inline]
 device_release_driver_internal+0x44e/0x620 drivers/base/dd.c:1372
 pci_stop_dev drivers/pci/remove.c:27 [inline]
 pci_stop_bus_device+0x120/0x160 drivers/pci/remove.c:93
 pci_stop_and_remove_bus_device+0x58/0xa0 drivers/pci/remove.c:128
 pci_stop_and_remove_bus_device_locked+0x1a/0x20 drivers/pci/remove.c:136
 remove_store+0x123/0x140 drivers/pci/pci-sysfs.c:523
 dev_attr_store+0x58/0x80 drivers/base/core.c:2505
 sysfs_kf_write+0xf2/0x150 fs/sysfs/file.c:145
 kernfs_fop_write_iter+0x3e0/0x5f0 fs/kernfs/file.c:345
 new_sync_write fs/read_write.c:595 [inline]
 vfs_write+0x6ac/0x1050 fs/read_write.c:687
 ksys_write+0x12a/0x250 fs/read_write.c:739
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ff43919e0d9
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
RSP: 002b:00007ff439fc0028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007ff439425fa0 RCX: 00007ff43919e0d9
RDX: 0000000000000001 RSI: 00002000000000c0 RDI: 0000000000000003
RBP: 00007ff439235024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ff439426038 R14: 00007ff439425fa0 R15: 00007ffd37125a48
 </TASK>
----------------
Code disassembly (best guess):
   0:	8b 43 38             	mov    0x38(%rbx),%eax
   3:	48 39 c5             	cmp    %rax,%rbp
   6:	75 16                	jne    0x1e
   8:	e8 eb 42 45 fc       	call   0xfc4542f8
   d:	48 83 c4 08          	add    $0x8,%rsp
  11:	5b                   	pop    %rbx
  12:	5d                   	pop    %rbp
  13:	41 5c                	pop    %r12
  15:	41 5d                	pop    %r13
  17:	41 5e                	pop    %r14
  19:	c3                   	ret
  1a:	cc                   	int3
  1b:	cc                   	int3
  1c:	cc                   	int3
  1d:	cc                   	int3
  1e:	e8 d5 42 45 fc       	call   0xfc4542f8
  23:	48 8d 3d 0e 72 68 0b 	lea    0xb68720e(%rip),%rdi        # 0xb687238
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	48 c7 c0 e0 c3 46 8e 	mov    $0xffffffff8e46c3e0,%rax
  36:	48 ba 00 00 00 00 00 	movabs $0xdffffc0000000000,%rdx
  3d:	fc ff df


Tested on:

commit:         9517d0ab drm/virtio: clean up GEM objects locally afte..
git tree:       https://github.com/yutao-intel/linux.git fix-dri-virtio-align-HEAD
console output: https://syzkaller.appspot.com/x/log.txt?x=17951979580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=acc0a882b963ae23
dashboard link: https://syzkaller.appspot.com/bug?extid=d93b9064fe5f74af3aa3
compiler:       gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44

Note: no patches were applied.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [syzbot] [dri?] WARNING in drm_mm_takedown
       [not found] <97cf567b-b9a9-4256-8cc8-854c0a0dc4c5n@googlegroups.com>
@ 2026-08-25  5:26 ` syzbot
  0 siblings, 0 replies; 10+ messages in thread
From: syzbot @ 2026-08-25  5:26 UTC (permalink / raw)
  To: linux-kernel, syzkaller-bugs, tao1.yu

Hello,

syzbot has tested the proposed patch but the reproducer is still triggering an issue:
WARNING in drm_mm_takedown

Console: switching to colour dummy device 80x25
------------[ cut here ]------------
Memory manager not clean during takedown.
WARNING: drivers/gpu/drm/drm_mm.c:965 at drm_mm_takedown+0x62/0x280 drivers/gpu/drm/drm_mm.c:965, CPU#1: syz.0.21/6266
Modules linked in:
CPU: 1 UID: 0 PID: 6266 Comm: syz.0.21 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:drm_mm_takedown+0x62/0x280 drivers/gpu/drm/drm_mm.c:965
Code: 8b 43 38 48 39 c5 75 16 e8 eb 42 45 fc 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e c3 cc cc cc cc e8 d5 42 45 fc 48 8d 3d 0e 72 68 0b <67> 48 0f b9 3a 48 c7 c0 e0 c3 46 8e 48 ba 00 00 00 00 00 fc ff df
RSP: 0018:ffffc90003787790 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff888031d8c468 RCX: ffffffff85c4f8ab
RDX: ffff888034680000 RSI: ffffffff85c50d6b RDI: ffffffff912d7f80
RBP: ffff888031d8c4a0 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff888032410600
R13: ffff888032410618 R14: ffffffff85c3ea70 R15: 0000000000000000
FS:  00007fa69b2526c0(0000) GS:ffff8880d5ef1000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa69a3eb7c0 CR3: 000000003a633000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 drm_managed_release+0x1bb/0x540 drivers/gpu/drm/drm_managed.c:75
 drm_dev_release drivers/gpu/drm/drm_drv.c:914 [inline]
 kref_put include/linux/kref.h:65 [inline]
 drm_dev_put.part.0+0xca/0x140 drivers/gpu/drm/drm_drv.c:948
 drm_dev_put+0x1f/0x30 drivers/gpu/drm/drm_drv.c:947
 virtio_dev_remove+0xb8/0x170 drivers/virtio/virtio.c:375
 device_remove+0xcb/0x180 drivers/base/dd.c:616
 __device_release_driver drivers/base/dd.c:1349 [inline]
 device_release_driver_internal+0x44e/0x620 drivers/base/dd.c:1372
 bus_remove_device+0x2bc/0x560 drivers/base/bus.c:664
 device_del+0x376/0x9b0 drivers/base/core.c:3961
 device_unregister+0x1d/0xe0 drivers/base/core.c:4002
 unregister_virtio_device+0x39/0x60 drivers/virtio/virtio.c:594
 virtio_pci_remove+0x7c/0x110 drivers/virtio/virtio_pci_common.c:758
 pci_device_remove+0xb2/0x1d0 drivers/pci/pci-driver.c:512
 device_remove+0xcb/0x180 drivers/base/dd.c:616
 __device_release_driver drivers/base/dd.c:1349 [inline]
 device_release_driver_internal+0x44e/0x620 drivers/base/dd.c:1372
 pci_stop_dev drivers/pci/remove.c:27 [inline]
 pci_stop_bus_device+0x120/0x160 drivers/pci/remove.c:93
 pci_stop_and_remove_bus_device+0x58/0xa0 drivers/pci/remove.c:128
 pci_stop_and_remove_bus_device_locked+0x1a/0x20 drivers/pci/remove.c:136
 remove_store+0x123/0x140 drivers/pci/pci-sysfs.c:523
 dev_attr_store+0x58/0x80 drivers/base/core.c:2505
 sysfs_kf_write+0xf2/0x150 fs/sysfs/file.c:145
 kernfs_fop_write_iter+0x3e0/0x5f0 fs/kernfs/file.c:345
 new_sync_write fs/read_write.c:595 [inline]
 vfs_write+0x6ac/0x1050 fs/read_write.c:687
 ksys_write+0x12a/0x250 fs/read_write.c:739
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa69a39e0d9
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
RSP: 002b:00007fa69b252028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fa69a625fa0 RCX: 00007fa69a39e0d9
RDX: 0000000000000001 RSI: 00002000000000c0 RDI: 0000000000000003
RBP: 00007fa69a435024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa69a626038 R14: 00007fa69a625fa0 R15: 00007ffdd9e894b8
 </TASK>
----------------
Code disassembly (best guess):
   0:	8b 43 38             	mov    0x38(%rbx),%eax
   3:	48 39 c5             	cmp    %rax,%rbp
   6:	75 16                	jne    0x1e
   8:	e8 eb 42 45 fc       	call   0xfc4542f8
   d:	48 83 c4 08          	add    $0x8,%rsp
  11:	5b                   	pop    %rbx
  12:	5d                   	pop    %rbp
  13:	41 5c                	pop    %r12
  15:	41 5d                	pop    %r13
  17:	41 5e                	pop    %r14
  19:	c3                   	ret
  1a:	cc                   	int3
  1b:	cc                   	int3
  1c:	cc                   	int3
  1d:	cc                   	int3
  1e:	e8 d5 42 45 fc       	call   0xfc4542f8
  23:	48 8d 3d 0e 72 68 0b 	lea    0xb68720e(%rip),%rdi        # 0xb687238
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	48 c7 c0 e0 c3 46 8e 	mov    $0xffffffff8e46c3e0,%rax
  36:	48 ba 00 00 00 00 00 	movabs $0xdffffc0000000000,%rdx
  3d:	fc ff df


Tested on:

commit:         b51b5de4 drm/virtio: fix host-visible blob cleanup dur..
git tree:       https://github.com/yutao-intel/linux.git fix-dri-virtio-align-HEAD
console output: https://syzkaller.appspot.com/x/log.txt?x=12926625580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=acc0a882b963ae23
dashboard link: https://syzkaller.appspot.com/bug?extid=d93b9064fe5f74af3aa3
compiler:       gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44

Note: no patches were applied.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [syzbot] [dri?] WARNING in drm_mm_takedown
       [not found] <30a3accb-d060-4a00-86da-d4e4c9ea7dcfn@googlegroups.com>
@ 2026-08-25  6:23 ` syzbot
  0 siblings, 0 replies; 10+ messages in thread
From: syzbot @ 2026-08-25  6:23 UTC (permalink / raw)
  To: linux-kernel, syzkaller-bugs, tao1.yu

Hello,

syzbot has tested the proposed patch but the reproducer is still triggering an issue:
WARNING in drm_mm_takedown

Console: switching to colour dummy device 80x25
------------[ cut here ]------------
Memory manager not clean during takedown.
WARNING: drivers/gpu/drm/drm_mm.c:965 at drm_mm_takedown+0x62/0x280 drivers/gpu/drm/drm_mm.c:965, CPU#0: syz.0.20/6274
Modules linked in:
CPU: 0 UID: 0 PID: 6274 Comm: syz.0.20 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:drm_mm_takedown+0x62/0x280 drivers/gpu/drm/drm_mm.c:965
Code: 8b 43 38 48 39 c5 75 16 e8 eb 42 45 fc 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e c3 cc cc cc cc e8 d5 42 45 fc 48 8d 3d 0e 72 68 0b <67> 48 0f b9 3a 48 c7 c0 e0 c3 46 8e 48 ba 00 00 00 00 00 fc ff df
RSP: 0018:ffffc900039a7790 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff888054192868 RCX: ffffffff85c4f8ab
RDX: ffff888027242540 RSI: ffffffff85c50d6b RDI: ffffffff912d7f80
RBP: ffff8880541928a0 R08: 0000000000000007 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88803cab1800
R13: ffff88803cab1818 R14: ffffffff85c3ea70 R15: 0000000000000000
FS:  00007fc41db8e6c0(0000) GS:ffff8880d5df1000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555587e99e8 CR3: 0000000038517000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 drm_managed_release+0x1bb/0x540 drivers/gpu/drm/drm_managed.c:75
 drm_dev_release drivers/gpu/drm/drm_drv.c:914 [inline]
 kref_put include/linux/kref.h:65 [inline]
 drm_dev_put.part.0+0xca/0x140 drivers/gpu/drm/drm_drv.c:948
 drm_dev_put+0x1f/0x30 drivers/gpu/drm/drm_drv.c:947
 virtio_dev_remove+0xb8/0x170 drivers/virtio/virtio.c:375
 device_remove+0xcb/0x180 drivers/base/dd.c:616
 __device_release_driver drivers/base/dd.c:1349 [inline]
 device_release_driver_internal+0x44e/0x620 drivers/base/dd.c:1372
 bus_remove_device+0x2bc/0x560 drivers/base/bus.c:664
 device_del+0x376/0x9b0 drivers/base/core.c:3961
 device_unregister+0x1d/0xe0 drivers/base/core.c:4002
 unregister_virtio_device+0x39/0x60 drivers/virtio/virtio.c:594
 virtio_pci_remove+0x7c/0x110 drivers/virtio/virtio_pci_common.c:758
 pci_device_remove+0xb2/0x1d0 drivers/pci/pci-driver.c:512
 device_remove+0xcb/0x180 drivers/base/dd.c:616
 __device_release_driver drivers/base/dd.c:1349 [inline]
 device_release_driver_internal+0x44e/0x620 drivers/base/dd.c:1372
 pci_stop_dev drivers/pci/remove.c:27 [inline]
 pci_stop_bus_device+0x120/0x160 drivers/pci/remove.c:93
 pci_stop_and_remove_bus_device+0x58/0xa0 drivers/pci/remove.c:128
 pci_stop_and_remove_bus_device_locked+0x1a/0x20 drivers/pci/remove.c:136
 remove_store+0x123/0x140 drivers/pci/pci-sysfs.c:523
 dev_attr_store+0x58/0x80 drivers/base/core.c:2505
 sysfs_kf_write+0xf2/0x150 fs/sysfs/file.c:145
 kernfs_fop_write_iter+0x3e0/0x5f0 fs/kernfs/file.c:345
 new_sync_write fs/read_write.c:595 [inline]
 vfs_write+0x6ac/0x1050 fs/read_write.c:687
 ksys_write+0x12a/0x250 fs/read_write.c:739
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc41cd9e0d9
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
RSP: 002b:00007fc41db8e028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fc41d025fa0 RCX: 00007fc41cd9e0d9
RDX: 0000000000000001 RSI: 00002000000000c0 RDI: 0000000000000003
RBP: 00007fc41ce35024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fc41d026038 R14: 00007fc41d025fa0 R15: 00007ffc43904ea8
 </TASK>
----------------
Code disassembly (best guess):
   0:	8b 43 38             	mov    0x38(%rbx),%eax
   3:	48 39 c5             	cmp    %rax,%rbp
   6:	75 16                	jne    0x1e
   8:	e8 eb 42 45 fc       	call   0xfc4542f8
   d:	48 83 c4 08          	add    $0x8,%rsp
  11:	5b                   	pop    %rbx
  12:	5d                   	pop    %rbp
  13:	41 5c                	pop    %r12
  15:	41 5d                	pop    %r13
  17:	41 5e                	pop    %r14
  19:	c3                   	ret
  1a:	cc                   	int3
  1b:	cc                   	int3
  1c:	cc                   	int3
  1d:	cc                   	int3
  1e:	e8 d5 42 45 fc       	call   0xfc4542f8
  23:	48 8d 3d 0e 72 68 0b 	lea    0xb68720e(%rip),%rdi        # 0xb687238
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	48 c7 c0 e0 c3 46 8e 	mov    $0xffffffff8e46c3e0,%rax
  36:	48 ba 00 00 00 00 00 	movabs $0xdffffc0000000000,%rdx
  3d:	fc ff df


Tested on:

commit:         f04461ee drm/virtio: clear host-visible mappings befor..
git tree:       https://github.com/yutao-intel/linux.git fix-dri-virtio-align-HEAD
console output: https://syzkaller.appspot.com/x/log.txt?x=101a7549580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=acc0a882b963ae23
dashboard link: https://syzkaller.appspot.com/bug?extid=d93b9064fe5f74af3aa3
compiler:       gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44

Note: no patches were applied.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-08-25  6:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <0c1bf590-3b29-4bd9-a0a9-b133bd234cf3n@googlegroups.com>
2026-08-24  6:36 ` [syzbot] [dri?] WARNING in drm_mm_takedown syzbot
     [not found] <30a3accb-d060-4a00-86da-d4e4c9ea7dcfn@googlegroups.com>
2026-08-25  6:23 ` syzbot
     [not found] <97cf567b-b9a9-4256-8cc8-854c0a0dc4c5n@googlegroups.com>
2026-08-25  5:26 ` syzbot
     [not found] <4be92c36-cfd3-4f20-baf0-04baac37ad1an@googlegroups.com>
2026-08-25  4:51 ` syzbot
     [not found] <df3a1b07-755a-403e-8229-2b11ee55cc01n@googlegroups.com>
2026-08-25  4:30 ` syzbot
     [not found] <3be6397f-9566-488f-a1c2-05988c0f28c7n@googlegroups.com>
2026-08-25  3:44 ` syzbot
     [not found] <2c1e2693-b113-4c19-931d-04b977c36dbbn@googlegroups.com>
2026-08-25  3:19 ` syzbot
     [not found] <968ad555-6f0b-41f7-b84b-66f07e600262n@googlegroups.com>
2026-08-24  7:44 ` syzbot
2026-07-29  2:08 syzbot
2026-08-09 20:57 ` syzbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox