Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp639740rda; Sun, 22 Oct 2023 03:40:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFSweqBnQLKo9gEluxlG2LyndFasVaAYgIxnV7iv1MfY/jO4fDHa2/u3cAgc9H7VJnGK54l X-Received: by 2002:a05:6a20:a11a:b0:143:f4dd:dfae with SMTP id q26-20020a056a20a11a00b00143f4dddfaemr8825600pzk.43.1697971246094; Sun, 22 Oct 2023 03:40:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697971246; cv=none; d=google.com; s=arc-20160816; b=f99RPtnlF7wFQPaV6M1E+5MQV+FMqcnMLqew++XzWR5PgaBCIIbMS+XYPeLdtJMTWg +aIJ/99mvKkHfX+JdJmQMvnnbJSXqilndjdIdD4/ZZNBZLd2EKSpsDpTnyHe02v4Cljw lcKNs/9rpqPBumj1/ZxLoMpdf5YiYRyvD4H4hRb3pZNwynF88HPC2YUscx3jrDbSA2BS WfTNiUhgyLZgVZT2rzqIfe99QlTnLkLZNuYubifkPuvg/dUvMrAFKaTmaHeK0MrKM9RX E+rWgswsBIJ87eoLznxb0ssDMdC/+2elA2tJxMnU60eCgoMNBXzTAAqM5hhA5+xpPSR5 Vf6g== 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=YzBVACkUZpIZl+LR0BvzDQRi0x4CJ7iYLYG5WjW9JD0=; fh=XsH+ps4nxjS+rWZW+6QLqaASPMxl7PPAZQqD8Q3aAIU=; b=FMgD9g2/pwRTu9qTdFyx4bWwE+7vRlTTN8lrHUtZNQcHRNfTk/tl7QMcC0Hms9VGFg RF0E/NlHTnLqEK1ICNDZA+BsOd+N6r42OGcugTRbRwzCdxtT2Q6FazUg2sSUbdIetHrC u4Mjj9ARqpNiGphpeH/5v6mRGyVeS+4wxEyKjNgNJ2/JuAHA4pF9CD0sz7V+hUnyKv3n xyHnuOz/r46pN04STG2TqUgqe8GXiov0l8wTOigHExNMWxwqUrL/xjUt/vmjkwG+MzIV Q/DU0QmzVIZqhxBxpmmUvvZs8fds4hcOmOBahyO683wPK+AA2ag0driNRN+ej0CKDuWJ s9nQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OrB1dyuz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id w3-20020aa79a03000000b006b0cfed2c77si4723977pfj.135.2023.10.22.03.40.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Oct 2023 03:40:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OrB1dyuz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 299328096FCE; Sun, 22 Oct 2023 03:40:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231791AbjJVKka (ORCPT + 99 others); Sun, 22 Oct 2023 06:40:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231576AbjJVKk3 (ORCPT ); Sun, 22 Oct 2023 06:40:29 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA5E0124 for ; Sun, 22 Oct 2023 03:40:26 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id CE2ABC433C7; Sun, 22 Oct 2023 10:40:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697971223; bh=AmxucS0I6jpezYSp6CUJ8OIsJn2NqODuFduq57nFTjw=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=OrB1dyuzfdbJ/7oZW/qkEYhUCM01qzeJMC0F+gFPLAjZJqlvN1mGGAq0gmOQBp4m5 RVC/bcn4oJWuzKy4tm3BAiqVAU9STic0TZ8dyrkC5Mg6qWeIhGtkT18IhvH1Ojr/4g dP0ic1nRnHyeGv+QxAs9E7TEf2VAb/kFWOvQne/rMRDCtANrMNj+aD5gmdDWUiSwIU YqDEXGe6Tp7mxF39hHX0FJAwdMR0ApMCZL/+qY8ZPiytbLK8WfVW5trlE8R3vdbSWI j0g9A/yG445tMPWGRX7U+bZWAJ3JkaMma1HXHgubfX7IXzWxufhqoDXfMTpE8Bt9y/ WY6E/WysvL21g== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id B0E3AC691E1; Sun, 22 Oct 2023 10:40:23 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net] net: usb: smsc95xx: Fix uninit-value access in smsc95xx_read_reg From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169797122372.373.6344765542608925929.git-patchwork-notify@kernel.org> Date: Sun, 22 Oct 2023 10:40:23 +0000 References: <20231020170344.2450248-1-syoshida@redhat.com> In-Reply-To: <20231020170344.2450248-1-syoshida@redhat.com> To: Shigeru Yoshida Cc: steve.glendinning@shawell.net, UNGLinuxDriver@microchip.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, syzbot+c74c24b43c9ae534f0e0@syzkaller.appspotmail.com, syzbot+2c97a98a5ba9ea9c23bd@syzkaller.appspotmail.com X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Sun, 22 Oct 2023 03:40:43 -0700 (PDT) Hello: This patch was applied to netdev/net.git (main) by David S. Miller : On Sat, 21 Oct 2023 02:03:44 +0900 you wrote: > syzbot reported the following uninit-value access issue [1]: > > smsc95xx 1-1:0.0 (unnamed net_device) (uninitialized): Failed to read reg index 0x00000030: -32 > smsc95xx 1-1:0.0 (unnamed net_device) (uninitialized): Error reading E2P_CMD > ===================================================== > BUG: KMSAN: uninit-value in smsc95xx_reset+0x409/0x25f0 drivers/net/usb/smsc95xx.c:896 > smsc95xx_reset+0x409/0x25f0 drivers/net/usb/smsc95xx.c:896 > smsc95xx_bind+0x9bc/0x22e0 drivers/net/usb/smsc95xx.c:1131 > usbnet_probe+0x100b/0x4060 drivers/net/usb/usbnet.c:1750 > usb_probe_interface+0xc75/0x1210 drivers/usb/core/driver.c:396 > really_probe+0x506/0xf40 drivers/base/dd.c:658 > __driver_probe_device+0x2a7/0x5d0 drivers/base/dd.c:800 > driver_probe_device+0x72/0x7b0 drivers/base/dd.c:830 > __device_attach_driver+0x55a/0x8f0 drivers/base/dd.c:958 > bus_for_each_drv+0x3ff/0x620 drivers/base/bus.c:457 > __device_attach+0x3bd/0x640 drivers/base/dd.c:1030 > device_initial_probe+0x32/0x40 drivers/base/dd.c:1079 > bus_probe_device+0x3d8/0x5a0 drivers/base/bus.c:532 > device_add+0x16ae/0x1f20 drivers/base/core.c:3622 > usb_set_configuration+0x31c9/0x38c0 drivers/usb/core/message.c:2207 > usb_generic_driver_probe+0x109/0x2a0 drivers/usb/core/generic.c:238 > usb_probe_device+0x290/0x4a0 drivers/usb/core/driver.c:293 > really_probe+0x506/0xf40 drivers/base/dd.c:658 > __driver_probe_device+0x2a7/0x5d0 drivers/base/dd.c:800 > driver_probe_device+0x72/0x7b0 drivers/base/dd.c:830 > __device_attach_driver+0x55a/0x8f0 drivers/base/dd.c:958 > bus_for_each_drv+0x3ff/0x620 drivers/base/bus.c:457 > __device_attach+0x3bd/0x640 drivers/base/dd.c:1030 > device_initial_probe+0x32/0x40 drivers/base/dd.c:1079 > bus_probe_device+0x3d8/0x5a0 drivers/base/bus.c:532 > device_add+0x16ae/0x1f20 drivers/base/core.c:3622 > usb_new_device+0x15f6/0x22f0 drivers/usb/core/hub.c:2589 > hub_port_connect drivers/usb/core/hub.c:5440 [inline] > hub_port_connect_change drivers/usb/core/hub.c:5580 [inline] > port_event drivers/usb/core/hub.c:5740 [inline] > hub_event+0x53bc/0x7290 drivers/usb/core/hub.c:5822 > process_one_work kernel/workqueue.c:2630 [inline] > process_scheduled_works+0x104e/0x1e70 kernel/workqueue.c:2703 > worker_thread+0xf45/0x1490 kernel/workqueue.c:2784 > kthread+0x3e8/0x540 kernel/kthread.c:388 > ret_from_fork+0x66/0x80 arch/x86/kernel/process.c:147 > ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 > > [...] Here is the summary with links: - [net] net: usb: smsc95xx: Fix uninit-value access in smsc95xx_read_reg https://git.kernel.org/netdev/net/c/51a32e828109 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html