Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1288807lqp; Mon, 15 Apr 2024 01:30:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUXYfSJKNLqrc6VszfzfeN402QF/1LLGuv/j6R1fLUgTWiLfZCEqrlCSZvY4fSaEEkWntVrEGQwNa7JOX8Jp00HL21zp5bGCKE7AcdLIA== X-Google-Smtp-Source: AGHT+IHm3tnGyaBsB7SRQhvv1qR7RjkbBT4Nl1IWnJWXLF1WQgUTv5hBsqlSyP7AAIhNzUt/6/YS X-Received: by 2002:a05:6a21:7787:b0:1a7:9476:6cb9 with SMTP id bd7-20020a056a21778700b001a794766cb9mr8566648pzc.32.1713169821750; Mon, 15 Apr 2024 01:30:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713169821; cv=pass; d=google.com; s=arc-20160816; b=AjzFFnlNrFct07q4ZiSRWKYSlZpRyByM66ja2oLVi7Y5a78VaPt06Pu48K9xbJ3ypY ms+krrkevwUtLtyr5ofcU5f8wo6RA1xoglMeTCwipTQMg7YVyyDn2SZmIJBlm5WetDZ1 kqP3oHvvZgFd3Q63bT114tCGIH7CHT3T78wwe0TcDNpaQEcdvbYbFkmH8D/yUTNH1tIF Y/XQ0EJcIyeXZe3ABKdhP3GBYb3IZ8GQCYckYZL86RfG+33uU5/TmcbdGPn3i3F8R4nX iKVya5glj1lVoaif5rIpc7JcUX6SSuy46u9VylxO0ftRNbwZNy8GziUeg5lz3PcCokw3 XtJg== 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:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=MRzkGNOgJQ4yF6M/83/ongWo3HGiFZzNDpB7M7NuG98=; fh=Rb38mZEMvIlMfM1e9i3mwB0AsN12VZN8gfKleBFkO5w=; b=DRWH3BO6WQGSYXs8ZqRjcQZp5s+mXcNp2/wtBMdMVWUqLynE4sG9e7ZMu3uuWHI9jf gRSVAI+mvap89rxntrp0w0H7mQIyR5g9YHuPNPUQLi6cR9UMSuPtmrGKTHh5msUUW6ns Vz5DwUKHBQL8X9EhPAKJAuLNbKUZuH5JkL55O7LVJKV7xbnhRdnIMLk4imD0Rnt5aVWP RLzM3ZuekLXrZ/Dv6RKVkcSEkLaqQjrxpQey+os0xO7bIAVcz6K7uiarzddAoZVW0b2H 5rRxqlGoH1DEIDvbF657B4cqoEGyQcAly4DZT/rl2iIEL7IOGEjwa4ia4HkTGfAC03/A Fi6A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=V0JBn5TT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-144734-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144734-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id gt13-20020a056a004e0d00b006eabed49580si7535009pfb.305.2024.04.15.01.30.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 01:30:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-144734-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=V0JBn5TT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-144734-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144734-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id EA7B7B22D06 for ; Mon, 15 Apr 2024 08:13:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 143A3376E5; Mon, 15 Apr 2024 08:13:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="V0JBn5TT" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 416CC374C6 for ; Mon, 15 Apr 2024 08:13:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713168800; cv=none; b=OVwQVvhs6hLbWktwdWKswZXgXf55DYXdVtSNUVN57slGyYoU3uSmOwO7IfMqi3YPTFvIgVvLSbB0F3sqsbAtbt22LWk84fK77freQZyiAGla+tZlJCTxT5o6MV2xnXkEak6gd1cE2u7GPIZ4a5PmlhAv7fVCt7XxG6r+l5chSsk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713168800; c=relaxed/simple; bh=rcDAWNhXVzUZL03O1SHWIX9sFvrB+I8PVu/WEazX9Ek=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=c1tviZafyrxMu8NLqAedheN2/qcyvZr4Q+h7QDTomGaG1YTgBR+cZWq7i/GPPcM2i88odVaHDsDY35FT+43y4ek8R+QbsG/x1wfJNiI1RR3lZDiuGN5T5BbJlQ6bQ9tXh4gaZtrDYiydyE/Qh6UZWErSEMTM0lMjqwKHTwFAci4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=V0JBn5TT; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8AC35C113CC; Mon, 15 Apr 2024 08:13:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713168799; bh=rcDAWNhXVzUZL03O1SHWIX9sFvrB+I8PVu/WEazX9Ek=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=V0JBn5TTqAla89qpDE0M+vBIipafEvd3mGQijUuI6KvyiNY0IZWmXN/E5py2H0A9h 2NVFepot6wpcrEic4ZMAUHeEDoy58H2/9TSQPxB0L5NLVxIpk/Iznlc0q92YhkuzPc kKUe0JhtR25LcCY9GV2w99nxbtYjns/ssHShCv1hSfcXPsxd3OETiZ4tpce4eqJl5y e8i1RAeoHkeUmtwQ9r4pFnOPdkFQChtEhb7eNZWlOEs1O9OfU710KAjas//kOWTvCf 8PyuCtP18XiK9jIP/6psJ6dFtLt6tYdktikUh67vIs9EjA1p4CtJnZ1Oyk8d7VqI4B qp/FXRCUOEdkA== From: Maxime Ripard To: Eric Anholt , Aleksandr Mishin Cc: Maarten Lankhorst , Thomas Zimmermann , David Airlie , Daniel Vetter , Boris Brezillon , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, lvc-project@linuxtesting.org In-Reply-To: <20240409075622.11783-1-amishin@t-argos.ru> References: <20240409075622.11783-1-amishin@t-argos.ru> Subject: Re: (subset) [PATCH] drm: vc4: Fix possible null pointer dereference Message-Id: <171316879740.200641.7167138932298013615.b4-ty@kernel.org> Date: Mon, 15 Apr 2024 10:13:17 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13.0 On Tue, 09 Apr 2024 10:56:22 +0300, Aleksandr Mishin wrote: > In vc4_hdmi_audio_init() of_get_address() may return > NULL which is later dereferenced. Fix this bug by adding NULL check. > > Found by Linux Verification Center (linuxtesting.org) with SVACE. > > Applied to misc/kernel.git (drm-misc-next). Thanks! Maxime