Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1278619rdb; Mon, 2 Oct 2023 05:06:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHsGWfO7IrBjNpAEKV91sqgiMHcv87I8iU7bQErL0UXBN+ZtTTPig7UJQzqnSaQHKRSbjKq X-Received: by 2002:a05:6a20:12c1:b0:154:e7e6:85bd with SMTP id v1-20020a056a2012c100b00154e7e685bdmr11539734pzg.20.1696248388790; Mon, 02 Oct 2023 05:06:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696248388; cv=none; d=google.com; s=arc-20160816; b=0i7Ac5HcQQbse5c3YVBrboZdUjWb/eeKq1xOTuflaL7Xw+Ma/qTcRth87tF6QokucZ C56BmcO9wA4Ifr2K6fv0wDd/gqnx24DGuRBjMex1V2KWxXiFxupRfho29+5PK3g51FXT jqohwRtvGsPeGxGl2JD49W5zLulVfMIF3JQ/K2VEbTL/BzVqkOV5/AiFKjDcMQbTl1fm yDDZiLCHjLS6MT6DfXxGVd5iaIjzzCqdXpw8sms7svauOUmpQVtRbYkc2+C1LblYmpAc K/MsJvjOVFavs+cnni0FFPlmVFF2E4WPmEy/s4Z/tjLG0ZXp7zxLaimxejf4oRvtAWGK TJQA== 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=k9BO5D+Mkjuw7PSwT8qd3pRlmg1ZqF7ESwmXR7Zy97c=; fh=ZHxZEBS3AN7WrBA8DfVzYeFVQean6ZIBGq/35e8DrZM=; b=cx+vkTfF9uD2PQBoRXpkiqve3VirdCjdm7VR9Ayh2jHW8HNlSXALVqGPCIjpz/iJlQ DGEYdwHUQiVE3DolrSXHcJXrtyn6wGaFsM7fAVcse39yp0ejUNEmgyfHpZ6DcyQY2RnC gIFh4nyQslY6CDFJV8Ia834dS6B91HMQ0u9McytR324xfBjCXH5wdiprW6REByYzZWsj CXXAlGwcy/1oOAeBoKKbnCWPAKzRhR+9xEC4MrjBxrD8E861lbrTEv1aTud6jDN2ubGH JI282xaiCOs9aJ/O/k/rO1dL3wbGr/VaqHFtMDlYdqxTSQt+rD8989yEH/+NF2U+4NtV SC5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=V6DIKY09; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id k22-20020a6568d6000000b005649f560ebesi26156574pgt.525.2023.10.02.05.06.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 05:06:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=V6DIKY09; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 1571F8065C98; Mon, 2 Oct 2023 03:41:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236534AbjJBKky (ORCPT + 99 others); Mon, 2 Oct 2023 06:40:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236530AbjJBKkx (ORCPT ); Mon, 2 Oct 2023 06:40:53 -0400 Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0C1DBF; Mon, 2 Oct 2023 03:40:50 -0700 (PDT) Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-690ba63891dso12692062b3a.2; Mon, 02 Oct 2023 03:40:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696243250; x=1696848050; 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=k9BO5D+Mkjuw7PSwT8qd3pRlmg1ZqF7ESwmXR7Zy97c=; b=V6DIKY09QHgbYbYx4NWHqQQm0V3JaLQOzpkeQ4Xc7GlOv2RdQX/v7VH9XiCGAsB8fn 2beMXSRldtz5vr/ABF3zM6bzPvbt3QGt39CsN03rXnnj6wB6rrw7PkIQ/1MHbKmkwyco cdj5aHqAIv/gWsC6gkdIXMapqGMhubK5zRdYG9wH5b2ltDNA9Ah/m5jRQ+9/LKzcmzR5 2GIHhQKtumMvZH1piGmObnltKZ6WPMxa8+ZhuD25CeEk1OsmvgXcuFgtG36Rm9SNNXPP GGQmj5TfA16kVN0MRFNQPFyDjJOjTx2nrVLwh1XPzdD/0y/q8cVruldOF3SoBUhj6TIy y51g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696243250; x=1696848050; 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=k9BO5D+Mkjuw7PSwT8qd3pRlmg1ZqF7ESwmXR7Zy97c=; b=A3G+EdE0vuiDItyzueAYEFfDky4L9TcfoHv70A9Kpewj8memAlAI9zFUoXG0TJqVVw /8XKU/QseqPoSeP0I3opd3Z4wsLnaPFZm+eIo1Qf8kQ4t1nwRUHplurSLnzWjXrnnvxv ICHk6n32/nLaBF1/tiH2sXRMF1Uq51XaIMlwFekUo5sHLk7E0TdcV+BbTk6/Ze1yXSZW Zn6ayTA1MU++lqB5lbKB6bD8JtKACJvs40JwUYpZoo4fJs74WU1JzmyBEv2TlDuzH1YG c5ShFuyo+utWeP9rmb8RQN9KGwMfRIHqpWiMklfBTX+uSOR7daKqL35NTNDkecTz8ewX f0eA== X-Gm-Message-State: AOJu0Yzp0l0meUFL6klQsQrw3cr/kb3G1rrY16qPgbfJ6vZplgbUfXmw KyYAJUh0JtfjfLKELC3KHS8= X-Received: by 2002:a05:6a20:2447:b0:14c:5fa6:e308 with SMTP id t7-20020a056a20244700b0014c5fa6e308mr10801060pzc.43.1696243249963; Mon, 02 Oct 2023 03:40:49 -0700 (PDT) Received: from debian.me ([103.131.18.64]) by smtp.gmail.com with ESMTPSA id h20-20020a170902f7d400b001c0c86a5415sm3085459plw.154.2023.10.02.03.40.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 03:40:49 -0700 (PDT) Received: by debian.me (Postfix, from userid 1000) id E92F9813713B; Mon, 2 Oct 2023 17:40:43 +0700 (WIB) Date: Mon, 2 Oct 2023 17:40:43 +0700 From: Bagas Sanjaya To: Oleksandr Natalenko , Linux Kernel Mailing List Cc: Linux Media Mailing List , linaro-mm-sig@lists.linaro.org, Linux DRI Development , 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="uM8moMeUE6uskfmd" 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 (howler.vger.email [0.0.0.0]); Mon, 02 Oct 2023 03:41:08 -0700 (PDT) --uM8moMeUE6uskfmd 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 Thanks for the regression report. I'm adding it to regzbot: #regzbot ^introduced: v6.4..v6.5 --=20 An old man doll... just what I always wanted! - Clara --uM8moMeUE6uskfmd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSSYQ6Cy7oyFNCHrUH2uYlJVVFOowUCZRqeJgAKCRD2uYlJVVFO o94vAQCdK24gbHlE/TSwSnvd8j9uYgtSWF/9JqsuTYcNEIa0QAEAqxCJP7ARfCvm lDkVmrAMOBGxe7Qpk16rqel6QsVTZQQ= =lq18 -----END PGP SIGNATURE----- --uM8moMeUE6uskfmd--