From patchwork Tue Jun 27 10:23:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anastasia Belova X-Patchwork-Id: 11334 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8111198vqr; Tue, 27 Jun 2023 04:10:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ75Run3OskaF5FVS2GlszbuxwXL/ZcN6LqeBlrl9Ye9t/LsnoHZ9ccMxItkXTPvRw9t2G0m X-Received: by 2002:a05:6a21:78a9:b0:10a:cb95:5aa3 with SMTP id bf41-20020a056a2178a900b0010acb955aa3mr39659219pzc.7.1687864229468; Tue, 27 Jun 2023 04:10:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687864229; cv=none; d=google.com; s=arc-20160816; b=xku2kQzg+TB1eSITB+RIbmMgfbZM2TGGHkyPVBwZLbmVH6aEMYBdomrKtyAZNEXhr4 egllSWSNlSkpij8/IkSAvVqO54RbSqlIJ3u80MnzbjwAoswiiBDfSgj9Nt/NEvbdkdqI NPOTzh3MmuvFJeQ4zvE6lyZrAQAQzgGDybbgGMuNoPSe+pEdrTGB0Xvm3szEiqss0Xcm XE64EELVja1Ik3PthGXiTg3PBUIZY9si5O/2Ubp1Wx943YgfgEZtb5KdEiyh4MStzOJY ymWJqCQ355syriboxLKRsZl8W4pYlC3v/wta8/y/Ukq0Sv9ZFLNcJHz7Lys8X1dILJon bOgQ== 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 :message-id:date:subject:cc:to:from; bh=hQpKB0/z1nNQlWt3+IyeM3548fsk11AU5LgxwF+VEBU=; fh=/m52F0nK+w8Y1BNuboqTjvmsVfAVuvgxQsjKVPU3RSE=; b=vrRXzPCKmYZ39KHFPsJRZi8fPz2qgk8WQef5pvfYm59JfdTXKmsuaRrbz1cBesgav9 pxgAEgzCBb1bJug+mbF7OIiFgz+gp4w/e+bgt18Syn6q1YzSasfxH+7gyzTBhhZbZxAr w3jQN/zHdFM3PJIZQSLtj2pkBWDnIoaV1x3Pq9aTZE9Vc6zT5ajwbkNmQ/Gs9Hh9yUmZ z2460+xjEJRlDkq0ykSPbG3r7/ElQWtquUrSc/F6fPYk5kC8DrZAJOE53AXDQ06P8yka fp7x72Os8gTbAO1PEywwlo86486qEvFbGx6IP3r58kQvjjKZzzG4UswLtecqnPJng0jt 8Rtw== ARC-Authentication-Results: i=1; mx.google.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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 196-20020a6300cd000000b0055ac915039fsi5042929pga.551.2023.06.27.04.10.16; Tue, 27 Jun 2023 04:10:29 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232030AbjF0KZq (ORCPT + 99 others); Tue, 27 Jun 2023 06:25:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232202AbjF0KZL (ORCPT ); Tue, 27 Jun 2023 06:25:11 -0400 Received: from mail.astralinux.ru (mail.astralinux.ru [217.74.38.119]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4F6C2968; Tue, 27 Jun 2023 03:23:50 -0700 (PDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.astralinux.ru (Postfix) with ESMTP id CA37D186675E; Tue, 27 Jun 2023 13:23:46 +0300 (MSK) Received: from mail.astralinux.ru ([127.0.0.1]) by localhost (rbta-msk-vsrv-mail01.astralinux.ru [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id i0vgddjJrO1C; Tue, 27 Jun 2023 13:23:46 +0300 (MSK) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.astralinux.ru (Postfix) with ESMTP id 7DF631865F57; Tue, 27 Jun 2023 13:23:46 +0300 (MSK) X-Virus-Scanned: amavisd-new at astralinux.ru Received: from mail.astralinux.ru ([127.0.0.1]) by localhost (rbta-msk-vsrv-mail01.astralinux.ru [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id dqY1wNlJLr1V; Tue, 27 Jun 2023 13:23:46 +0300 (MSK) Received: from anastasia-huawei.. (unknown [89.222.134.55]) by mail.astralinux.ru (Postfix) with ESMTPSA id 683C71865B39; Tue, 27 Jun 2023 13:23:44 +0300 (MSK) From: Anastasia Belova To: stable@vger.kernel.org, Greg Kroah-Hartman Cc: Anastasia Belova , Mauro Carvalho Chehab , Sakari Ailus , Xiaomeng Tong , Tsuchiya Yuto , linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, lvc-project@linuxtesting.org Subject: [PATCH 5.10 0/1] media: atomisp: fix "variable dereferenced before check 'asd'" Date: Tue, 27 Jun 2023 13:23:33 +0300 Message-Id: <20230627102334.18781-1-abelova@astralinux.ru> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769853884606137779?= X-GMAIL-MSGID: =?utf-8?q?1769853922551511378?= The variable 'asd', which may be NULL, is dereferenced before check. The problem has been fixed by the following patch which can be cleanly applied to the 5.10 branch. Found by Linux Verification Center (linuxtesting.org) with SVACE.