Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp991243rdh; Fri, 27 Oct 2023 01:11:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGFHKZH3A5lAop01zLKO4QMrJ+9AWWuhfKJbA3R4quIlTXwmHlZMCr5QNrn9/uTDU4DNcHW X-Received: by 2002:a05:6808:1a0d:b0:3af:a72a:96e2 with SMTP id bk13-20020a0568081a0d00b003afa72a96e2mr2120747oib.7.1698394307426; Fri, 27 Oct 2023 01:11:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698394307; cv=none; d=google.com; s=arc-20160816; b=jtfeagP7DamhWuyKuPj9BLShDFhk8E1zllJ78QR8xnoO0VF+SIGWJ1wjKuudU22cP6 l/aHSquzVQDBUqyLcuoQywKs+Pz4E/Nehfffd/5Nd2jBaNAuzDUnT1M7tgUDQOmv5am2 uFhBmZwrR64TgKwMHBKm06q7np9LOdfFQO4j5S28kPK9K0zw3sVk7qg0gReuk7/vfwDU HdRpr4E24sDfW9JgFMY4iseVnChydcJ+e5JM73YzT1T+H1l+iRIHn9wTj1/ZBXwq2ZWg N/DrhXovfANGtAQ6TUwh+szDwY6NJVUVZsbkWH7DXYge2VqCiyDBmc2dm/J0epawBG2i we0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:subject:message-id:date:mime-version; bh=EQ32SRc19lBHfQ6VyTvyZZBauBB8JfuUmyD+6MpGeKg=; fh=/8nsag19RdA9lVU4bLwa9e8QpGA1HtMPPIF1RApthbA=; b=fnWgo6boP3sCOzHVwW0KUVd1hiVQhylmkW0PjMvdYWRUCbX0U4TS//C/EagnbXr8Dk Lv+4GLjhbjA2HQPYcTGPsby05Kb1W19z3tScSUlqoDBopkysr1UnMdp64UX006sC6qeo kijo7ksq4UA/0mDoeR3AFv+JnZsS8ory0JHHCGy1epa/bktJ01xM9OOiHdamuG/bT6fs cXbAB4dF29/JVl6+ulVTQSirhejT9ewssOsMcTxOjOTfwztlH35AUXm0SD0XdLfGAh86 iB3WNNhWOIZf/HeFMf1H33SeNLHMmJ5Xsca/J0+V9Lpr0qbmZCYWipel2h9pG0BCOY/Y PmqA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id a3-20020a254d03000000b00d7bb23f4372si1584735ybb.17.2023.10.27.01.11.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 01:11:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id DBFDB832D70E; Fri, 27 Oct 2023 01:11:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231388AbjJ0IL2 (ORCPT + 99 others); Fri, 27 Oct 2023 04:11:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230101AbjJ0IL1 (ORCPT ); Fri, 27 Oct 2023 04:11:27 -0400 Received: from mail-oa1-f77.google.com (mail-oa1-f77.google.com [209.85.160.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BB1E1A5 for ; Fri, 27 Oct 2023 01:11:25 -0700 (PDT) Received: by mail-oa1-f77.google.com with SMTP id 586e51a60fabf-1ea1c5774d2so2210668fac.1 for ; Fri, 27 Oct 2023 01:11:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698394284; x=1698999084; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=EQ32SRc19lBHfQ6VyTvyZZBauBB8JfuUmyD+6MpGeKg=; b=poO3kbdu6q1wCqYRX62p5nxAHZSUWISXRxTGLIn4yirjdSTCMvrTQW3Z8yf9ZocL+F dL5afe/zKcH7VGIqJnjA2zyjg0v92/oOy5tQE7zdwzFYZGCvx+oXQe0EBAmNtfq+jJ9G mrykSLM4ctDB5YM/R7jNvxmvRj28TKOzDhNUWlOvssL+/Z4k3POsg6s+8v6z5CMu8x38 W1ClXcQIpnOgBHir+BHvi2vAXZfH2sLL0mrFp4/5nvZb2QS2g/KmlrrFOI5O8XN/r9Po LfS+iEKJ1WzgoAdgAPwFjaQ7Q51BFb/tW3eh9i8+eE3IG/7DDfAhGbwGi8PXpszwRvhI 8y5Q== X-Gm-Message-State: AOJu0YzGEdS6yS40iOLtKR0oHHUWie7CQ31N0Nn3dIwUreWygAjkkh3f PDVV3p8O2uzkk5BkE0lTvh2+dA3h8JLHUg0jBf5+1vCwhBuq MIME-Version: 1.0 X-Received: by 2002:a05:6870:b684:b0:1e9:c362:a397 with SMTP id cy4-20020a056870b68400b001e9c362a397mr984213oab.10.1698394284796; Fri, 27 Oct 2023 01:11:24 -0700 (PDT) Date: Fri, 27 Oct 2023 01:11:24 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000008b2940608ae3ce9@google.com> Subject: [syzbot] [net?] KMSAN: uninit-value in virtio_transport_recv_pkt From: syzbot To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, pabeni@redhat.com, sgarzare@redhat.com, stefanha@redhat.com, syzkaller-bugs@googlegroups.com, virtualization@lists.linux-foundation.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=2.1 required=5.0 tests=FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SORTED_RECIPS, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 27 Oct 2023 01:11:44 -0700 (PDT) X-Spam-Level: ** Hello, syzbot found the following issue on: HEAD commit: d90b0276af8f Merge tag 'hardening-v6.6-rc3' of git://git.k.. git tree: upstream console+strace: https://syzkaller.appspot.com/x/log.txt?x=102c8b22680000 kernel config: https://syzkaller.appspot.com/x/.config?x=6f1a4029b69273f3 dashboard link: https://syzkaller.appspot.com/bug?extid=0c8ce1da0ac31abbadcd 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=101e58ec680000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=17f7adb6680000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/83ae10beee39/disk-d90b0276.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/c231992300f6/vmlinux-d90b0276.xz kernel image: https://storage.googleapis.com/syzbot-assets/6377c9c2ea97/bzImage-d90b0276.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+0c8ce1da0ac31abbadcd@syzkaller.appspotmail.com ===================================================== BUG: KMSAN: uninit-value in virtio_transport_recv_pkt+0x1c42/0x2580 net/vmw_vsock/virtio_transport_common.c:1421 virtio_transport_recv_pkt+0x1c42/0x2580 net/vmw_vsock/virtio_transport_common.c:1421 vsock_loopback_work+0x3e2/0x5d0 net/vmw_vsock/vsock_loopback.c:120 process_one_work kernel/workqueue.c:2630 [inline] process_scheduled_works+0x104e/0x1e70 kernel/workqueue.c:2703 worker_thread+0xf45/0x1490 kernel/workqueue.c:2784 kthread+0x3e8/0x540 kernel/kthread.c:388 ret_from_fork+0x66/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Uninit was stored to memory at: virtio_transport_space_update net/vmw_vsock/virtio_transport_common.c:1274 [inline] virtio_transport_recv_pkt+0x1ea4/0x2580 net/vmw_vsock/virtio_transport_common.c:1415 vsock_loopback_work+0x3e2/0x5d0 net/vmw_vsock/vsock_loopback.c:120 process_one_work kernel/workqueue.c:2630 [inline] process_scheduled_works+0x104e/0x1e70 kernel/workqueue.c:2703 worker_thread+0xf45/0x1490 kernel/workqueue.c:2784 kthread+0x3e8/0x540 kernel/kthread.c:388 ret_from_fork+0x66/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Uninit was created at: slab_post_alloc_hook+0x12f/0xb70 mm/slab.h:767 slab_alloc_node mm/slub.c:3478 [inline] kmem_cache_alloc_node+0x577/0xa80 mm/slub.c:3523 kmalloc_reserve+0x13d/0x4a0 net/core/skbuff.c:559 __alloc_skb+0x318/0x740 net/core/skbuff.c:650 alloc_skb include/linux/skbuff.h:1286 [inline] virtio_vsock_alloc_skb include/linux/virtio_vsock.h:66 [inline] virtio_transport_alloc_skb+0x8b/0x1170 net/vmw_vsock/virtio_transport_common.c:58 virtio_transport_reset_no_sock net/vmw_vsock/virtio_transport_common.c:957 [inline] virtio_transport_recv_pkt+0x1531/0x2580 net/vmw_vsock/virtio_transport_common.c:1387 vsock_loopback_work+0x3e2/0x5d0 net/vmw_vsock/vsock_loopback.c:120 process_one_work kernel/workqueue.c:2630 [inline] process_scheduled_works+0x104e/0x1e70 kernel/workqueue.c:2703 worker_thread+0xf45/0x1490 kernel/workqueue.c:2784 kthread+0x3e8/0x540 kernel/kthread.c:388 ret_from_fork+0x66/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 CPU: 0 PID: 8 Comm: kworker/0:0 Not tainted 6.6.0-rc2-syzkaller-00337-gd90b0276af8f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 Workqueue: vsock-loopback vsock_loopback_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 bug is already fixed, 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 bug's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the bug is a duplicate of another bug, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup