Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp143035imw; Mon, 4 Jul 2022 06:43:44 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vmo7Sp/xZC1ES/CWBw/OSbqNlydj2QH5d2iRYUQLM+V3aCl6lRDHbj6MYLIdeQ7wOMXKMR X-Received: by 2002:a17:90b:1b07:b0:1ec:c617:a314 with SMTP id nu7-20020a17090b1b0700b001ecc617a314mr34198004pjb.214.1656942224220; Mon, 04 Jul 2022 06:43:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656942224; cv=none; d=google.com; s=arc-20160816; b=S9rHe/91PFLpPvYcjmYDckyrJhN5aHNjxkA4VukMHbUMzxugOHkOXXChAqO9ib5Vxr YyW7yRDLzNPgCrr6x0iSc7ZIeMMH6u3nfP7SEpqxzkRMu9JpxIAd4bXaqw18fREK0FqR u8tUU4loCRUYtT13FyYI6TryC4J/uIbqvy75N8rtRUc8aRtaRlT9sbcxbJNFa0QlUd1H 8nKmhg1DwLKsULD1DjadPwWsNl4pvSQNuGUlte1yZzB4U4B8ohoINPhBG21nZeh9VXuI 8qVlk4N6LRvLDDDtU3iS26uLh/NTVz44F1F7L8nzT6nWbRI1JNAD6zw+4yQiRTHkUrMU 4kkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:subject:message-id:date:mime-version; bh=ig3N5oa/JeW9dpkx21ieU8vJNyRfJLsRn6DNkb8uyyw=; b=L+4uAMw/+esLhQpxdUJU0VOmqBkKW1wnuQ6to+v8IXTGiUbZ9goLD4qwxaSLGUJKvK RQsmemgGiEPJ7GdlnUfffp8m44T16hM3DpWbfmfrp2DBtd0AWMTeHbsrK92+pP1eZAmI 73RVAHVekQ8/pAGoaymw9pAJX4AKC1CIsvXFQHjTA5VGQgz+ITAcoIzqOJK/SuXuvUp5 eGqDUgE7o9i4J6k+sISAWeFjB3qqtbImdckPgixyPP2ncv6sBf8gsrbAk1voUguI2eLZ da81MOv/V9wgah5Dvw2mNUzlNOmSnBGtAuGAmbKtMwoQIFdjkD6wQ8vsA+ObrSuSZ2gS 9wLg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j6-20020a170903024600b0016a2221fcadsi24727106plh.509.2022.07.04.06.43.32; Mon, 04 Jul 2022 06:43:44 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234804AbiGDNcO (ORCPT + 99 others); Mon, 4 Jul 2022 09:32:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234753AbiGDNbp (ORCPT ); Mon, 4 Jul 2022 09:31:45 -0400 Received: from mail-il1-f197.google.com (mail-il1-f197.google.com [209.85.166.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AEA1312A88 for ; Mon, 4 Jul 2022 06:27:30 -0700 (PDT) Received: by mail-il1-f197.google.com with SMTP id l2-20020a056e0212e200b002d9258029c4so4258313iln.22 for ; Mon, 04 Jul 2022 06:27:30 -0700 (PDT) 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=ig3N5oa/JeW9dpkx21ieU8vJNyRfJLsRn6DNkb8uyyw=; b=NNPUTTs7IaVAVsqFXqxo1WnUSukCfzekylqs+N/HnTQq3dn6O/a91X9B2xtMTjzoMR wosRjKpzbOK7gXjqbN41zmIyhUwtOcYwD4h33tw8ieNtcY3RSePax8pcuV8hnhl2fldm XEWahScCsH37bKHTWfLHXK2rvvF06pmm4wl2kxrUj4ZpPPyn2uiA/2PMXlkbxU+Nm0PH yMdShTFcwCUL+COU2j35QvRI67mgq0UtVhDd7vN2vZZzUXaMbG2wrYoC6CN6k5FJw6UP usWVI5weDowhegMquMb1MJVYkQn3KXXSEAvnDhrIuZjL13QJgsqbQUvTchXDGQR2YFns xnGw== X-Gm-Message-State: AJIora/zeytsEe7oaNNdcZyWdTAvM3U4VDwh2M84/7bD+pxnMk0bzK2S GD1RndFAeQbRbVReKhavFu1UlYE+RARYfStpMaO3KbgQVY8h MIME-Version: 1.0 X-Received: by 2002:a5d:9919:0:b0:675:48c7:d959 with SMTP id x25-20020a5d9919000000b0067548c7d959mr15771702iol.27.1656941250080; Mon, 04 Jul 2022 06:27:30 -0700 (PDT) Date: Mon, 04 Jul 2022 06:27:30 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000009ff60505e2fab2e6@google.com> Subject: [syzbot] KMSAN: uninit-value in ethnl_set_linkmodes (2) From: syzbot To: davem@davemloft.net, edumazet@google.com, glider@google.com, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, pabeni@redhat.com, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SORTED_RECIPS,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 Hello, syzbot found the following issue on: HEAD commit: 4b28366af7d9 x86: kmsan: enable KMSAN builds for x86 git tree: https://github.com/google/kmsan.git master console output: https://syzkaller.appspot.com/x/log.txt?x=169d3317f00000 kernel config: https://syzkaller.appspot.com/x/.config?x=d14e10a167d1c585 dashboard link: https://syzkaller.appspot.com/bug?extid=ef6edd9f1baaa54d6235 compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project.git 610139d2d9ce6746b3c617fb3e2f7886272d26ff), 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+ef6edd9f1baaa54d6235@syzkaller.appspotmail.com ===================================================== BUG: KMSAN: uninit-value in ethnl_update_u32 net/ethtool/netlink.h:81 [inline] BUG: KMSAN: uninit-value in ethnl_update_linkmodes net/ethtool/linkmodes.c:295 [inline] BUG: KMSAN: uninit-value in ethnl_set_linkmodes+0x1469/0x2270 net/ethtool/linkmodes.c:344 ethnl_update_u32 net/ethtool/netlink.h:81 [inline] ethnl_update_linkmodes net/ethtool/linkmodes.c:295 [inline] ethnl_set_linkmodes+0x1469/0x2270 net/ethtool/linkmodes.c:344 genl_family_rcv_msg_doit net/netlink/genetlink.c:731 [inline] genl_family_rcv_msg net/netlink/genetlink.c:775 [inline] genl_rcv_msg+0x103f/0x1260 net/netlink/genetlink.c:792 netlink_rcv_skb+0x3a5/0x6c0 net/netlink/af_netlink.c:2501 genl_rcv+0x3c/0x50 net/netlink/genetlink.c:803 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0xf3b/0x1270 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x1288/0x1440 net/netlink/af_netlink.c:1921 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg net/socket.c:734 [inline] ____sys_sendmsg+0xabc/0xe90 net/socket.c:2492 ___sys_sendmsg+0x2a5/0x350 net/socket.c:2546 __sys_sendmsg net/socket.c:2575 [inline] __do_sys_sendmsg net/socket.c:2584 [inline] __se_sys_sendmsg net/socket.c:2582 [inline] __x64_sys_sendmsg+0x367/0x540 net/socket.c:2582 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 Uninit was stored to memory at: tun_get_link_ksettings+0x3e/0x60 drivers/net/tun.c:3515 __ethtool_get_link_ksettings+0x181/0x270 net/ethtool/ioctl.c:461 ethnl_set_linkmodes+0x57c/0x2270 net/ethtool/linkmodes.c:338 genl_family_rcv_msg_doit net/netlink/genetlink.c:731 [inline] genl_family_rcv_msg net/netlink/genetlink.c:775 [inline] genl_rcv_msg+0x103f/0x1260 net/netlink/genetlink.c:792 netlink_rcv_skb+0x3a5/0x6c0 net/netlink/af_netlink.c:2501 genl_rcv+0x3c/0x50 net/netlink/genetlink.c:803 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0xf3b/0x1270 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x1288/0x1440 net/netlink/af_netlink.c:1921 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg net/socket.c:734 [inline] ____sys_sendmsg+0xabc/0xe90 net/socket.c:2492 ___sys_sendmsg+0x2a5/0x350 net/socket.c:2546 __sys_sendmsg net/socket.c:2575 [inline] __do_sys_sendmsg net/socket.c:2584 [inline] __se_sys_sendmsg net/socket.c:2582 [inline] __x64_sys_sendmsg+0x367/0x540 net/socket.c:2582 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 Uninit was stored to memory at: tun_set_link_ksettings+0x3e/0x60 drivers/net/tun.c:3524 ethtool_set_link_ksettings+0x607/0x6a0 net/ethtool/ioctl.c:628 __dev_ethtool net/ethtool/ioctl.c:2997 [inline] dev_ethtool+0x1862/0x2600 net/ethtool/ioctl.c:3051 dev_ioctl+0x369/0x1020 net/core/dev_ioctl.c:524 sock_do_ioctl+0x295/0x540 net/socket.c:1183 sock_ioctl+0x556/0xc90 net/socket.c:1286 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0x222/0x400 fs/ioctl.c:856 __x64_sys_ioctl+0x92/0xd0 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 Local variable link_ksettings created at: ethtool_set_link_ksettings+0x54/0x6a0 net/ethtool/ioctl.c:596 __dev_ethtool net/ethtool/ioctl.c:2997 [inline] dev_ethtool+0x1862/0x2600 net/ethtool/ioctl.c:3051 CPU: 0 PID: 20786 Comm: syz-executor.2 Not tainted 5.19.0-rc3-syzkaller-30868-g4b28366af7d9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ===================================================== --- 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.