Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp628938pxt; Thu, 5 Aug 2021 07:57:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxyTnUtoPDyUNrkmyuTtWQn6247usjVm9wFBLasRyEF1wdDTmuYTRDKFbwDe2rJUierKdC X-Received: by 2002:a17:906:a0ce:: with SMTP id bh14mr5175596ejb.434.1628175466215; Thu, 05 Aug 2021 07:57:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628175466; cv=none; d=google.com; s=arc-20160816; b=olEdJIltcl5/gg4lpIsCGRM2xY4yGzOcqjkVRfmu+j5sAUXDSfW1DNPedfLnv4ydFf tHmBeUuiTPRXmhFoVtjFpmaTMENJyDpMrC0cIA1jt5n6wD+QyiN7t57CfBxlGVgXQImS HLspNbx3KInnKkvSTaBL8JjILcRNxtSYwSyoTkfnLTAKgOwXTVDD2EN/uL1t9Z6E5fFs yl4CC/fSE3b6WNhrxhxonAS2VR7tMS4AdgUolxwD5YHwdmYGVGLIGCMpM2j2dUXZborh HPZHUGT4p5KgIpDk/vzcWWhakPf7ew12CgRPlD/+xKbcVIQN4PL4SBcFvBO1WVsNQB3n 1XJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=yHkItKu0h2pcq+0rEEZIQg+tCBIUp0dOI5BHdcsnmpc=; b=mXUDPmo8wwZ8n9BzdtpfqDNVpXLEiqgYZQikIscW8UBAiOdocRlK2Mc25H2P7KearS P+tJdP6PiW4jtA3fxNLXgHPKM1CVeSqb23y2GFQ3bAIKVot8GohOeL1WKqaMHB2EkEcN 9OSMIyZUveRiBk2TVBoN8FhGJoDMyvf6gZQfDteZUM4Ad6X/xkx9zGyRZ+XxrAaKEBRx r92QA0ArpQJc7MmwKC+Pm1Qj9sdiUWuRzg3Awvp9fmLS2Dx2TiLTyhBgK/VHnu8QH6xI xfzl9NNQsEdYQR9UMZICr7or8JEuEJOkvLWF6Ht2/ulqy00QuMhJJuabWLjxqUB06gs2 b6Uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=n03cAyjc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r25si6159227edq.56.2021.08.05.07.57.23; Thu, 05 Aug 2021 07:57:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=n03cAyjc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241416AbhHEOuX (ORCPT + 99 others); Thu, 5 Aug 2021 10:50:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:38716 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233269AbhHEOuU (ORCPT ); Thu, 5 Aug 2021 10:50:20 -0400 Received: by mail.kernel.org (Postfix) with ESMTPS id 55F8C61159; Thu, 5 Aug 2021 14:50:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628175006; bh=nNx864jOpGsY8Fllnm7k8ZuF5fR9ejytnm2A9LuOrlo=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=n03cAyjcWAyGcHbVX+/FDh109nspNKfGUtWxzrlGuLe1H0rTkjtXLrV+Br8qDCjhy aNBE3QaIfIFTpCR5KgwigfAaH2EZGvjede5Ewwe8oZeu65+U4pb6Cj/J7Nb3kihY+0 x1BQKgcOvj4C5YRM2BvrU8wRs/3LmoXq9/VIQxkq59J0xg5Op9XeV0vV3NXHmoiHgq BSScA7nw3dHDYJh8M6k+ahFKSCTfV042t8XJtZ0x1O95HW6iYan53zuJRzds7WtLH5 hTUVCvyRtRnD2u+2sYxujN66VNvcxX1Mc59FWnLFr5a1uZmGF97hkiK84LcdjreQaw 1o/WjlUJZTYeQ== Received: from pdx-korg-docbuild-2.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by pdx-korg-docbuild-2.ci.codeaurora.org (Postfix) with ESMTP id 4389E60A88; Thu, 5 Aug 2021 14:50:06 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net v2] net: pegasus: fix uninit-value in get_interrupt_interval From: patchwork-bot+netdevbpf@kernel.org Message-Id: <162817500627.11382.2475044595872235331.git-patchwork-notify@kernel.org> Date: Thu, 05 Aug 2021 14:50:06 +0000 References: <20210804143005.439-1-paskripkin@gmail.com> In-Reply-To: <20210804143005.439-1-paskripkin@gmail.com> To: Pavel Skripkin Cc: petkan@nucleusys.com, davem@davemloft.net, kuba@kernel.org, linux-usb@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, syzbot+02c9f70f3afae308464a@syzkaller.appspotmail.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (refs/heads/master): On Wed, 4 Aug 2021 17:30:05 +0300 you wrote: > Syzbot reported uninit value pegasus_probe(). The problem was in missing > error handling. > > get_interrupt_interval() internally calls read_eprom_word() which can > fail in some cases. For example: failed to receive usb control message. > These cases should be handled to prevent uninit value bug, since > read_eprom_word() will not initialize passed stack variable in case of > internal failure. > > [...] Here is the summary with links: - [net,v2] net: pegasus: fix uninit-value in get_interrupt_interval https://git.kernel.org/netdev/net/c/af35fc37354c You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html