Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp1121335lqb; Thu, 18 Apr 2024 00:05:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUzCBAgJVG3tsdTf1lBHwtg5cwT+HW2OP4QRzbadqIu0M4/7TpBOaLjzWEd87UzR7jbUDsD+rp9PqMPgQ0KxxnwrbD9vmv5Sq+2UJQueQ== X-Google-Smtp-Source: AGHT+IHOnE1joUEIXsIvPSUiW7pRProRmKtsDh4ekhlO5M6mwwrOu47/RqbjGDd+ce0aXqQ+tKxX X-Received: by 2002:a17:90a:7e87:b0:2a2:9658:7cfa with SMTP id j7-20020a17090a7e8700b002a296587cfamr1800955pjl.28.1713423938780; Thu, 18 Apr 2024 00:05:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713423938; cv=pass; d=google.com; s=arc-20160816; b=sSS/FQFiUT/Xch7hUVYO1KK6BFcqaFxxEf75jnkOKpo23iw4l6PWwGOWGfga6pkIls RLVP626aRzLkqHhVG7F5vfX9eUJO0lV8530ASFfjqVH/JbUGxhJsTomYXzgXyJ1s9XFR Cy1Z2EtrMODIidLO9+1PyIcg19MPWArHYzCkcPHNNTNtASLaY7x9iNwq1Qt8DonBW61g Qk8oYOz9/s/qQsXWBqyhx7/51hFHmBTzilzLzcRZN5nCIAnhAU4aysYdtwB95aZfkn9V 0aHZyYABSmaKoxEBnt8bHzPuxeZR8w06N4Ps7WZ2DaCtwejAXh4HOGublxqh+d8C06RI lwVg== ARC-Message-Signature: i=2; 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=fJexf5+MbTzjj98rRE4+4iT+Akz4gMMl16XDd2wlbhw=; fh=BpMXJiMbLfbWwCU7Wd4ssZCa4oGY6mJfAJ+Vqi0IvPU=; b=aKhJI/+djNlJSFA0610cHFLVagLxC9DLHgHcgtg4gu/uyDI/2PySIPl61cvCoDGKEB zjEp7/qgoxDMdVcU1MZzpBYS8gR8spUsLyltDwpQKGZbR0UCLnVOQdHxlQA358FutQRV Ev3M1wcedGYAm5PbYX6+Yilp4+7W0WSwn1pIK1L/Q/KPqJnv0puldiXXRCymOdclnsn5 5/+47nauOSryxDOXiLXa/w/l75B++6vR4u+OZPPBMHgGAro5c90wFKcO/dgqhaWW47Dv qFgUR88ayJzZOoBbU8l7O+AA3mWep59CrTPIoUuN9y8l/qbX4iwSmr8HKx3m4+sdjCSc tHOQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=m3kw2wvrgufz5godrsrytgd7.apphosting.bounces.google.com); spf=pass (google.com: domain of linux-kernel+bounces-149632-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-149632-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id y10-20020a17090ad70a00b002a0870987f6si911996pju.136.2024.04.18.00.05.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 00:05:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-149632-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=m3kw2wvrgufz5godrsrytgd7.apphosting.bounces.google.com); spf=pass (google.com: domain of linux-kernel+bounces-149632-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-149632-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 7D6E5B21601 for ; Thu, 18 Apr 2024 07:05:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3BD853D984; Thu, 18 Apr 2024 07:05:27 +0000 (UTC) Received: from mail-io1-f69.google.com (mail-io1-f69.google.com [209.85.166.69]) (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 650B63A8EF for ; Thu, 18 Apr 2024 07:05:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.69 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713423926; cv=none; b=qSYdV5K5ebgP7z0Gax3ojGTvavKzA12MxQepDhRf5liGT3FU+qY6zOPbVGhtNpSvGq+hOTAE3pegNUJsgvV3rqf1ayAJlH/8UrdwX+7LkUnyWMMVqY4eDoEwdx8IHv+X3GVoHF30Y6cStsmdfgq8ANCvs95Eud2UOvXsw5nfwz0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713423926; c=relaxed/simple; bh=DpNYQn+w5PCxg2NVTX3F2k7d0ON6U92OktF/DlSHkkk=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=cVjtVl9+Xe1gFGDyhHf9VefScyh9LXRlfXXrlifV9yxMkvWOOpdFY6x2qU06ohiKU+YtYRvVOFS3egu8id70XfHcGOAMX2sftBALRmO/Hw3G+LTgYe0TCLrlA/DHCHoSsUF0Fkgk/LPmmZvdofw9d8Xw4AhHcCgdPsIIuh6i0RQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.166.69 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-io1-f69.google.com with SMTP id ca18e2360f4ac-7c7e21711d0so51333839f.3 for ; Thu, 18 Apr 2024 00:05:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713423921; x=1714028721; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=fJexf5+MbTzjj98rRE4+4iT+Akz4gMMl16XDd2wlbhw=; b=Mva9oRby4bA7jHQqent1A92+wQn5P+/WVKBf23gYWng9VaRYrtZ4Oxy22Zrb6d38Vg XehSfalTewQ/S5Px99sNw12zOqLnmtXB1GL4gM19UkzmUpwaR6VhVz0I3VuZGpvflAQM ZnF0BbDqePcbmjRj4/o2jh1mZEBObWdC2GOP4hG1yjz19l6A/puiOupUJN7sKgiFtd+A 56X8z1yT+ZsB2znDcZGce/9DusIZa6hdnGWqxs6bmqTUJuxecNXOi5bFsXDg6RkdagJo WFA8r11ptMxWNfypONA8gxLmVwast49VAUf2g/QteAt4elXZ7E/lgNs58Rfco8M/H9DF 3hEg== X-Forwarded-Encrypted: i=1; AJvYcCW695S5HPj64eadRugyIV/RohD0gL3uCkPaQpkyGUAa45/B9NiTTHfisf6C+FB1Oz2Azx8fuOAvskYd5waVg7an4k8alSu+LWzKH9gT X-Gm-Message-State: AOJu0YzTK5PxKA/FjNLCYXECglfdM5f0hT/CH4Z9IeoPk91kr7HDeN+u 8E1bf5mHsi7tMy79uuWrKYhI/qoEekpBH/+jkUCQRbGGx6cNLWOSZT0a+XiiXb8C3wi+dnSgk8Z JlED6q8kRcz9CoH05dEcX9+Et9KNx0DJnfvNOq9VK7P+JSPttOnjKygQ= 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:6638:144b:b0:484:a701:3632 with SMTP id l11-20020a056638144b00b00484a7013632mr99688jad.2.1713423921711; Thu, 18 Apr 2024 00:05:21 -0700 (PDT) Date: Thu, 18 Apr 2024 00:05:21 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000003420e806165998ae@google.com> Subject: [syzbot] [net?] KMSAN: uninit-value in ipvlan_queue_xmit (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: f2e367d6ad3b Merge tag 'for-6.8/dm-fix-3' of git://git.ker.. git tree: upstream console+strace: https://syzkaller.appspot.com/x/log.txt?x=144a8d4a180000 kernel config: https://syzkaller.appspot.com/x/.config?x=1b015d567058472 dashboard link: https://syzkaller.appspot.com/bug?extid=42a0dc856239de4de60e 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=149caa54180000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=10bb8e22180000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/0dabc03369d1/disk-f2e367d6.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/240ca250d398/vmlinux-f2e367d6.xz kernel image: https://storage.googleapis.com/syzbot-assets/cc38bcdb48c9/bzImage-f2e367d6.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+42a0dc856239de4de60e@syzkaller.appspotmail.com ===================================================== BUG: KMSAN: uninit-value in ipvlan_process_outbound drivers/net/ipvlan/ipvlan_core.c:524 [inline] BUG: KMSAN: uninit-value in ipvlan_xmit_mode_l3 drivers/net/ipvlan/ipvlan_core.c:602 [inline] BUG: KMSAN: uninit-value in ipvlan_queue_xmit+0xf44/0x16b0 drivers/net/ipvlan/ipvlan_core.c:668 ipvlan_process_outbound drivers/net/ipvlan/ipvlan_core.c:524 [inline] ipvlan_xmit_mode_l3 drivers/net/ipvlan/ipvlan_core.c:602 [inline] ipvlan_queue_xmit+0xf44/0x16b0 drivers/net/ipvlan/ipvlan_core.c:668 ipvlan_start_xmit+0x5c/0x1a0 drivers/net/ipvlan/ipvlan_main.c:222 __netdev_start_xmit include/linux/netdevice.h:4989 [inline] netdev_start_xmit include/linux/netdevice.h:5003 [inline] xmit_one net/core/dev.c:3547 [inline] dev_hard_start_xmit+0x244/0xa10 net/core/dev.c:3563 __dev_queue_xmit+0x33ed/0x51c0 net/core/dev.c:4351 dev_queue_xmit include/linux/netdevice.h:3171 [inline] packet_xmit+0x9c/0x6b0 net/packet/af_packet.c:276 packet_snd net/packet/af_packet.c:3081 [inline] packet_sendmsg+0x8aef/0x9f10 net/packet/af_packet.c:3113 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+0xcf/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b Uninit was created at: slab_post_alloc_hook mm/slub.c:3819 [inline] slab_alloc_node mm/slub.c:3860 [inline] __do_kmalloc_node mm/slub.c:3980 [inline] __kmalloc_node_track_caller+0x705/0x1000 mm/slub.c:4001 kmalloc_reserve+0x249/0x4a0 net/core/skbuff.c:582 __alloc_skb+0x352/0x790 net/core/skbuff.c:651 skb_segment+0x20aa/0x7080 net/core/skbuff.c:4647 udp6_ufo_fragment+0xcab/0x1150 net/ipv6/udp_offload.c:109 ipv6_gso_segment+0x14be/0x2ca0 net/ipv6/ip6_offload.c:152 skb_mac_gso_segment+0x3e8/0x760 net/core/gso.c:53 nsh_gso_segment+0x6f4/0xf70 net/nsh/nsh.c:108 skb_mac_gso_segment+0x3e8/0x760 net/core/gso.c:53 __skb_gso_segment+0x4b0/0x730 net/core/gso.c:124 skb_gso_segment include/net/gso.h:83 [inline] validate_xmit_skb+0x107f/0x1930 net/core/dev.c:3628 __dev_queue_xmit+0x1f28/0x51c0 net/core/dev.c:4343 dev_queue_xmit include/linux/netdevice.h:3171 [inline] packet_xmit+0x9c/0x6b0 net/packet/af_packet.c:276 packet_snd net/packet/af_packet.c:3081 [inline] packet_sendmsg+0x8aef/0x9f10 net/packet/af_packet.c:3113 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+0xcf/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b CPU: 1 PID: 5101 Comm: syz-executor421 Not tainted 6.8.0-rc5-syzkaller-00297-gf2e367d6ad3b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 ===================================================== --- 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