Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp1273110lqg; Sun, 3 Mar 2024 02:48:30 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX7DRlDBCabxRzMn2efCIG2Z2fUHi8TzKd1fWToxr9gjHwUxsoyT0TH/RSaPEmHMubH5XOjYShXz4El5FzoOk28NDiCK0EodUxfu9Y6Jw== X-Google-Smtp-Source: AGHT+IG9gtrlpfyMa7C3w1FDDN7MdgUV0vzM6dM/bs8QkzrMuts47SSn17Ai6Tt5QdvU3Ca4cQNw X-Received: by 2002:a05:6358:6383:b0:17b:ee29:40a with SMTP id k3-20020a056358638300b0017bee29040amr4138304rwh.6.1709462910217; Sun, 03 Mar 2024 02:48:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709462910; cv=pass; d=google.com; s=arc-20160816; b=PBb6pHjadPr2rF3Gw/5rXIRZcE/Z5xu2YVEZAKFq1OtuT2idhjPQ9KeT2yvj5G3jjn xGzlk8Ec+ciEtRfnaHiBShmU+qTfR9hvLInEoT/B/xg2MYJ8G65LFpYxPAMS79u6+3RZ rUhThXXdV8Z9vBdGiE4mJRB3wdvtaB/0O8CPypKXog2KLIX8DWAAN0YEg5WUVm26/tdU bmqRFSuHbegTXhsoKQ1iEmxMo9UmgTqrqaZV3rcK0GuY2GQg8GeseQ+0SYjugWLiGCWM yEPWd/vhG9ClSFlRrerw+hclLwlJSQGV3XmEkmDxC1gG4u5RbBo0E6jsL/W4xM9AVgOm CxYA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:from:subject:message-id:in-reply-to:date:mime-version :list-unsubscribe:list-subscribe:list-id:precedence; bh=nV/zkV9C2v6G1+zSdNLoBMk/XcnewbbvU219oPM9wzo=; fh=hrSdEKhp/eATP2gw+UjtHk+Yyc37ehAWL/9cjN8T+PM=; b=InTaj2bjutpRSu/SuHkyzC1GxY9EZMWWCRPVhzRUO4799zHoHmphd/prgrush0KXDY DkAtXMOPk0nh13FNRciz+4AHqGPIW6/XFS7rR3ILHrfL0NROtjUTEkSMxezIrX6hzWwY IcZLuK/t0tMp0GEF7paQ8ZscFNUMP6FX8qLEkWqweQ26DM5zXSkdxqWS63ggjP36fqyv rj8kDh3N7upLJZ5GzYSczvu70Oj0zMQxvT0GTndwD3Rwq7VOkgUZmaA7rVhFM1bEUdQU bOTCN4GudvVyX5kQcnX5oubPkKGzNEWiPBpKn1O+lbVZfJk0scI8bLtZYPfl1eKBwezo RA4A==; 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-89707-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89707-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id b17-20020ac86791000000b0042eaf9b3a7csi6932862qtp.660.2024.03.03.02.48.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Mar 2024 02:48:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-89707-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; 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-89707-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89707-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id AA36F1C20D66 for ; Sun, 3 Mar 2024 10:48:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7B623BE5D; Sun, 3 Mar 2024 10:48:19 +0000 (UTC) Received: from mail-io1-f71.google.com (mail-io1-f71.google.com [209.85.166.71]) (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 6F46FB653 for ; Sun, 3 Mar 2024 10:48:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.71 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709462898; cv=none; b=eJ2HvZ6E4gijL1XYyJa38BO5sTfilJufUYrIadOb9hUyag8cKyg5vyhDtjQZcbbo75pQ+kgHHFkNXWrJnJ/kCldbNPaAjINsYUtAtGFOfax8oAwzRpuSblKxVJ0AjiJOsmEa0dAegLFDIJL+vH683g/1t4v1jEx3WyBjgQ3cfTA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709462898; c=relaxed/simple; bh=VjuhQGCzGOfzaihRX2JyJ76FsPEOFBeLHPY+5Hq/WRw=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=puuaAF1Q3dseyAHyRgk2Je9azk5DiB2KF2czE2y2btc+Ib5agBJOEnQH6ZhffTTq2zrQClxj5cUYr+Xj01ZXVp+lnEjZzTAzJhOMVKISASzL1gcJXGXxD3J1RKhkjnsRL+KCFmvPA6t2fIdOiNs9jpEQRFzjcPxYnuFHRvfDRLE= 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.71 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-f71.google.com with SMTP id ca18e2360f4ac-7c83b729ba5so85451839f.0 for ; Sun, 03 Mar 2024 02:48:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709462896; x=1710067696; h=to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=nV/zkV9C2v6G1+zSdNLoBMk/XcnewbbvU219oPM9wzo=; b=h10WM2sTgb9gyTAgOqcdXdhgU099v7SDhFt538WbRhXPEeQwo3WPqAHzGreM9DfZkz hapjiSHlQhbtenlM13znR5t1wmdTiaMR6eoh/hQV3vdTVNkzriq6QxHiNnd7pz8UcjV8 rJM22M3EJP0OGiJRFLRm6y/S2pNjR6oNofCCbe69uaKIyKZcQ5x4d/KrTWqBJTdsJMQ9 25x+YvNuBEGWAD1T9FCJay9/O3gC6CaWtCnv9aa6+PceFbaMPLhZ5DjJO/oRVIxcE8cz ZDJ7pKVBxA2hT6cELSCy6Gw5ll/KYwX+Vcmv6fG/xGtEofSFAf5XBjqotKdimlnnmxgV MpWw== X-Forwarded-Encrypted: i=1; AJvYcCW5IoWYltoLMmUgm8xVw2CG47WR65MDGBN1SmI3klx4dUSG565ZN/RXDiPP8R7bCTzTBU3SmPMTad60cfQFjlSWMYl0RJZVavKx+33w X-Gm-Message-State: AOJu0YxOdVNmO8nnMSJgtIrPCZ291GpQBNAwtD2MXt96u/b4hzaHwzkO cdEEaSO77hTlqTdZWEQNNr9T9iDilVVHJuq/vPsGpEtFoFGmU4YQn/ilGywnqGYZ9vJpG2ZGUVH 1FTsP8sptGI0N8FHRP0V4ziHnIWBKGFwpi6Oy0RhxndxjjxrASAM/iAM= 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:348c:b0:474:e855:df7a with SMTP id t12-20020a056638348c00b00474e855df7amr54497jal.5.1709462896666; Sun, 03 Mar 2024 02:48:16 -0800 (PST) Date: Sun, 03 Mar 2024 02:48:16 -0800 In-Reply-To: <000000000000903473060e875e9e@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000b69bf20612bf586e@google.com> Subject: Re: [syzbot] [hams?] KMSAN: uninit-value in nr_route_frame From: syzbot To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, linux-hams@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, pabeni@redhat.com, ralf@linux-mips.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" syzbot has found a reproducer for the following issue on: HEAD commit: 04b8076df253 Merge tag 'firewire-fixes-6.8-rc7' of git://g.. git tree: upstream console+strace: https://syzkaller.appspot.com/x/log.txt?x=15ccc1a2180000 kernel config: https://syzkaller.appspot.com/x/.config?x=80c7a82a572c0de3 dashboard link: https://syzkaller.appspot.com/bug?extid=f770ce3566e60e5573ac 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=12918b32180000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=16b3efac180000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/a4610b1ff2a7/disk-04b8076d.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/991e9d902d39/vmlinux-04b8076d.xz kernel image: https://storage.googleapis.com/syzbot-assets/a5b8e8e98121/bzImage-04b8076d.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+f770ce3566e60e5573ac@syzkaller.appspotmail.com ===================================================== BUG: KMSAN: uninit-value in nr_route_frame+0x4a9/0xfc0 net/netrom/nr_route.c:787 nr_route_frame+0x4a9/0xfc0 net/netrom/nr_route.c:787 nr_xmit+0x5a/0x1c0 net/netrom/nr_dev.c:144 __netdev_start_xmit include/linux/netdevice.h:4980 [inline] netdev_start_xmit include/linux/netdevice.h:4994 [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] raw_sendmsg+0x64e/0xc10 net/ieee802154/socket.c:299 ieee802154_sock_sendmsg+0x91/0xc0 net/ieee802154/socket.c:96 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x9c2/0xd60 net/socket.c:2584 ___sys_sendmsg+0x28d/0x3c0 net/socket.c:2638 __sys_sendmsg net/socket.c:2667 [inline] __do_sys_sendmsg net/socket.c:2676 [inline] __se_sys_sendmsg net/socket.c:2674 [inline] __x64_sys_sendmsg+0x307/0x490 net/socket.c:2674 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] kmem_cache_alloc_node+0x5cb/0xbc0 mm/slub.c:3903 kmalloc_reserve+0x13d/0x4a0 net/core/skbuff.c:560 __alloc_skb+0x352/0x790 net/core/skbuff.c:651 alloc_skb include/linux/skbuff.h:1296 [inline] alloc_skb_with_frags+0xc8/0xbd0 net/core/skbuff.c:6394 sock_alloc_send_pskb+0xa80/0xbf0 net/core/sock.c:2783 sock_alloc_send_skb include/net/sock.h:1855 [inline] raw_sendmsg+0x367/0xc10 net/ieee802154/socket.c:282 ieee802154_sock_sendmsg+0x91/0xc0 net/ieee802154/socket.c:96 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x9c2/0xd60 net/socket.c:2584 ___sys_sendmsg+0x28d/0x3c0 net/socket.c:2638 __sys_sendmsg net/socket.c:2667 [inline] __do_sys_sendmsg net/socket.c:2676 [inline] __se_sys_sendmsg net/socket.c:2674 [inline] __x64_sys_sendmsg+0x307/0x490 net/socket.c:2674 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: 0 PID: 5044 Comm: syz-executor263 Not tainted 6.8.0-rc6-syzkaller-00250-g04b8076df253 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 ===================================================== --- 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.