From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A83C6C433EF for ; Tue, 15 Feb 2022 10:42:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236635AbiBOKm3 (ORCPT ); Tue, 15 Feb 2022 05:42:29 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:60980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236631AbiBOKm2 (ORCPT ); Tue, 15 Feb 2022 05:42:28 -0500 Received: from mail-il1-f199.google.com (mail-il1-f199.google.com [209.85.166.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 145A89A9BB for ; Tue, 15 Feb 2022 02:42:18 -0800 (PST) Received: by mail-il1-f199.google.com with SMTP id i17-20020a925411000000b002bf4c9c4142so5414645ilb.6 for ; Tue, 15 Feb 2022 02:42:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=LZjOty7zFJyOrMcr4TxzREc+2c2KYd3S0p/Wv9X7MIc=; b=E2LCFnFmpq2yrJLPlvub1gMKK7gGBGRd8fR9Xh+obvlPOQ2lTVdEiWOZ2k/lB1XBFF b1nsQGOgg0hfYaycfMswvUU3fFlRyxr54rH7Rc0BodWHpjI79o3UhpNjPUSHpygtEcoJ e/m+u7ewo2bygUhval13+O3jKuruyngaAUBY1foBzNfyQ0Y8LJ6c23vnR9es5nOPpDKM TKyM39bYFkVgrFOmgwY7wLCMOvBmmVznBGcOv9tdGx/srd5ZDueIXL6kmbdKm+7HLB8b /HbeQB6l5fkxw1FkqtT9zf3kA3476c2LzTrgkwuCLBUwCr9wmCG/uDEb2JW52p5isScJ UFkg== X-Gm-Message-State: AOAM533FxLIFclMVVPN9ldl7eZ6Bu/Pzv/wmUeDjf11cmqCGeFTEDnpt nI8IlufvJw48jm3+DdxG+AionZFtjOfZYZVOP44Snl19XGvv X-Google-Smtp-Source: ABdhPJw14P7CBwpVD017iscgSxpeYEOKiTbswdQ+qjsuc8jOMmAEFFiwc4iS66FSjVgskWlH1gc92AYMS8GmDsc0kxpdzyp7wtFh MIME-Version: 1.0 X-Received: by 2002:a05:6e02:1a0a:: with SMTP id s10mr2075014ild.297.1644921737274; Tue, 15 Feb 2022 02:42:17 -0800 (PST) Date: Tue, 15 Feb 2022 02:42:17 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000d56a0305d80c2f2b@google.com> Subject: [syzbot] KMSAN: uninit-value in ax88179_led_setting From: syzbot To: arnd@arndb.de, davem@davemloft.net, glider@google.com, jgg@ziepe.ca, kuba@kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, netdev@vger.kernel.org, phil@philpotter.co.uk, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: 85cfd6e539bd kmsan: core: delete kmsan_gup_pgd_range() git tree: https://github.com/google/kmsan.git master console output: https://syzkaller.appspot.com/x/log.txt?x=12d6c53c700000 kernel config: https://syzkaller.appspot.com/x/.config?x=b9807dd5b044fd7a dashboard link: https://syzkaller.appspot.com/bug?extid=d3dbdf31fbe9d8f5f311 compiler: clang version 14.0.0 (/usr/local/google/src/llvm-git-monorepo 2b554920f11c8b763cd9ed9003f4e19b919b8e1f), GNU ld (GNU Binutils for Debian) 2.35.2 Unfortunately, I don't have any reproducer for this issue yet. IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+d3dbdf31fbe9d8f5f311@syzkaller.appspotmail.com ax88179_178a 2-1:0.35 (unnamed net_device) (uninitialized): Failed to read reg index 0x0001: -71 ax88179_178a 2-1:0.35 (unnamed net_device) (uninitialized): Failed to read reg index 0x0002: -71 ===================================================== BUG: KMSAN: uninit-value in ax88179_check_eeprom drivers/net/usb/ax88179_178a.c:1074 [inline] BUG: KMSAN: uninit-value in ax88179_led_setting+0x884/0x30b0 drivers/net/usb/ax88179_178a.c:1168 ax88179_check_eeprom drivers/net/usb/ax88179_178a.c:1074 [inline] ax88179_led_setting+0x884/0x30b0 drivers/net/usb/ax88179_178a.c:1168 ax88179_bind+0xe75/0x1990 drivers/net/usb/ax88179_178a.c:1411 usbnet_probe+0x1284/0x4140 drivers/net/usb/usbnet.c:1747 usb_probe_interface+0xf19/0x1600 drivers/usb/core/driver.c:396 really_probe+0x67d/0x1510 drivers/base/dd.c:596 __driver_probe_device+0x3e9/0x530 drivers/base/dd.c:751 driver_probe_device drivers/base/dd.c:781 [inline] __device_attach_driver+0x79f/0x1120 drivers/base/dd.c:898 bus_for_each_drv+0x2d6/0x3f0 drivers/base/bus.c:427 __device_attach+0x593/0x8e0 drivers/base/dd.c:969 device_initial_probe+0x4a/0x60 drivers/base/dd.c:1016 bus_probe_device+0x17b/0x3e0 drivers/base/bus.c:487 device_add+0x1d3e/0x2400 drivers/base/core.c:3394 usb_set_configuration+0x37e9/0x3ed0 drivers/usb/core/message.c:2170 usb_generic_driver_probe+0x13c/0x300 drivers/usb/core/generic.c:238 usb_probe_device+0x309/0x570 drivers/usb/core/driver.c:293 really_probe+0x67d/0x1510 drivers/base/dd.c:596 __driver_probe_device+0x3e9/0x530 drivers/base/dd.c:751 driver_probe_device drivers/base/dd.c:781 [inline] __device_attach_driver+0x79f/0x1120 drivers/base/dd.c:898 bus_for_each_drv+0x2d6/0x3f0 drivers/base/bus.c:427 __device_attach+0x593/0x8e0 drivers/base/dd.c:969 device_initial_probe+0x4a/0x60 drivers/base/dd.c:1016 bus_probe_device+0x17b/0x3e0 drivers/base/bus.c:487 device_add+0x1d3e/0x2400 drivers/base/core.c:3394 usb_new_device+0x1b8e/0x2950 drivers/usb/core/hub.c:2563 hub_port_connect drivers/usb/core/hub.c:5353 [inline] hub_port_connect_change drivers/usb/core/hub.c:5497 [inline] port_event drivers/usb/core/hub.c:5643 [inline] hub_event+0x5ad2/0x8910 drivers/usb/core/hub.c:5725 process_one_work+0xdb9/0x1820 kernel/workqueue.c:2298 process_scheduled_works kernel/workqueue.c:2361 [inline] worker_thread+0x1735/0x21f0 kernel/workqueue.c:2447 kthread+0x721/0x850 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 Local variable eeprom.i created at: ax88179_check_eeprom drivers/net/usb/ax88179_178a.c:1045 [inline] ax88179_led_setting+0x2e2/0x30b0 drivers/net/usb/ax88179_178a.c:1168 ax88179_bind+0xe75/0x1990 drivers/net/usb/ax88179_178a.c:1411 CPU: 1 PID: 13457 Comm: kworker/1:0 Not tainted 5.16.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: usb_hub_wq hub_event ===================================================== --- This report is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot.