Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp283117rdh; Tue, 13 Feb 2024 17:33:05 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUEvegMg0MZzjvM15sUA9PkQ1rCBYYmy+e7q9rXVDcCveMBFAQOsAmGAh+JlzOPC0htFBJFiluWRPMcdilgVzAdP0HjE6/6antsH6aCjg== X-Google-Smtp-Source: AGHT+IENWGnXrNMfXeVbgpxNcfg05ER7YaNbkGqDE2vb0PvZDxF9U1BMVlAudwK0tirfp3zioGQF X-Received: by 2002:a05:6214:5901:b0:68c:aa46:c624 with SMTP id qo1-20020a056214590100b0068caa46c624mr1129651qvb.24.1707874385236; Tue, 13 Feb 2024 17:33:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707874385; cv=pass; d=google.com; s=arc-20160816; b=JdkWUsmz6N8ExNBbqInu1JsC0PcDe1P7M9qjU4j0WanqDtqK6eto+kLBbzQTyxmdty W5JviCDtRUB/celQsyHsJOwRC8xRiFXrnE9Vcf7SpI7o+lLuaZm0MlzGV1SzdBfG10HS 7HocqsJJvqMvKQPFuCBHRbmHPWhJ10TpdztZR0VCvA+RYXlfmuu2edxokDBcIwma6asj KpPdw/s/Pwl0STH3LO+Zp3NgKaaMkgiwrsiEctcn9tp3zu1Xtn8GiBc6zo6a1fv3MofX CnzsLPc7JZgSZK2OoseRBKjDLbTY3ai+VtSrmIEs6fp3I6mjwMq00sjFJVezZ2O8nLWI qfJg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=MvRa0m0MP7vNahXXgWFUwfVfOH3d2KJLlbsVIV0nLqI=; fh=QingoXWgdPnlKtI2MlXnbITUN5z+cwNrEcOeqWvMLgc=; b=yUAJJi7Qo9ij3qUVa9IrKW8rfT6f25TZawTlxc7P13dJamNfpk6OUTfTYVeGlQPEM9 vNmOARgnnRLHzIVD9ThKioAgs2mJGosr/7c0b8lEWvif2ZdL4/8lcW4Ukit7dhy8IJcL AOJJZSsO/9z34IGfbpTjkIT/10wxHJCQuumapxRD0h8wNLDt5Kkfq6k5zuppEe/qkp8O ZO8/dVD/f90SdmxNqq0E3ORZ4GA//rHm9vw9zNiEL5nyEswvNL4FfCf9cKc5Pnu3PM3x ncs+KBxL8iCmNUZwFpCVfNkfqa13PRgDuRDVtaeRz1uLiRl79SYwfZvd3s+Fdn2XVCol 8BzQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=sina.com); spf=pass (google.com: domain of linux-kernel+bounces-64668-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64668-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCUdhUHGbI1ID0Otjy1L6QXpq9m18XcISX42igyICkXHsuIC0/7fahJI+0moFGCgGD6d7S3w9k/x9z7YN7sWznGr0tnSBuqmznwoljwDnA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d11-20020ac8544b000000b0042db43affbasi1548767qtq.448.2024.02.13.17.33.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 17:33:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64668-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=sina.com); spf=pass (google.com: domain of linux-kernel+bounces-64668-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64668-linux.lists.archive=gmail.com@vger.kernel.org" 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 04B0F1C26715 for ; Wed, 14 Feb 2024 01:33:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C720910A24; Wed, 14 Feb 2024 01:32:59 +0000 (UTC) Received: from r3-19.sinamail.sina.com.cn (r3-19.sinamail.sina.com.cn [202.108.3.19]) (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 042FC10A01 for ; Wed, 14 Feb 2024 01:32:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.108.3.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707874379; cv=none; b=mvBUYmtHkybFa1J7vsdjEmX0EdVxcB/u++Oy/0I+cMuna7Tu0G1OrNFT7MIjcG6xGnpYBoBKGNTzmvS04OTD3HVG4DpL4fIYUAn35DpHMa5wnwisM92To6skiXGt1j5Ia8Sz6x1l16DK4KgrHs63P2KUN/mJkHDurlaXvIrWyhc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707874379; c=relaxed/simple; bh=m4XzW5h8tG6+LTD1DuY88CyilhHCLsGjkwVfYphz6Ls=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=sBhrjzoY2abR+82C5UnkqUOGot/7A7vcnzLe/tbLs+qKGMhauS6nHAuxZB+pEc+Vu8+uYktnIBC+xL6fMQbJpdPou3EHhHSFpAdIMi1uPbYn7YuUGzeJ1yumhouIMX+abZ+ygMgwxUxIpmZX+G8HGT9MrhoV9oVEUBlCJOUEOic= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sina.com; spf=pass smtp.mailfrom=sina.com; arc=none smtp.client-ip=202.108.3.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sina.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sina.com X-SMAIL-HELO: localhost.localdomain Received: from unknown (HELO localhost.localdomain)([114.249.59.61]) by sina.com (10.182.253.24) with ESMTP id 65CC184100004974; Wed, 14 Feb 2024 09:32:51 +0800 (CST) X-Sender: hdanton@sina.com X-Auth-ID: hdanton@sina.com Authentication-Results: sina.com; spf=none smtp.mailfrom=hdanton@sina.com; dkim=none header.i=none; dmarc=none action=none header.from=hdanton@sina.com X-SMAIL-MID: 2070781048725 X-SMAIL-UIID: 03ADE51C0E9547A58CCD3DF26916023F-20240214-093251-1 From: Hillf Danton To: syzbot Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] [dri?] KASAN: slab-use-after-free Read in drm_atomic_helper_wait_for_vblanks (2) Date: Wed, 14 Feb 2024 09:32:36 +0800 Message-ID: <20240214013238.304-1-hdanton@sina.com> In-Reply-To: <000000000000ec4c32061143ec95@google.com> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit On Tue, 13 Feb 2024 06:08:15 -0800 > HEAD commit: c664e16bb1ba Merge tag 'docs-6.8-fixes2' of git://git.lwn... > git tree: upstream > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=11fcdba2180000 #syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master --- x/drivers/gpu/drm/drm_client_modeset.c +++ y/drivers/gpu/drm/drm_client_modeset.c @@ -1062,6 +1062,7 @@ out_ctx: return ret; backoff: + cancel_work_sync(&state->commit_work); drm_atomic_state_clear(state); drm_modeset_backoff(&ctx); --