Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp1938446lqo; Sun, 19 May 2024 06:00:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXiACHL4vIRQi/thK0M1UFzanesydoKaHXAOr44LMVgqGx+TD32CdenxgoA93n7RkuOUHU4DzWMsU8fFsmODzEX2rFvLjZJsPfepYFphA== X-Google-Smtp-Source: AGHT+IFx4UqWS6Jt+DPrFJaUDww2oA0d+KcXu6QVIgL6hGfSIQbX1UrZivwuvDGl4D9xUqoQ2CYq X-Received: by 2002:a05:6808:2023:b0:3c9:c509:c17 with SMTP id 5614622812f47-3c9c50910bemr13783775b6e.11.1716123638026; Sun, 19 May 2024 06:00:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716123638; cv=pass; d=google.com; s=arc-20160816; b=fxNR1QKyLbV4BCCyprhWCw1ssodNiLur45sQjCk8rJRRWTjKrrHRGf8mJJEgHA4bId DPyCZFmgAcueGLZy/Ay+JDKtbdiPA1f2QnmGkr8juzkUqHIDrm014ZOFM3eqfbz0Lg++ WBTDm13ViMONqyS14PRfWM3BgB+aaqHCxdMvMh+UCKlYWZ33oI1dc3jufFvoCTruW5l2 JZDgcEoShv0wqdMBbiVkoYURTTTv0ebcs79xB9GGQ60oI2Iz3rdd+15x0QOh/I74DDL3 NNof+1rIwb4XE89dHUbPNk0ncjZvfMODwQ0SIgDYR3HIUVtZf9KXcr0frj4nrQRT/M8U yKCA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:message-id:date:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject :references:in-reply-to:cc:to:envelope-from:from:dkim-signature; bh=5L8fi5JUq0n0of2poPTByRTgAzI9PuoUJYWi/l8DFhs=; fh=lvfmC4zjDEdrXuJohxRHxmXq1QT0wG8YFop5cAZkx80=; b=VEZvZWttbpZJCQSHHYnJnlnqFOauWXYjVu5cWl0MHMwhClTiEUFfPmBKZG3lfS0PPl AQ/9iYlqFsBj4NqWj0JdGE7GV3s0ztwYpgWWzKRGAlhG8uedEb7um3u3EBz8fSCnHjYU +woJjxfGbf8sm73qI4QqZj5IBs0vuMZbpYAqIVJHRgrsat+LD2psoW7GTM4HSF9ro3vr nH0Tgp6UfJYN/mFFGG/z6movjQAQPPP6IEfdBAZxtQFwHlw4anxASNerRcoGnMII1Ug7 qQpSqO9kbgfZWBFHqa+WrlX/Vq3iFnBCKL6a0tuj/kqeezvAmSdkvFObVmKce7qVie73 jt7Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@yandex.ru header.s=mail header.b=cYF+YYNG; arc=pass (i=1 spf=pass spfdomain=yandex.ru dkim=pass dkdomain=yandex.ru dmarc=pass fromdomain=yandex.ru); spf=pass (google.com: domain of linux-kernel+bounces-183107-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183107-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-792bf364f6bsi79686485a.628.2024.05.19.06.00.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 May 2024 06:00:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-183107-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@yandex.ru header.s=mail header.b=cYF+YYNG; arc=pass (i=1 spf=pass spfdomain=yandex.ru dkim=pass dkdomain=yandex.ru dmarc=pass fromdomain=yandex.ru); spf=pass (google.com: domain of linux-kernel+bounces-183107-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183107-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id BAB551C20C04 for ; Sun, 19 May 2024 13:00:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 06B5A4652D; Sun, 19 May 2024 13:00:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=yandex.ru header.i=@yandex.ru header.b="cYF+YYNG" Received: from forward502a.mail.yandex.net (forward502a.mail.yandex.net [178.154.239.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 515253D56D for ; Sun, 19 May 2024 13:00:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.154.239.82 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716123631; cv=none; b=pKLU4A4S55hRnFbPTiUfCdLV8zTBUSnrQltknoKwJ7N5Nf0L37jjrX+xT1/s4Lrq+SpHx5TObDkPCIrjfSPQWrlYBn71NDdOehOfM5UMmA/7Uv/pZ8wO9dyDWU6ohLBtAg33v1jLKWnEjBn4p1foG09A1fYInrYXOQAtY0Gh6sk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716123631; c=relaxed/simple; bh=bQAUDYj/fEDFuowkWCR/XuTxt8UWF1YgKQ9G9106e5w=; h=From:To:Cc:In-Reply-To:References:Subject:MIME-Version:Date: Message-Id:Content-Type; b=MSdV+6Hv/a0KhPgqQqZqUVClF/x/YxjZCnOhfOGFUNeSt2wuSPKPaGYfL69gDiCveqScVc/IO+VcmDWRs7QmjlBUR0Jn/pDEjavDCzs2tYJwTCJnj9qBl6w5bDFGI3hnVSco7eGGUzTmpi2j9r3l2c+SnYIIMejN3pMXqxBCZ9Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=yandex.ru; spf=pass smtp.mailfrom=yandex.ru; dkim=pass (1024-bit key) header.d=yandex.ru header.i=@yandex.ru header.b=cYF+YYNG; arc=none smtp.client-ip=178.154.239.82 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=yandex.ru Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=yandex.ru Received: from mail-nwsmtp-mxback-production-main-72.vla.yp-c.yandex.net (mail-nwsmtp-mxback-production-main-72.vla.yp-c.yandex.net [IPv6:2a02:6b8:c18:486:0:640:200c:0]) by forward502a.mail.yandex.net (Yandex) with ESMTPS id 3BA6A60C51; Sun, 19 May 2024 15:52:34 +0300 (MSK) Received: from mail.yandex.ru (2a02:6b8:c0d:91:0:640:566d:0 [2a02:6b8:c0d:91:0:640:566d:0]) by mail-nwsmtp-mxback-production-main-72.vla.yp-c.yandex.net (mxback/Yandex) with HTTP id UqG2EH5O0Ko0-C4be1G2S; Sun, 19 May 2024 15:52:33 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1716123153; bh=5L8fi5JUq0n0of2poPTByRTgAzI9PuoUJYWi/l8DFhs=; h=References:Date:Message-Id:Cc:Subject:To:From:In-Reply-To; b=cYF+YYNGOULFdIgWxYVZmHIEnZjVnY4q9CNKtlIgERfwXQkLzSy317lVHCY9j2rgy NKfhM2w0u38lfmvxZ+T6amcillMHa4FAZ/aFaXezVKZz2ebk7XwFCy9UuKRZHMUvUi xHOt+cJov/w0/f8X+JJZiuzs023XhNyR7QZ8V+4c= Authentication-Results: mail-nwsmtp-mxback-production-main-72.vla.yp-c.yandex.net; dkim=pass header.i=@yandex.ru Received: by 6dmalpruuq6nvlco.vla.yp-c.yandex.net with HTTP; Sun, 19 May 2024 15:52:33 +0300 From: Tranton Baddy Envelope-From: t-baddy@yandex.ru To: Alex Deucher Cc: amd-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org, Borislav Petkov In-Reply-To: References: <1237381714935562@dmcmxrwo3x2o7y3i.sas.yp-c.yandex.net> <20240505224508.GAZjgL9PO9Y5QaAO2t@fat_crate.local> Subject: Re: Error in amd driver? Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Sun, 19 May 2024 15:52:33 +0300 Message-Id: <62301716123153@6dmalpruuq6nvlco.vla.yp-c.yandex.net> Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=utf-8 Yes, problem is no more. Thanks. > On Mon, May 6, 2024 at 6:00 AM Borislav Petkov wrote: > >> + amd-gfx@lists.freedesktop.org >> >> On Sun, May 05, 2024 at 09:59:22PM +0300, Tranton Baddy wrote: >>> I have this in my dmesg since version 6.8.6, not sure when it appeared. Is amdgpu driver has bug? > > Should be fixed in: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d3a9331a6591e9df64791e076f6591f440af51c3 > > Alex > >>> [ 64.253144] ================================================================== >>> [ 64.253162] BUG: KFENCE: use-after-free read in amdgpu_bo_move+0x51f/0x7a0 >>> >>> [ 64.253183] Use-after-free read at 0x00000000671c48dd (in kfence-#111): >>> [ 64.253192] amdgpu_bo_move+0x51f/0x7a0 >>> [ 64.253202] ttm_bo_handle_move_mem+0xcf/0x180 >>> [ 64.253211] ttm_mem_evict_first+0x1c5/0x500 >>> [ 64.253218] ttm_resource_manager_evict_all+0xa3/0x1e0 >>> [ 64.253228] amdgpu_device_prepare+0x66/0x110 >>> [ 64.253237] amdgpu_pmops_runtime_suspend+0xbe/0x1c0 >>> [ 64.253248] pci_pm_runtime_suspend+0x74/0x200 >>> [ 64.253259] vga_switcheroo_runtime_suspend+0x21/0xb0 >>> [ 64.253268] __rpm_callback+0x5f/0x190 >>> [ 64.253277] rpm_callback+0x7f/0x90 >>> [ 64.253283] rpm_suspend+0x120/0x6a0 >>> [ 64.253290] pm_runtime_work+0x9c/0xa0 >>> [ 64.253297] process_one_work+0x164/0x330 >>> [ 64.253310] worker_thread+0x302/0x430 >>> [ 64.253320] kthread+0xe4/0x110 >>> [ 64.253329] ret_from_fork+0x4c/0x60 >>> [ 64.253341] ret_from_fork_asm+0x1b/0x30 >>> >>> [ 64.253353] kfence-#111: 0x00000000d018cf03-0x0000000034e821d1, size=96, cache=kmalloc-96 >>> >>> [ 64.253363] allocated by task 152 on cpu 3 at 64.248952s: >>> [ 64.253418] kmalloc_trace+0x283/0x340 >>> [ 64.253427] amdgpu_vram_mgr_new+0x8f/0x3f0 >>> [ 64.253435] ttm_resource_alloc+0x39/0x90 >>> [ 64.253444] ttm_bo_mem_space+0xa4/0x260 >>> [ 64.253450] ttm_mem_evict_first+0x18a/0x500 >>> [ 64.253456] ttm_resource_manager_evict_all+0xa3/0x1e0 >>> [ 64.253465] amdgpu_device_prepare+0x66/0x110 >>> [ 64.253472] amdgpu_pmops_runtime_suspend+0xbe/0x1c0 >>> [ 64.253481] pci_pm_runtime_suspend+0x74/0x200 >>> [ 64.253489] vga_switcheroo_runtime_suspend+0x21/0xb0 >>> [ 64.253496] __rpm_callback+0x5f/0x190 >>> [ 64.253503] rpm_callback+0x7f/0x90 >>> [ 64.253509] rpm_suspend+0x120/0x6a0 >>> [ 64.253516] pm_runtime_work+0x9c/0xa0 >>> [ 64.253523] process_one_work+0x164/0x330 >>> [ 64.253532] worker_thread+0x302/0x430 >>> [ 64.253542] kthread+0xe4/0x110 >>> [ 64.253550] ret_from_fork+0x4c/0x60 >>> [ 64.253559] ret_from_fork_asm+0x1b/0x30 >>> >>> [ 64.253570] freed by task 152 on cpu 3 at 64.253117s: >>> [ 64.253582] ttm_resource_free+0x67/0x90 >>> [ 64.253591] ttm_bo_move_accel_cleanup+0x247/0x2e0 >>> [ 64.253598] amdgpu_bo_move+0x1bd/0x7a0 >>> [ 64.253605] ttm_bo_handle_move_mem+0xcf/0x180 >>> [ 64.253612] ttm_mem_evict_first+0x1c5/0x500 >>> [ 64.253618] ttm_resource_manager_evict_all+0xa3/0x1e0 >>> [ 64.253626] amdgpu_device_prepare+0x66/0x110 >>> [ 64.253634] amdgpu_pmops_runtime_suspend+0xbe/0x1c0 >>> [ 64.253642] pci_pm_runtime_suspend+0x74/0x200 >>> [ 64.253650] vga_switcheroo_runtime_suspend+0x21/0xb0 >>> [ 64.253658] __rpm_callback+0x5f/0x190 >>> [ 64.253664] rpm_callback+0x7f/0x90 >>> [ 64.253671] rpm_suspend+0x120/0x6a0 >>> [ 64.253677] pm_runtime_work+0x9c/0xa0 >>> [ 64.253684] process_one_work+0x164/0x330 >>> [ 64.253693] worker_thread+0x302/0x430 >>> [ 64.253703] kthread+0xe4/0x110 >>> [ 64.253711] ret_from_fork+0x4c/0x60 >>> [ 64.253723] ret_from_fork_asm+0x1b/0x30 >>> >>> [ 64.253735] CPU: 3 PID: 152 Comm: kworker/3:2 Tainted: P OE 6.8.9 #3 e7323d0d25f89e853881fc823e59523bdcc577c6 >>> [ 64.253756] Hardware name: Hewlett-Packard HP Pavilion Notebook /80B9, BIOS F.54 05/27/2019 >>> [ 64.253761] Workqueue: pm pm_runtime_work >>> [ 64.253771] ================================================================== >>> >> >> -- >> Regards/Gruss, >> Boris. >> >> https://people.kernel.org/tglx/notes-about-netiquette