From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oi1-f199.google.com (mail-oi1-f199.google.com [209.85.167.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 576B82D8370 for ; Tue, 25 Aug 2026 04:51:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787633466; cv=none; b=bmPJMeDXct0VNmA7gJERRBm6/YPPSkn6FsVzbtW3NP99mJSM43GIMzpcdxsBGYFpmuezfcRf5kwO/F4hxNIo0g/q69Mfj+TuHKGC8yOXcQ/OsjIO0RUgCn39ucQg6t9BlIND+LuBujJkG2J1NiTeJkn0Mv+6dQU4CJsn//sduQc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787633466; c=relaxed/simple; bh=5tCEv0h0keatkYtvVwQ8ursnjXfYi5cV+FDe3Mu8Zgg=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=e0eXDYN+1aSZbwBgAOblvrUmYAQJX8i7B2cSHK5JEtRaAMqiNY0ObTeb7ezWh8dy3MHgzgFoATl7KNkiUcUW7OKuivAV37OJXRAqoLkvAm80RP4d/apQFmCCTomNiV2EEVYytIO3C3imcjZyT4qFWzKuQoNHcfJrWmkKV2vpOeE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.167.199 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-oi1-f199.google.com with SMTP id 5614622812f47-4b1bd8320ecso8668923b6e.3 for ; Mon, 24 Aug 2026 21:51:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787633463; x=1788238263; h=content-type:to:from:subject:message-id:in-reply-to:date :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=4XLQ+gKn2/ajxFn+l7G+E7JuUQzunuyjNYBTGk/dqC0=; b=kyq7FL4pOzXYif65r9aqbeRrRBtQBaobLDQ4gsA97+Opg+gdrZGj4DODB16CwANLKH ierYwIOVzUFiYUEtD7qchUwfRo+708gPdg5c0HQoKOnFwssHTDvzRzqkYU/QJxUSujqL u9kzgFfpDGXZEaeIvpISvdVGgiEEaK+X8TpZ/hrDC20abCajVwbHyofe7dMQUITx6N82 vSzwgaGzNq53gSDK19GEU1pV8AKpSJhlU2FWQeVtvMPZsAq9z3FsFkOqdFIf3OK3M+4D iRuXGtAvy0bY+z6lt6yEfz+MvW3d7c0gRgCxLn/Lx7vr32PAgV4DSY6uly3RVLeROWQ4 OAcg== X-Gm-Message-State: AFuF++kQsTZFCap/qnLPBWNdsmL1K0NJtJ8H2X6Ggr3Ug+K/2n42YUF0 XBdamhvLTVn8A2hn8d8V2J8f53Mj2k7TkvqNCSLBaBAS4Fp6NwQbggTgFiRZEuAtRsRF/6rt2a4 Ag/eoqmZnNcWBldYBDf66CTViHR9kqOwXTTayifvGfoP+4lRjyYbvQASLdTI= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6820:24f:b0:6a3:1dc5:3570 with SMTP id 006d021491bc7-6b15944b2cemr21843581eaf.31.1787633462980; Mon, 24 Aug 2026 21:51:02 -0700 (PDT) Date: Mon, 24 Aug 2026 21:51:02 -0700 In-Reply-To: <4be92c36-cfd3-4f20-baf0-04baac37ad1an@googlegroups.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <6a8d1f36.a5a502ce.31d34.001c.GAE@google.com> Subject: Re: [syzbot] [dri?] WARNING in drm_mm_takedown From: syzbot To: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, tao1.yu@intel.com Content-Type: text/plain; charset="UTF-8" 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: 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 ---------------- 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.