Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp363989rdb; Tue, 16 Jan 2024 02:46:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IFQO56m6577fAopyUyrHCBbmvR67mFSR/Q2fLr03Y985vqAAUOEz2v8IahHnmiLmg6Q/Rvc X-Received: by 2002:a05:6870:3282:b0:1fb:75a:6d1a with SMTP id q2-20020a056870328200b001fb075a6d1amr9660688oac.65.1705402016809; Tue, 16 Jan 2024 02:46:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705402016; cv=none; d=google.com; s=arc-20160816; b=k23YCQpCEwICEv6eGxCOEc4BL6Jo7VHoFyaKG9rBQsf0UEHun2n6ZGBZEvhCrjzG2W pMt70TQ4u3iIGcdrCE0Vgdc3F+D5mAhhls6FYRSWkQCnf+TXAEtXYwTJhIok++zPCJaO bhgF5Nf2zoQ/9upUnJaHDuluIXiYSa1IhlK29QaecML2AF7omdG8OW+UR18MhkMmndQy 1Z/u1M30jT426RBuP9A0ipRtBDKOOrXZP4WhXb0PUclrWl8I7Ce7gQvc9s4G54H+tiOV Q89oiKPQi5euvcEQ9IuR9+9SKhfztj8SieORIUO1eBdS8yGNxVb0AXN+pTHGn5b/+Ee1 jt8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=uJ6VNVEe3MQa3aVTkgyy1bVeVbAM3wMV1HKk86y3sEw=; fh=W3uA7wwH/dYRNiNgU5sZoST1u5F7hhGjvB6C6Nyl+8g=; b=bIdDpLzVWJ4ehbbv+9WJYBSInKrFYsbfhWuCvmnPtQdBp2Lr6GhAncettM9Og2kQ1P 7BMIcZWqlh6ev4dvuKccFJOK8/Is+RAI54EFZ9PIeUmSt36Ta/FUblH1QL6o4FlCrSs6 WuRRU2qHFlxztOmj0HrxU+XnPFsQSWALSTiRgvpQJnaKrn2pb5JNOQjli96cUluDGbxE Bn+IS8KlSgWmsOncOGA6MbYwxDFUlWY/LgTZhJDh5Dv0jIa5V6IIji3Assjyr825G/7r l4dln2W+47F9VW5AiiQQk731bnpvmMI7WNmckw3rYs6wqUwH+HqL9Ncqo+Wcc+yfko/Q laQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=a1SnG66i; spf=pass (google.com: domain of linux-kernel+bounces-27267-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27267-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ucw.cz Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id i4-20020a639d04000000b00589fcc39ef1si10941359pgd.365.2024.01.16.02.46.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 02:46:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-27267-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=a1SnG66i; spf=pass (google.com: domain of linux-kernel+bounces-27267-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27267-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ucw.cz 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 75DDE285674 for ; Tue, 16 Jan 2024 10:46:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 020F518C16; Tue, 16 Jan 2024 10:46:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ucw.cz header.i=@ucw.cz header.b="a1SnG66i" Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) (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 1FC6E17BBC; Tue, 16 Jan 2024 10:46:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ucw.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ucw.cz Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id B91A11C0071; Tue, 16 Jan 2024 11:46:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucw.cz; s=gen1; t=1705402005; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=uJ6VNVEe3MQa3aVTkgyy1bVeVbAM3wMV1HKk86y3sEw=; b=a1SnG66iualXG5lAh86nGw5Eqoy1w1F657wNFWVxKHDjdTwolm7tmUO0PBNukU0k9dyY9N NAHwZjmRJAOlOkl67WpNPzvgCGdbx9hMoDwYyI5le9r1+0nGoLxDOxxYBVG8h7lFB34IF3 5dHoQPkrDmzRWj+EeeKY9Mh9ipnXyYs= Date: Tue, 16 Jan 2024 11:46:45 +0100 From: Pavel Machek To: Sasha Levin Cc: Jani Nikula , linux-kernel@vger.kernel.org, stable@vger.kernel.org, tzimmermann@suse.de, Ziqi Zhao , Maxime Ripard , dri-devel@lists.freedesktop.org, Harshit Mogalapalli , syzbot+4fad2e57beb6397ab2fc@syzkaller.appspotmail.com Subject: End of 4.14 autosel? Re: [PATCH AUTOSEL 4.14 3/6] drm/crtc: Fix uninit-value bug in drm_mode_setcrtc Message-ID: References: <20231218124725.1382738-1-sashal@kernel.org> <20231218124725.1382738-3-sashal@kernel.org> <87bkamvay5.fsf@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="o+sd9barL1BWDrsW" Content-Disposition: inline In-Reply-To: --o+sd9barL1BWDrsW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > > From: Ziqi Zhao > > >=20 > > > [ Upstream commit 3823119b9c2b5f9e9b760336f75bc989b805cde6 ] > > >=20 > > > The connector_set contains uninitialized values when allocated with > > > kmalloc_array. However, in the "out" branch, the logic assumes that a= ny > > > element in connector_set would be equal to NULL if failed to > > > initialize, which causes the bug reported by Syzbot. The fix is to use > > > an extra variable to keep track of how many connectors are initialized > > > indeed, and use that variable to decrease any refcounts in the "out" > > > branch. > > >=20 > > > Reported-by: syzbot+4fad2e57beb6397ab2fc@syzkaller.appspotmail.com > > > Signed-off-by: Ziqi Zhao > > > Reported-and-tested-by: syzbot+4fad2e57beb6397ab2fc@syzkaller.appspot= mail.com > > > Tested-by: Harshit Mogalapalli > > > Link: https://lore.kernel.org/r/20230721161446.8602-1-astrajoan@yahoo= =2Ecom > > > Signed-off-by: Maxime Ripard > > > Signed-off-by: Sasha Levin > >=20 > > This commit fixes an uninitialized value, but introduces a new > > one. Please backport 6e455f5dcdd1 ("drm/crtc: fix uninitialized variable > > use") from v6.7-rc6 to go with it. >=20 > I'll take 6e455f5dcdd1 too, thanks! So, what is the status of 4.14-stable? Last one was marked. .. well. .. as last one, so perhaps AUTOSEL should start ignoring it, too? Best regards, Pavel --=20 People of Russia, stop Putin before his war on Ukraine escalates. --o+sd9barL1BWDrsW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCZaZelQAKCRAw5/Bqldv6 8sdcAJ9rTyq5VQW4BNAizG86yFj6oniPRACgi8ro35eyUnFqN72aI2RVAxI1qYg= =SCC6 -----END PGP SIGNATURE----- --o+sd9barL1BWDrsW--