Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1774880lqb; Sun, 26 May 2024 17:33:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVkiemFHYFCDNkMCZBbgXBsNFnZOOfFIXUdKbK78osQorZZzo1H3EFb9ggtnwfukeex/9vIl8dpH9bQ1WvF1D2PtAI5Tc6dpQAFdkVIBQ== X-Google-Smtp-Source: AGHT+IEBpRvUuNBXZKktZjwjXHliVW+lEOQOhTeCPFt1oAmiqxkz+uucAg2yehePSBXVbOhXKzcT X-Received: by 2002:a05:6358:52c6:b0:192:9d35:b027 with SMTP id e5c5f4694b2df-197e5217f55mr1085225955d.15.1716770021117; Sun, 26 May 2024 17:33:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716770021; cv=pass; d=google.com; s=arc-20160816; b=ACB+T/8esbqqOtDLX+gYjcjLzfdWtMV/9DxXKq63nND8qI3vNsit++wzoIK96TG6/v wQEG7w/+sFw6XXwr8A2lLT8iySZtKbcz09ImGjOIzBUpWV3gOz1d7s83i/Fb8XPa3o59 5NW6LOq2AomZvzLPxLrTTRD7cu+k7BKVIIidZLzrbbwNAR7d7u42s3881uH+oTp+Bj8b mijBKL0h77+sG0o1P9PB7RFxQZuJ+YgS3Odqqsw0Bouov81Uc0u1c+Nqsxx93MxahvTU 4YtSCFOAJM2V8vgvo18HJysaq0N9yHHljbCzDgnRAZwPyd455Cig6KfdRrOjX12N3HaL k1Mw== 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=j328NClK9+hNcB/FJGTyXY5OlSxScTEKHfRs1xB643s=; fh=fUvOzm1XKDCspXdAJQvIXU3WhlZvKs6T4zCIBxjH4U0=; b=jhIS/da4PdAdXHdcr6ydp8rMG3sOS+BlU9clZBLsgxl/+pqC7x7Ah0N7AQi9NnvxiZ 6nCfPs4leLO3BLOIwKgEyAQxORcDunhPp7GWjcsYZ8ANS+XQuv4yNN4ghTOHzP+2CNlK ShMv141f9ipN1Y9yFgUCmCOuEzzojJxJVRCrd0MKcjXPiqZsyJCkI55BuVV1SKWqQvem YCFL6IyYCE3d5NBW6RQlC4JRGxZyI9iX+5CDMer6m4YdrU7M+v0IJickYnQbW28w33KQ zSx98fM1XyicaQaqx88zGMwI2CBMh5lVbwvLEXnmNXuVMP7GwuSnlD1S14ygt4gCK6EA 307Q==; 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-189916-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189916-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-68229a303d0si5223872a12.664.2024.05.26.17.33.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 May 2024 17:33:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-189916-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; 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-189916-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189916-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 8D6C5281793 for ; Mon, 27 May 2024 00:33:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BD51CBE68; Mon, 27 May 2024 00:33:29 +0000 (UTC) Received: from mail-il1-f206.google.com (mail-il1-f206.google.com [209.85.166.206]) (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 D06869441 for ; Mon, 27 May 2024 00:33:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.206 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716770009; cv=none; b=FOLM8FMiFq5KV3EcNo/+DINT2MCdEiMmC32TYJ4nk9Rv6FzPulPxT6lx3ophid00G3oHL3+J03CuelCL8Y1XBt5/9cA1ic5IDYErZR5powirX1V3ByB9rQYtUQ/tiSbEae9U6oak4EpPNLDK4LVXlOBDyggS+WkbxDYuUzUVZXQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716770009; c=relaxed/simple; bh=doHX4PzDqiSxtfhzMJePbVvn4Mof4IBeekCuJEcLnV4=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=cdXywXi4R5QoX+ATqQZfdVyCxZUpNOmDOqwvyPpk2JyPk4J1OO/xFtid/MBwJ1q8O6K2n7bgtilRyRsNmrpwnEByo9SCzK9e4uga0h6y43xUM5hkkAp5AEO0LDt3BzriQZWOybyKAKm44ZB+HW+WLpqy8+CgMX+rA9giNgmb0Sg= 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.206 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-f206.google.com with SMTP id e9e14a558f8ab-3738836578aso22034805ab.1 for ; Sun, 26 May 2024 17:33:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716770007; x=1717374807; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=j328NClK9+hNcB/FJGTyXY5OlSxScTEKHfRs1xB643s=; b=POIpz/Mf9XxFa5Y41tPvqRf3kYUI7eu77gJyzSBP1CdvLBOd36NoTqn65xNl6ypR6i w+GSiQ94ynv1m9mabr75nRN0mNap4hsmTMlzueI+IZqX+964y9dYeddmmwIRGEaG7qjf 1cewNH7whoOZdIn3J3SoCcqlaylRJ+ZJa8g/QzZrzv2o8Z5ZAERXj8wiutpG7D37UVAZ MtzFi79HnszdTaxsT8OWX4elT3Ds8/DLwOgBVJaYngERKnuWKHlrRicS7FciveFTz7wu aqD5QlDbcpT57Z6jpEOsMIZndrA3I3/HQ0aFzRpotRiZFHpVZd+pGrsAtvB9JwPRPp4a tBlw== X-Forwarded-Encrypted: i=1; AJvYcCV8YUjHX19pI5qFXXCSGnuzVTjW/vKqLZPhYQLmq1yumoS8giVXV8ddmU2/bnpakOs9+zBpUwiaBfBW8HCMWbMZNRXMAiGaZu/dQHSQ X-Gm-Message-State: AOJu0Yx7wRViqQxx3mRWMb4eoYulWR8HPzBzn5bv2jRwudRBUX5fDKIN y85R5YViHVtQ4m8UkZzXEXKc+35GoiCeNM3b1H4xfIjC1klAoe0ZxZVNgks0GBjaHnovLpQ2xUd b/UgzbBrGcPdHezJ6h9W8jy+cF3piQAZTV30JLuJ3MeoDmoiOmLLcQgs= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a92:cb0c:0:b0:373:8b9c:66cd with SMTP id e9e14a558f8ab-3738b9c8a05mr2245325ab.0.1716770007155; Sun, 26 May 2024 17:33:27 -0700 (PDT) Date: Sun, 26 May 2024 17:33:27 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000007018c0061964aa67@google.com> Subject: [syzbot] [nfc?] [net?] KMSAN: uninit-value in nci_ntf_packet (2) From: syzbot To: davem@davemloft.net, edumazet@google.com, krzk@kernel.org, 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: 614da38e2f7a Merge tag 'hid-for-linus-2024051401' of git:/.. git tree: upstream console+strace: https://syzkaller.appspot.com/x/log.txt?x=160b7244980000 kernel config: https://syzkaller.appspot.com/x/.config?x=f5d2cbf33633f507 dashboard link: https://syzkaller.appspot.com/bug?extid=71bfed2b2bcea46c98f2 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=1065f33f180000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=13113a34980000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/89eafb874b71/disk-614da38e.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/356000512ad9/vmlinux-614da38e.xz kernel image: https://storage.googleapis.com/syzbot-assets/839c73939115/bzImage-614da38e.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+71bfed2b2bcea46c98f2@syzkaller.appspotmail.com ===================================================== BUG: KMSAN: uninit-value in nci_rf_intf_activated_ntf_packet net/nfc/nci/ntf.c:620 [inline] BUG: KMSAN: uninit-value in nci_ntf_packet+0x27f4/0x39c0 net/nfc/nci/ntf.c:802 nci_rf_intf_activated_ntf_packet net/nfc/nci/ntf.c:620 [inline] nci_ntf_packet+0x27f4/0x39c0 net/nfc/nci/ntf.c:802 nci_rx_work+0x288/0x5d0 net/nfc/nci/core.c:1532 process_one_work kernel/workqueue.c:3267 [inline] process_scheduled_works+0xa81/0x1bd0 kernel/workqueue.c:3348 worker_thread+0xea5/0x1560 kernel/workqueue.c:3429 kthread+0x3e2/0x540 kernel/kthread.c:389 ret_from_fork+0x6d/0x90 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Uninit was created at: slab_post_alloc_hook mm/slub.c:3877 [inline] slab_alloc_node mm/slub.c:3918 [inline] kmem_cache_alloc_node+0x622/0xc90 mm/slub.c:3961 kmalloc_reserve+0x13d/0x4a0 net/core/skbuff.c:577 __alloc_skb+0x35b/0x7a0 net/core/skbuff.c:668 alloc_skb include/linux/skbuff.h:1319 [inline] virtual_ncidev_write+0x6d/0x290 drivers/nfc/virtual_ncidev.c:120 vfs_write+0x497/0x14d0 fs/read_write.c:588 ksys_write+0x20f/0x4c0 fs/read_write.c:643 __do_sys_write fs/read_write.c:655 [inline] __se_sys_write fs/read_write.c:652 [inline] __x64_sys_write+0x93/0xe0 fs/read_write.c:652 x64_sys_call+0x3062/0x3b50 arch/x86/include/generated/asm/syscalls_64.h:2 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+0x77/0x7f CPU: 1 PID: 3730 Comm: kworker/u8:19 Not tainted 6.9.0-syzkaller-02707-g614da38e2f7a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Workqueue: nfc2_nci_rx_wq nci_rx_work ===================================================== --- 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