Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3559082pxp; Tue, 8 Mar 2022 17:26:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJz5nDIcVRUaLrj4nlsUOdwUtORoJ65W9L/CC853ArzlxJ2o0/ZTuRi+n+3qF3SKRTcvcuLz X-Received: by 2002:a63:b10:0:b0:373:393f:2015 with SMTP id 16-20020a630b10000000b00373393f2015mr16484149pgl.322.1646789198105; Tue, 08 Mar 2022 17:26:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646789198; cv=none; d=google.com; s=arc-20160816; b=nkZdm0jJ/zeY8hqb7EHN5ujVBe7VgQGrogFwobFncCRWmsKyEOy5Ibiiy1F6vDx7xQ 3h5QvTGOyBTlkW/U5tCZqYvP9MasLZJYkVGljlm/C6X+KZdsljuvBQQDx92mEY6h6iSd fRoEkTVyqJX3mWyPRaeaq1fRreSeV2lkJ7XbA/rjvy9NnejEUlo2CJhn85ZFqwfUWOOs JuWaHLKb5wnlKMF9G7dyUHbeaYDxpagoe65+M9Jkk7aSukA6wqCHDfbViMLqsI7q8Wij p3yFtSPvzFOjwunuxtPIfk5UgHsgqmT39i6surp3Td0Ca3DxWKaBgGkLzl1X/T18LeNA R3OA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=g3N81fA+vJADPOjYhZ3sl82OW76Cy0oeLIM010Hh6ho=; b=hdnvdLHvgtkL984m9EMpCBcdfkfpHv1CrO7kp4b/zP27CJijllugumAfh3G3DUOfTJ mWSntYlmIpoWtqvCfftoUfsFDcf0EiaDh6qBovCsn/HLC1casNwTBoOaxFI5doni977p tha7TDzo59D3pfpk1/NCprvpb/ygWG7kkLw03loktLlk3+Uzc/JCeVyAO6CxfEeOmcIK EUPngS/11r6XXWfLzrwsuJKT9FiIBdNJvlH+YF6iEfJnLUQi0hQ2lc9NyEJbOUZBiY1F 2dsF6MM+ExtG7hj3+GySZN03tgOlWLL4zGATmJoT7gpUaiXQBEqfgTFiNUBPBAMlLz0G uspg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="cJm0/6b6"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id x13-20020a63b20d000000b003808c48e03fsi561621pge.615.2022.03.08.17.26.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 17:26:38 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="cJm0/6b6"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 73C52AE4C; Tue, 8 Mar 2022 16:16:13 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236702AbiCHQmm (ORCPT + 99 others); Tue, 8 Mar 2022 11:42:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233279AbiCHQml (ORCPT ); Tue, 8 Mar 2022 11:42:41 -0500 X-Greylist: delayed 158 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 08 Mar 2022 08:41:34 PST Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::226]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EC9651E7B; Tue, 8 Mar 2022 08:41:32 -0800 (PST) Received: (Authenticated sender: alexandre.belloni@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 1F8A5C000B; Tue, 8 Mar 2022 16:41:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1646757690; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=g3N81fA+vJADPOjYhZ3sl82OW76Cy0oeLIM010Hh6ho=; b=cJm0/6b6Q65dqVCXybrIAtOM4hTkRDKnfDns7ad3Mk3eo62xB8XQdxU/dbsoTJ1i3HmXdW 7ZXUdKndUEv9D7D5Ac5hWapd6p5QuTVyAe5QeDEDuX9QcUGZ9pWYmSDZhEV6d0uUv/tjKj QR7lKKNGZi4/6Q5KoM4jzfOS69YlLwxJ0ZkNXml1Kp36FU66jF5h//s1Dgvq9A093Kumh1 93BKb4oFXHg/rHsyShpdKM+UYWVHpB4IZaUhx+FnncSBkMYr6EytqzqmJ4vykvdGunXOZO TJePyB3MyfnQDRyZCG5yvPgFcuGbXF6J/nGNhZXJ0CC8ghAIPd9ramE+xTm0zQ== From: Alexandre Belloni To: Alessandro Zummo , Linus Walleij , Elliot Berman Cc: Alexandre Belloni , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rtc@vger.kernel.org, stable@vger.kernel.org, Carl van Schaik , Ali Pouladi Subject: Re: [PATCH] rtc: pl031: fix rtc features null pointer dereference Date: Tue, 8 Mar 2022 17:41:28 +0100 Message-Id: <164675768067.58101.5701419137609469239.b4-ty@bootlin.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220225161924.274141-1-quic_eberman@quicinc.com> References: <20220225161924.274141-1-quic_eberman@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Fri, 25 Feb 2022 08:19:24 -0800, Elliot Berman wrote: > From: Ali Pouladi > > When there is no interrupt line, rtc alarm feature is disabled. > > The clearing of the alarm feature bit was being done prior to allocations > of ldata->rtc device, resulting in a null pointer dereference. > > [...] Applied, thanks! [1/1] rtc: pl031: fix rtc features null pointer dereference commit: 75445c15916421993d47c338a17d49f3449b516f Best regards, -- Alexandre Belloni