Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1767522rdb; Tue, 20 Feb 2024 06:32:14 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWU8cPi8oE3ZIUor+wKC44Ak+Ejoy4rx6toJL0cQdjJjQ653ZtAma/+esvGq7RnWHsBfL0k7XK0xtPstOFNocEJw2PyqElLdTYVkwzIfQ== X-Google-Smtp-Source: AGHT+IGwT/7Ii5t6tU5FoGeJL8o58nTY46nsKF/mgTgRh6ZVra0HAZ+qpb5Orc99mbyK5Tq2O8K5 X-Received: by 2002:aa7:dcce:0:b0:564:db11:7e4b with SMTP id w14-20020aa7dcce000000b00564db117e4bmr713022edu.14.1708439534393; Tue, 20 Feb 2024 06:32:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708439534; cv=pass; d=google.com; s=arc-20160816; b=QTPp9n9Od2c3KQdo+o59PexX4uTzxb8wj/5r04zHzsXUZyxAKGjtpf72uSyHbNx8xc 82VtqDG3pN6gJVrUEskaElbk5Je/9MES62jwRYS/1l8PuWPd4q4xyx3sy+4vFCkcDJ6r qcuKsDHRlYFQhOixi/aURPaOr4SjaphLb52K4fhJO+3YRwZoTJt4dm73lT6DPU0b8A0M OpSZtdP+akW+kg6hj2BdwClIuWxBW+rPZ9ISulZb03ocRn1Rrn75UmW9Kb1EDJxxqEfN Hzc8Mm+PS4ECVtGabNmepBW0/cfxoVvjgZtnC16Az/DgpOXWrZYfC78iquUgijwYxSmy zjiQ== 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=rK+JD4sM6GkbtXUauvK2wy7q/mG6x0dPYQMJQoe+q9A=; fh=on46o7qYTvyERhOla0nQQsJy7pTiIBBoH5ZP6nb+XLs=; b=i0ZIw1XyUQz/ys+KbxqSeLdOIGEbx2AO5vBOKS3WmLP7PtK8ibR7gCHkzxNirJTk6o l/x/eNAh6DCGjmFFg9gYnP2ZlLk3VcB6uNP+3yzySEbj1j0RoWhX+qOUszy+Kdda2uwh 0r6roWpfhAvPLJ+KGzJ5t1DH9p9XugbSX3kKO60sJZmGIYQUp7ag61gIt1qDrzo7hIuk qcjOLBdo4IgeAcRjFALRQfnkYtFBldvN2DftMeNZDoFmPp9YEGldHf1SGoFuRgjadTWV lxjMwVHmwCg3QBulka3d7Iyafp286bwpLLuY2O3GT7E+ur2T9D45wbtmRdNcy2+uOa73 t4Kw==; 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-73182-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73182-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. [147.75.80.249]) by mx.google.com with ESMTPS id x8-20020aa7d388000000b00564a996381fsi1149029edq.493.2024.02.20.06.32.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 06:32:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-73182-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; 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-73182-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73182-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 B218F1F249AD for ; Tue, 20 Feb 2024 14:31:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 598AB6BB3A; Tue, 20 Feb 2024 14:31:24 +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 4D5972F2C for ; Tue, 20 Feb 2024 14:31: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=1708439483; cv=none; b=VHrgjIAqD8v6/AWJMX4vv4Eu/DFjiW0rnPDaKfs354WQQUO8yeo412OFfERgZ1qsIhVJ96HJr2x8r4BaGYLqKjta6LQH+36YQTZH4hG+6b0lFBkJhWfEvk9HlboxE5vRcxYNmld46wKud2NBQG4HMCLDIYrr9o2snoAa/+n2JDY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708439483; c=relaxed/simple; bh=1Ku617Ug3TIkXzoKRdJUDcauPiB6tB464nbm+/XGfiI=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=Cs7fdsHF55LYnjdmUOvzDxH7o7NXOKFz01a4jMnp1SC8VywTjAjEuRclf8NqD4coUWqkiuqcqmSVmEKRwgzks48KVAHSoGt6XzzlfHzXS+JmZIrIRmN53jf4vrUf//OSQtBgpkFlIDrvWvSVUp+PyOJJ8kpTUI8A257qarQ+f/I= 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-7c74b778213so170985639f.3 for ; Tue, 20 Feb 2024 06:31:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708439481; x=1709044281; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=rK+JD4sM6GkbtXUauvK2wy7q/mG6x0dPYQMJQoe+q9A=; b=dao+3AF5mHvgiISngm0j6Ai2ZLCKVQgwYIRkfO52Fuibrc7zJ+Z5eJ0olJU4W8kJNB wdLTzUEm3b/8g7Ep6nKJGnhrmxnCWyNxaYljSATN/Wj8FCAn3lus0P+UeK3FxQb7KeR0 6wJaJ58485l9ICKQK2U3za70wOo0LA/eLXlSfeI+duK5Pu18alPurTn3v0Y8gQSaGbA2 BSRBPnepo8tf/tj0Gq8XLjj0H01b/SWI52gAHw5/YfrII2/efGpTOIcJxZBHCx05E9x8 qyewmWNZojTnyzj2xmpowB0IS6ypdV8unK660btOYYsRnx3vYuOOq1DDYc/ODdw4ueNc UFEA== X-Forwarded-Encrypted: i=1; AJvYcCWmTMF7+gZQOq2CeQgPx9/5Z1GKMI25oXULmM4v37t2xPCgQJJRfmHK7LlzWQLPRqLUiYZ6YEuwaIiPjiUL242aoFFFuUZWBlUoGUj+ X-Gm-Message-State: AOJu0YxYI8/srIhSBF0KMuaJuWGe9dgSp5VOQrRDFJ8e054ACD9727U6 JyLexL87p3lX+d5VPW/VLk90Wwf//8x2iOuDlL4ss4x5Orq3nlBB9LdliuhC/ZFBuPb7dG99o1v frfhAwbNy0yEfXX5KB+svXXMrFfCoHSL7gckeOjpkCt9nrxLGZAgqLx8= 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:4708:b0:473:dcbe:bb58 with SMTP id cs8-20020a056638470800b00473dcbebb58mr302126jab.4.1708439481496; Tue, 20 Feb 2024 06:31:21 -0800 (PST) Date: Tue, 20 Feb 2024 06:31:21 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000006a393d0611d11073@google.com> Subject: [syzbot] [netfilter?] KMSAN: uninit-value in __nla_validate_parse (3) From: syzbot To: coreteam@netfilter.org, davem@davemloft.net, edumazet@google.com, fw@strlen.de, kadlec@netfilter.org, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, pabeni@redhat.com, pablo@netfilter.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: c1ca10ceffbb Merge tag 'scsi-fixes' of git://git.kernel.or.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1120c23c180000 kernel config: https://syzkaller.appspot.com/x/.config?x=e3dd779fba027968 dashboard link: https://syzkaller.appspot.com/bug?extid=3f497b07aa3baf2fb4d0 compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/83d019f0ac47/disk-c1ca10ce.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/49e05dd7a23d/vmlinux-c1ca10ce.xz kernel image: https://storage.googleapis.com/syzbot-assets/68ec9fa2d33d/bzImage-c1ca10ce.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+3f497b07aa3baf2fb4d0@syzkaller.appspotmail.com ===================================================== BUG: KMSAN: uninit-value in nla_validate_range_unsigned lib/nlattr.c:222 [inline] BUG: KMSAN: uninit-value in nla_validate_int_range lib/nlattr.c:336 [inline] BUG: KMSAN: uninit-value in validate_nla lib/nlattr.c:575 [inline] BUG: KMSAN: uninit-value in __nla_validate_parse+0x2e20/0x45c0 lib/nlattr.c:631 nla_validate_range_unsigned lib/nlattr.c:222 [inline] nla_validate_int_range lib/nlattr.c:336 [inline] validate_nla lib/nlattr.c:575 [inline] __nla_validate_parse+0x2e20/0x45c0 lib/nlattr.c:631 __nla_parse+0x5f/0x70 lib/nlattr.c:728 nla_parse_deprecated include/net/netlink.h:703 [inline] nfnetlink_rcv_msg+0x723/0xde0 net/netfilter/nfnetlink.c:275 netlink_rcv_skb+0x371/0x650 net/netlink/af_netlink.c:2543 nfnetlink_rcv+0x372/0x4950 net/netfilter/nfnetlink.c:659 netlink_unicast_kernel net/netlink/af_netlink.c:1341 [inline] netlink_unicast+0xf49/0x1250 net/netlink/af_netlink.c:1367 netlink_sendmsg+0x1238/0x13d0 net/netlink/af_netlink.c:1908 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] netlink_alloc_large_skb net/netlink/af_netlink.c:1213 [inline] netlink_sendmsg+0xb34/0x13d0 net/netlink/af_netlink.c:1883 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: 1 PID: 6771 Comm: syz-executor.0 Not tainted 6.8.0-rc4-syzkaller-00331-gc1ca10ceffbb #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 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