Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp3243245rdd; Sun, 14 Jan 2024 01:24:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IH1mF77lidlQSkQqhu5M0jL0PVupz8ybfw8nI9RpQkhzfHG7ifzGToVgjIlGvqXzJQIE9ru X-Received: by 2002:a17:906:6:b0:a2c:d6f7:5fa1 with SMTP id 6-20020a170906000600b00a2cd6f75fa1mr2667734eja.8.1705224270615; Sun, 14 Jan 2024 01:24:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705224270; cv=none; d=google.com; s=arc-20160816; b=zygiAHb+8WrBxjg8HA0YPbQhXBEoXvZbrK18aJn7wnt0wUea/UmdVJBZYmR+vJl+dC 6krBB5OFPOcnl5yF9t7eWnGWQfjuBwRlAeDSucMbPGlTuiN3VduBADx+51vWxdP5fN2X Z8bspY7qXYnz4ZZjfh589qDfF424ReA5DgAMjMbI4huAZsFR8cGHhEF7rjbAzuw6n0oP JOmTm95YZeudoRIEE2XtLTkKtjn4dT2A/Z/hg5rfm63trnp5t4NKoJo+mt8ABDiXvKzs Hh5/+YX9OmKET2ohN0P/86LP3O1+r6ZwqcSfnis4W8I7L9iyiTJedvjpIKxISSCa4xbt JHJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:from:subject:message-id:date:mime-version:list-unsubscribe :list-subscribe:list-id:precedence; bh=HOoIxcWWcMnwwGejFcnJw4FD/99JQb0TmtH1xZvozv8=; fh=F552wb1ZBQEyFUbEUsrbuGjgdPIZ+0auTDujJLaH3pI=; b=edGY96VDa4690SeMzv15rA6Niu7EoUNRHZ6xMFirqCX4ySGXmLsoiFxEjmJRN2JlTs D83r7Z+uzXSsCiYlteGf4yFJL/6LSqEqWQJDXJS+Blyy0mHV7A0x7bzWxhU3M9hmlZ4p Ued1lhpPM1FwLONE2+Cn7JFRy3zXqlcWPahE9tweTE5TWuG/9KiD0iUMxR8zhp8ll2oi X3Eacv5U3bZlPUrcb4mt/oepnBN9aZc2V0oqcC5gsX3SutXF7DyoO43OrlRcCSYc/g8/ gB1OwlB63355gqzwiPTanCBgVkn3J/qBjwfhZz/Zv/4Ms19wCbbNjEBPTZwKx+bPcQ1r RRRw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-25429-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25429-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id u2-20020a17090626c200b00a28f25ea427si2891399ejc.1011.2024.01.14.01.24.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Jan 2024 01:24:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-25429-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-25429-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25429-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 298DD1F21C13 for ; Sun, 14 Jan 2024 09:24:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 699621FCC; Sun, 14 Jan 2024 09:24:19 +0000 (UTC) Received: from mail-il1-f200.google.com (mail-il1-f200.google.com [209.85.166.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9239C1FA5 for ; Sun, 14 Jan 2024 09:24:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-il1-f200.google.com with SMTP id e9e14a558f8ab-35fedd5e6beso71380475ab.3 for ; Sun, 14 Jan 2024 01:24:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705224256; x=1705829056; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=HOoIxcWWcMnwwGejFcnJw4FD/99JQb0TmtH1xZvozv8=; b=sDeMC1vUx0IoTnbLWTtIUBlTVLuavVJJNWGETLULlBWITCKzzp0NNr4/5u4MHhW/1E hbwNfn08F0/ad8mAU3aYpVHRWgRFBlE5zGoJveQXNOXn613zck2zpJr706MwMdkLODZG DqDhJlOZiDMBTRCaTUmMVqOXOLgLPvqS0Pz94hTX9DRCjZzKst59ogxOi/95+GPaQqdw BdD6PvPs830A4rGKkjJQ/9OEhYseP02QVlzrPI8S3CllqGRO/lwrx4lqMHZVN2J9B8KK l2hlO4hxN9JJ2nMQPKtcOVS28V3PhHKzwJOFOfoROFT3t77buH+ae9qPGLNa07SqYTrj u4EA== X-Gm-Message-State: AOJu0Yw6euS/J/93RWXYUnm+IyyhF7zoGGwymQtbDFfQ7cq1ChuMfCf4 QNyhGduxRsXXTB9TiiQDk9RWYHcv0RzzANbNm7kfFanNk7J1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6e02:1c0c:b0:360:17a7:d897 with SMTP id l12-20020a056e021c0c00b0036017a7d897mr342352ilh.4.1705224256773; Sun, 14 Jan 2024 01:24:16 -0800 (PST) Date: Sun, 14 Jan 2024 01:24:16 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000001663ea060ee476ea@google.com> Subject: [syzbot] [net?] KMSAN: uninit-value in hsr_get_node (2) From: syzbot To: davem@davemloft.net, edumazet@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" Hello, syzbot found the following issue on: HEAD commit: 9f8413c4a66f Merge tag 'cgroup-for-6.8' of git://git.kerne.. git tree: upstream console+strace: https://syzkaller.appspot.com/x/log.txt?x=16924083e80000 kernel config: https://syzkaller.appspot.com/x/.config?x=656820e61b758b15 dashboard link: https://syzkaller.appspot.com/bug?extid=2ef3a8ce8e91b5a50098 compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=15793b23e80000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=115215f3e80000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/79d9f2f4b065/disk-9f8413c4.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/cbc68430d9c6/vmlinux-9f8413c4.xz kernel image: https://storage.googleapis.com/syzbot-assets/9740ad9fc172/bzImage-9f8413c4.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+2ef3a8ce8e91b5a50098@syzkaller.appspotmail.com ===================================================== BUG: KMSAN: uninit-value in hsr_get_node+0xa2e/0xa40 net/hsr/hsr_framereg.c:246 hsr_get_node+0xa2e/0xa40 net/hsr/hsr_framereg.c:246 fill_frame_info net/hsr/hsr_forward.c:577 [inline] hsr_forward_skb+0xe12/0x30e0 net/hsr/hsr_forward.c:615 hsr_dev_xmit+0x1a1/0x270 net/hsr/hsr_device.c:223 __netdev_start_xmit include/linux/netdevice.h:4940 [inline] netdev_start_xmit include/linux/netdevice.h:4954 [inline] xmit_one net/core/dev.c:3548 [inline] dev_hard_start_xmit+0x247/0xa10 net/core/dev.c:3564 __dev_queue_xmit+0x33b8/0x5130 net/core/dev.c:4349 dev_queue_xmit include/linux/netdevice.h:3134 [inline] packet_xmit+0x9c/0x6b0 net/packet/af_packet.c:276 packet_snd net/packet/af_packet.c:3087 [inline] packet_sendmsg+0x8b1d/0x9f30 net/packet/af_packet.c:3119 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] __sys_sendto+0x735/0xa10 net/socket.c:2191 __do_sys_sendto net/socket.c:2203 [inline] __se_sys_sendto net/socket.c:2199 [inline] __x64_sys_sendto+0x125/0x1c0 net/socket.c:2199 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x6d/0x140 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b Uninit was created at: slab_post_alloc_hook+0x129/0xa70 mm/slab.h:768 slab_alloc_node mm/slub.c:3478 [inline] kmem_cache_alloc_node+0x5e9/0xb10 mm/slub.c:3523 kmalloc_reserve+0x13d/0x4a0 net/core/skbuff.c:560 __alloc_skb+0x318/0x740 net/core/skbuff.c:651 alloc_skb include/linux/skbuff.h:1286 [inline] alloc_skb_with_frags+0xc8/0xbd0 net/core/skbuff.c:6334 sock_alloc_send_pskb+0xa80/0xbf0 net/core/sock.c:2787 packet_alloc_skb net/packet/af_packet.c:2936 [inline] packet_snd net/packet/af_packet.c:3030 [inline] packet_sendmsg+0x70e8/0x9f30 net/packet/af_packet.c:3119 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] __sys_sendto+0x735/0xa10 net/socket.c:2191 __do_sys_sendto net/socket.c:2203 [inline] __se_sys_sendto net/socket.c:2199 [inline] __x64_sys_sendto+0x125/0x1c0 net/socket.c:2199 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x6d/0x140 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b CPU: 1 PID: 5033 Comm: syz-executor334 Not tainted 6.7.0-syzkaller-00562-g9f8413c4a66f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 ===================================================== --- 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. If the report is already addressed, let syzbot know by replying with: #syz fix: exact-commit-title If you want syzbot to run the reproducer, reply with: #syz test: git://repo/address.git branch-or-commit-hash If you attach or paste a git patch, syzbot will apply it before testing. If you want to overwrite report's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the report is a duplicate of another one, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup