Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp541139rwr; Thu, 20 Apr 2023 03:06:46 -0700 (PDT) X-Google-Smtp-Source: AKy350bQ4b+g0twAJjDmjWoqAUrO1FnRggHtqC1JAvQpNo50gBYqLt/Sud5Q9c09Sznc+YuBLOVK X-Received: by 2002:a05:6a20:d80e:b0:f0:86ef:d8b3 with SMTP id iv14-20020a056a20d80e00b000f086efd8b3mr1988263pzb.23.1681985206340; Thu, 20 Apr 2023 03:06:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1681985206; cv=pass; d=google.com; s=arc-20160816; b=JYQINWCJD6BrcZMYpknZohpcExlHdwaJUNWeT1r0ClI8HUY8G297f6j6nk5Qs4BzH6 wiLpqQhDH6sRAWauoq6G3y32FsAcoRxq8d/uE9YdvC6OUWtehxPGQafk0ppLIGvpQuQ9 19Ar3ZFjwXm6oIhn5wiTwO+OdqATJHQu+xgfKU4A6ZbDzVsAoTu5s8+O84S1H8dtGuvc rC1Oyhlvx/ZTKfRlZTmfgQ2yBcnw3utTiMOu2n9A2GUuH2QAZ7bIM6JRlx/s11cP3lhm NJWVWDB9+s9JitySbOMNhabu0k9drF5fw7ilCkuFPECxC9W4DGUlzwNpci0u/NXgrgmY TaVw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=ADg25vwVIBjXa0kAlIYrrkqy51/aO+lsQE3mT7hiwLg=; b=LoLj54ioeaq8/7c5OZuCh1y9KRV7wnCvGtTR05HBzGBXbDxa5XeCtXjAiTS9UBgSd9 +y5bzmjTUmwtGL0410gx/4ykt+q6W4tTp9qG76HpNpV9JoX8U2a7fNBI/+NQ/822c+Qt 8zCBe60Gxj0YVEZ4RMMp3oLgNEMd/8a6UD8LwVEgIsdg6Yoamx2lGGSVxRHacjoqduUA zC3fGJ25eY9bTUAQCF7uT4NdYrSBX/yY5rdk1dhqzWXCoOQIPglMqZ/PVtq+ou+O7cyx h/bs6cfkHgytpTD+7d5TkmU58xYZhn5T7ecrTRbsRiaX8Ye3+xtzdEtYV8hh4/SPl1sF j2zQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=JeJGarL1; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bm18-20020a656e92000000b0050f8a43b1b9si1244764pgb.187.2023.04.20.03.05.56; Thu, 20 Apr 2023 03:06:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=JeJGarL1; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234162AbjDTJ7d (ORCPT + 99 others); Thu, 20 Apr 2023 05:59:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234139AbjDTJ73 (ORCPT ); Thu, 20 Apr 2023 05:59:29 -0400 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2061e.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe5b::61e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C4351707 for ; Thu, 20 Apr 2023 02:59:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GbTV7wjvyhkuIBJnazL95PNpdrULbNeQRMBZZxqYGZWIRR9BOdia9TyT3GIcbdjlG7fGtYpnRmm4DYLPJRc1/J9HyRZ/Yr73pCIwQlMvBxrAeXM+mk4sfyFw3Gv90qoCcGRluHKFHioQ0Et5c2kyfGtme039Ooh+ekQ/9zTR7yYhZf5tm+Xct6GUTUdrcmYAemcVdTM1k791y1Cx57zzOz5vZlkbc5PaNMqUd48v9tg4cUBI34pkm9N7RNxZF2xf6i//4I6W+oezZbjidi1oE6fT6zOrDB73avkcTkJbIj21zQQIpJBRQILhqxcEd+EvoDMuQYlqGpImeP0uWKbkxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ADg25vwVIBjXa0kAlIYrrkqy51/aO+lsQE3mT7hiwLg=; b=mPVQCBnhEFB+afGRaeXHU7Bs6qPvNM+AT9mHox6PnpGwGVHAJe5+YTawm0mZJcpRic/wQcSwkKeZ8pR4jny1/TpA8NOz6RHovqDRbG8glWzjcprYbNJyqGENCcjgW1lwiF+6HXMBPROgvNrlIzK9aM1HgU8IkjqsGqNRZufZdXI31Als4oOOBslK5DXnwfZb9s3a3rgnOSoYmbxKYqMy9x8aSIdQ8VCTzTHsVLfJqVVzTOPKI6rQh5LBqWzFrUSSO507c8ogPN7OWi354iRwRnLSIjLVv3BWqsBcXpEvvZCh3HIOwlNwU1VApUWaQAk/4uFCVuUcpdNKlyj8Ltf5Dw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ADg25vwVIBjXa0kAlIYrrkqy51/aO+lsQE3mT7hiwLg=; b=JeJGarL1vmBVsGxpxLnHry8hDF7MGZ8XWBEh0bVDvUJ2lZaDQ3OoGMqnJ04RNda0Yh1MlVqaHwI6BakIg1vfZDoBMwX/YFy0Rg3hYIGjmfpb9eFcwxOYudoEn9WdUTaTdSVQVUXtMEqhk4JvnlulYp8zYPcXME1O3whk/1mTHRg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from BN8PR12MB3587.namprd12.prod.outlook.com (2603:10b6:408:43::13) by DS0PR12MB8041.namprd12.prod.outlook.com (2603:10b6:8:147::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.20; Thu, 20 Apr 2023 09:59:25 +0000 Received: from BN8PR12MB3587.namprd12.prod.outlook.com ([fe80::d2f8:7388:39c1:bbed]) by BN8PR12MB3587.namprd12.prod.outlook.com ([fe80::d2f8:7388:39c1:bbed%3]) with mapi id 15.20.6319.022; Thu, 20 Apr 2023 09:59:24 +0000 Message-ID: Date: Thu, 20 Apr 2023 11:59:17 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: BUG: KASAN: null-ptr-deref in drm_sched_job_cleanup+0x96/0x290 [gpu_sched] Content-Language: en-US To: Mikhail Gavrilov Cc: amd-gfx list , dri-devel , Linux List Kernel Mailing , =?UTF-8?Q?Christian_K=c3=b6nig?= , Daniel Vetter References: <10b2570f-a297-d236-fa7b-2e001a4dff12@gmail.com> From: =?UTF-8?Q?Christian_K=c3=b6nig?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: FR3P281CA0134.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:94::18) To BN8PR12MB3587.namprd12.prod.outlook.com (2603:10b6:408:43::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8PR12MB3587:EE_|DS0PR12MB8041:EE_ X-MS-Office365-Filtering-Correlation-Id: 084894c3-61e9-4956-f232-08db4185ebac X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9ltJPt5MLuUuOeHyWgaE0Bpte0GYB0qUMfsQn37YC1GX1VUMUNZJmelWKlmBV9MUQN9GDX+6TaQKeBSsvo2Tz5tkZObhoNnyMT81NgFrVkz83K3cREfsCXqUBtIDXWx5IVoRO0ZA0QyGxu2f3mMIedkPF6OeLkkprThkqzmO8hyqA7JXHSzQrIfqsra43ZaihAVLVO5mN3rjIq6zmhfRBW5kaIEUeygHi2iCAkW2v546ebsfeUbZV8zea6i9UQcFcC8yiCUvmqdYERrUoL+sFD51KlxdkZknKPaw2IiGcSx1LP7Fi3l8+7ehV0Oyk5KrTtpSaAAZ7x2QHVomtZl0pQg/2+I2xVl8oYeudMLweTHlnr0OCOmgSG5qqUcK6nGus3oDdBepdUzMWy9mGr1sm+qwybSG5CrmpNtfYls40a4P6cxgGW/4KF97owSQLbTI+bSWw4DJ5UGvIRGeVpjvyvtQFPP0hB5W4/Sgmp4ZbJ6SJGA+rBUZKkMR47HYe4MpEHN7bf08LzFAV2M/SGvgnk290RxGx2gyETrfluj0pNWIJAEPg4l0dWF6eMg3rMNmpJ7BDmYujm1ClgaPP30QL98XGJVkHQja0u1V2cwtjwehjMFU61uUpbsBR6OQgwZ+XpobFtak7bBH89j2XmU++A== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN8PR12MB3587.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(136003)(346002)(376002)(39860400002)(396003)(366004)(451199021)(186003)(6916009)(4326008)(54906003)(316002)(966005)(66556008)(66476007)(66946007)(6486002)(478600001)(6666004)(8676002)(5660300002)(41300700001)(8936002)(4744005)(2906002)(86362001)(36756003)(31696002)(2616005)(26005)(6512007)(53546011)(6506007)(38100700002)(31686004)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bjBPdUdvdUI2UzVjbjlzRWpVVk1jRHBGeDI4N0tWQXoyVVNFbFpEbFoyNS8x?= =?utf-8?B?bzEwT0VNaHk1OFVDWHpGZWMyUGs1a1lxRzNRdDNhTmZmL0hpOXVzWms5RkEz?= =?utf-8?B?YnNRVDZUc2RFYnRvZ3RMRWd6RDNlZkhXT25jRmtncFVPNVRreXdGVkx3aUJG?= =?utf-8?B?S2d4Z1dDUUREUnNVVmhSMDFLc3JmcTZRdHl3N3FKZTJ3MFI5OFIzbk9qUXlR?= =?utf-8?B?V3dzQk9xZzBIbklwZ0pmeUNPNkw3blBtWmNnTFBtYUc5ei82YnRjLzlRUzJp?= =?utf-8?B?NFJMR01PUm9zTTVXdHpMOEplZEt4cDZxQTQrREMyOUtsajdnL0xib0c3eTFL?= =?utf-8?B?SURXTjR6aXlzQXk1WFBUVENUQ2VQM21tdkVwanJJemxpOGZzNzJYVGYwcWMw?= =?utf-8?B?L1B3d0xPejFWdzJyREkwVVNYb20zVm5yci9ORk1BaTBmc2NxeHUrRG1Pcndm?= =?utf-8?B?THVGN0VDeHhDcjJDUVdDaVpsdUwzdFBiTDlnckR6bUR6dFl1WkxUTTA3YnJj?= =?utf-8?B?WE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=?utf-8?B?RWJtVTdwYVJ0Y1VwR1I3QmRpZEY1QXZhdGsxTTRGUVMvcWhkWnhFY3BRRGpx?= =?utf-8?B?TDFyUWJ2cDlDc29KSTVmeGlJVldKbmRaNG5TUXV5WEhnYVFBWnlQN1Rra2d2?= =?utf-8?B?ZHd4S29FdXhwT2NIaGpkODlnYWxPUHZsWU9pNlkvUXlRTnFoUXh4dCtqNE80?= =?utf-8?B?Zzhzb09BSUxjN0kzYzI0M3R1Z0gwbVlmWkZtN1JEUUtCOVMveXBtM1h2SW8y?= =?utf-8?B?VEg1UGt4cm5JSDFYU1IzbDJuUzdTMzlQUGtmQTIwSzJ4TVJtUU90QmV4aXdG?= =?utf-8?B?aURLWUpFd3ZlWTJLUGdLYUV1UlVMZFo1dERqODRtUGV3NHVyVThXS0ZnQWxB?= =?utf-8?B?YzVoMXhZaUNveFBtcVdMQnhxWEtnOHFxMU52TFh2QUNvdy8wME1VaFZERUxI?= =?utf-8?B?YXBrRGJ3UzlqcksvY3hTSzhpdy96WmNxaStMalJ0T3c5STM2UmZiYnRkZExU?= =?utf-8?B?N1JTQWhlMmdtYTJpU3dLU0o3MitNbnVEMnhFRUNBaWc5TFo1ekZYM0lmbU1y?= =?utf-8?B?ZXU4MU92NFFkem9pZFJ4bnRPbENHUmc4Zk5oamFsRWRoNDhyR2dnclRIQzhs?= =?utf-8?B?Wmc1N1JYZ0pUaGc1RWxNRUUzclYxNU1wSGdWWGhFbW0vZVRmUFlsQ3dRZFhZ?= =?utf-8?Q?BUh15qLh5OGSHi5EL3t1va8W8?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 084894c3-61e9-4956-f232-08db4185ebac X-MS-Exchange-CrossTenant-AuthSource: BN8PR12MB3587.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Apr 2023 09:59:24.6071 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: tcUXZug8ScaOcgf8LNtyPi73UchIWJqp0vPt8dk+TK5v1iHjCsmQaUvF6XpSWN+5 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB8041 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO,NICE_REPLY_A, SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 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 Am 19.04.23 um 21:17 schrieb Mikhail Gavrilov: > On Wed, Apr 19, 2023 at 6:15 PM Christian König > wrote: >> Well exactly that's the problem, I can't reproduce it. >> >> Have you applied any local change or config which could explain that? >> > I did not apply any local changes. > I just pulled all changes from drm-fixes and used the attached config. > After that I am lucky to reproduce the issue after 3 minutes. > I recorded this on video with first take: https://youtu.be/wqD_t8AFU3s > I able to reproduce it on various hardware: > Ryzen 3950X + 7900XTX > Ryzen 7950X + 6900XT > Ryzen 5900HX + 6800M Could you try drm-misc-next as well? Going to give drm-fixes another round of testing. Thanks, Christian.