Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1116256rdb; Sun, 1 Oct 2023 22:10:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEAiWK17cHynp9Qbquy0h8m8sEuJu4bySpjVi4m4z1oDTulvkFefKPdrHQfQoVbDjtqtrlm X-Received: by 2002:a05:6870:1494:b0:1d5:f814:567b with SMTP id k20-20020a056870149400b001d5f814567bmr12667114oab.5.1696223439434; Sun, 01 Oct 2023 22:10:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696223439; cv=none; d=google.com; s=arc-20160816; b=WziEsy11bK3UC7eVYCUGZHZPHOorbaXAUAw7ESsYjO8P6zQ/sSecLiyH8m2ebZTjaY 81+QTZ0GRtdjktZuUXTWIGkD+kw1Dx0+1BWMOekvtk4h3oKWvjzKlOUYzVQ4DF3Qhi2m QkqYJAqtRzH6E5eGYytwdMG8RY3o+w4NeD4Yyj5JL1X0V5j7I0iCMQmox6W/KitpksY9 /YVlaCLVaCWxZGvCuhaI8Ivd7LKLjG6IBMdum3gwAhgDhC8aDCh0MHR1bUOCRMsxT5dO ldq2wjXjQDqw19mHPEi9+vccM/MYMYXHg8M2fZZzKgS651hlZobeqhQOWKwT8AUA6lmU YwFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=8vvjOV/SJHwlBfuAQ9Hpu2fBDMywi9nmiPQcO1/0180=; fh=STcpPXXHGADDdTxYxs/tSji42YVQ5moVsxoGGKIfe5s=; b=mY2hibHvNgDI0MTweUSn61yRIaG/pRViaBsMx19GcfL2JREXTBOI02Nc5UHAAU0qrP aIJGYNob1OJ4OL4WRVQl9RTLKNuBHEE1do7KXVLfYJ/PQpBmDqch+aeTw8wHwoe43Z0G mMN9ztkBns3923/M6XMaBddtfmhy89Yz6jbYjpP3OuXcjqV7Dd0ohO1XeaugVwPtmdGC Kv9UAaykEZWI9NvoYMSEU7Qivsk5llW09NIzurkeYB94TS0+WgFiNgC0hEryQJ680cG1 0/iCCUpS845r/23zUwevf+MeBVYAEjxmabm4S+nT3pm4BJVqNX5/8h7VPaBCWbi0vASc 4/9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=DbhSQ4Xh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id e21-20020a656895000000b0056da0ae25a0si25450699pgt.441.2023.10.01.22.10.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 22:10:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=DbhSQ4Xh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 587168077540; Sun, 1 Oct 2023 16:46:02 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234245AbjJAXpw (ORCPT + 99 others); Sun, 1 Oct 2023 19:45:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229476AbjJAXpv (ORCPT ); Sun, 1 Oct 2023 19:45:51 -0400 Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9A19C6; Sun, 1 Oct 2023 16:45:48 -0700 (PDT) Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-6907e44665bso14392472b3a.1; Sun, 01 Oct 2023 16:45:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696203948; x=1696808748; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=8vvjOV/SJHwlBfuAQ9Hpu2fBDMywi9nmiPQcO1/0180=; b=DbhSQ4XhZmfeaTYZ+RKIL6/q9nQXdpoyxGhalDGkCENhIV0+xU2CbM8Vl9A/4RzeZY H673NFnlU376pUoCDWTiEn1NYg4YiEcclcYLrVhg2t4ZX6XUtW2tF6YkPc7kjqwRSSQO DMtlKjn743GVkFFzCOGE6bEgKPSCUtjfSd2QO4y59/wy6QElj8kAdlW6Vk0uxDnyha0i lBhAf3kr6w+vn0CJYkWeWJTs/6gXevwTI9CifNF8HuhOmHQLuyEW7rNNvQWJqLX/wjQg s2qXg8/keW+ox/2wDNaz1eysTK1ag/A0a/Ri4ZWINzJ1lQpP8oK2407iAL9yVe7TrH3D tZ5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696203948; x=1696808748; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=8vvjOV/SJHwlBfuAQ9Hpu2fBDMywi9nmiPQcO1/0180=; b=buQ3JiStUbU2/qtSxHlucG0heWWWSP/jImLRO0d3BsrSxZzBNLkFBXnTPmkXzXyGCF PYqZD7bh+XdHyiOwbU6pGDI4p0DIpDCiP2F4PR7IVpL9IaA/c5YwXlLNmgSIQQxThVZC 4k3bl5me+uev/dVjDr9y62CwgymhMVxhpa8KvPbPo4+HqIIKWg+DpxWDviIQ6KycfNKp pZJl4WdUgFjHWV/QlQF/fAdfOtHKppc14lEIGXkKjl+7R0S+BKwdyxKw9CZqKLJfjuuM HM6fr+Hrt5fPZVLl274XsGEQ7B1mvpNNVZK2gYXAVFg2TaSzT0neOxMkihTL/HESQwph +npg== X-Gm-Message-State: AOJu0YxNoRZ+HTpmNl7vITetufwcTUi7bCcVC1b8HOMYAKIeCffCViV5 0eweIqwQlBZ/uBk2G1gbEBW3zMdY4/0= X-Received: by 2002:a05:6a00:982:b0:68e:36bc:194a with SMTP id u2-20020a056a00098200b0068e36bc194amr13053460pfg.15.1696203948274; Sun, 01 Oct 2023 16:45:48 -0700 (PDT) Received: from debian.me ([103.131.18.64]) by smtp.gmail.com with ESMTPSA id f1-20020aa782c1000000b0069305627494sm10416369pfn.165.2023.10.01.16.45.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 16:45:47 -0700 (PDT) Received: by debian.me (Postfix, from userid 1000) id 0070F8017C4F; Mon, 2 Oct 2023 06:45:44 +0700 (WIB) Date: Mon, 2 Oct 2023 06:45:44 +0700 From: Bagas Sanjaya To: Oleksandr Natalenko , linux-kernel@vger.kernel.org Cc: linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org, dri-devel@lists.freedesktop.org, Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Sumit Semwal , Christian =?utf-8?B?S8O2bmln?= , Linux Regressions Subject: Re: [REGRESSION] BUG: KFENCE: memory corruption in drm_gem_put_pages+0x186/0x250 Message-ID: References: <13360591.uLZWGnKmhe@natalenko.name> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="yoF7gxy4SjBfUd1U" Content-Disposition: inline In-Reply-To: <13360591.uLZWGnKmhe@natalenko.name> X-Spam-Status: No, score=1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sun, 01 Oct 2023 16:46:02 -0700 (PDT) --yoF7gxy4SjBfUd1U Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 01, 2023 at 06:32:34PM +0200, Oleksandr Natalenko wrote: > Hello. >=20 > I've got a VM from a cloud provider, and since v6.5 I observe the followi= ng kfence splat in dmesg during boot: >=20 > ``` > BUG: KFENCE: memory corruption in drm_gem_put_pages+0x186/0x250 >=20 > Corrupted memory at 0x00000000e173a294 [ ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! = ] (in kfence-#108): > drm_gem_put_pages+0x186/0x250 > drm_gem_shmem_put_pages_locked+0x43/0xc0 > drm_gem_shmem_object_vunmap+0x83/0xe0 > drm_gem_vunmap_unlocked+0x46/0xb0 > drm_fbdev_generic_helper_fb_dirty+0x1dc/0x310 > drm_fb_helper_damage_work+0x96/0x170 > process_one_work+0x254/0x470 > worker_thread+0x55/0x4f0 > kthread+0xe8/0x120 > ret_from_fork+0x34/0x50 > ret_from_fork_asm+0x1b/0x30 >=20 > kfence-#108: 0x00000000cda343af-0x00000000aec2c095, size=3D3072, cache=3D= kmalloc-4k >=20 > allocated by task 51 on cpu 0 at 14.668667s: > drm_gem_get_pages+0x94/0x2b0 > drm_gem_shmem_get_pages+0x5d/0x110 > drm_gem_shmem_object_vmap+0xc4/0x1e0 > drm_gem_vmap_unlocked+0x3c/0x70 > drm_client_buffer_vmap+0x23/0x50 > drm_fbdev_generic_helper_fb_dirty+0xae/0x310 > drm_fb_helper_damage_work+0x96/0x170 > process_one_work+0x254/0x470 > worker_thread+0x55/0x4f0 > kthread+0xe8/0x120 > ret_from_fork+0x34/0x50 > ret_from_fork_asm+0x1b/0x30 >=20 > freed by task 51 on cpu 0 at 14.668697s: > drm_gem_put_pages+0x186/0x250 > drm_gem_shmem_put_pages_locked+0x43/0xc0 > drm_gem_shmem_object_vunmap+0x83/0xe0 > drm_gem_vunmap_unlocked+0x46/0xb0 > drm_fbdev_generic_helper_fb_dirty+0x1dc/0x310 > drm_fb_helper_damage_work+0x96/0x170 > process_one_work+0x254/0x470 > worker_thread+0x55/0x4f0 > kthread+0xe8/0x120 > ret_from_fork+0x34/0x50 > ret_from_fork_asm+0x1b/0x30 >=20 > CPU: 0 PID: 51 Comm: kworker/0:2 Not tainted 6.5.0-pf4 #1 8b557a4173114d8= 6eef7240f7a080080cfc4617e > Hardware name: Red Hat KVM, BIOS 1.11.0-2.el7 04/01/2014 > Workqueue: events drm_fb_helper_damage_work > ``` >=20 > This repeats a couple of times and then stops. >=20 > Currently, I'm running v6.5.5. So far, there's no impact on how VM functi= ons for me. >=20 > The VGA adapter is as follows: 00:02.0 VGA compatible controller: Cirrus = Logic GD 5446 >=20 Do you have this issue on v6.4? --=20 An old man doll... just what I always wanted! - Clara --yoF7gxy4SjBfUd1U Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSSYQ6Cy7oyFNCHrUH2uYlJVVFOowUCZRoEoAAKCRD2uYlJVVFO o9s5AP9kGuHk47ES1xM3sSRWMksEAyOgSfb9PPRtW2GW6eLYrwEAncNNUUPjdgsp of+ra71dF0EDOM0682RgxNmO1A/YTQw= =/Uxd -----END PGP SIGNATURE----- --yoF7gxy4SjBfUd1U--