Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp10301758rwb; Fri, 25 Nov 2022 03:23:39 -0800 (PST) X-Google-Smtp-Source: AA0mqf4omilmiyK0nwNdeKkWzridhG8Xxk/CRWmQIlxqW2jRm7vh9/oC1ck/pEF5uCHh+O/WQFYh X-Received: by 2002:a05:6402:28c4:b0:469:ee21:16d4 with SMTP id ef4-20020a05640228c400b00469ee2116d4mr15228081edb.315.1669375419042; Fri, 25 Nov 2022 03:23:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669375419; cv=none; d=google.com; s=arc-20160816; b=bL8Qu5xKuiTSWAkatuMPC75+lhkiDm8AOaZaZx4109zwLIDLFM6mPndRjDRZmuyIgW iFWPZOdP9p5Dh5GDiV/1+x74yf+EIwmIlleNYC7OBuARnMViLv6JvU8s0/17JBbOqNwa yL9TXRwQSjESZNmxR6Nja9PkFlFIKCS8N/xuTtU+rz3XwkhI0lLSzJYycJQRzjHLCpqF JG1Qrdmr9MYOaHpLIauPCZk6Z43HF/Jv2Sbq3ixqmAA6fB6TNB1b24PRr9PPtxjZHGiy ORiU1T8BmczjjbnMilWyOz2atGvBDNRzkz7WEyvc0ijsxw64HJ1T3P2yupQFFuxBWPET jG5Q== 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=hUSkP76cq3aYcTr4I+ixSY0EUlW3U5c4YEXhWdyd9B4=; b=AxoRuV9nsiLCaQh0nT8T1awSn2x9JbVZPSYtwEpdY2MZfU5EmXXFb+LUxwLos3hfKi vJHLG6RRMUbHhJNoxn2qOqGqX6P54qZXUk2C2Xp7Ei7i1jpvVEqxaoEZ1Y8PYCG7tgQw NHIPGlyxJdj7Ve7bKZnziGtyjtHf4obXnoORlqn2wkyPzDX/G9fG0Qhe/TutHvj8P15U JQxMXerEY58LwQr0YY0/MeIprQQhNu9jFDK85j3YYBeFWbPsE80wbGgM6M/X4Fz8bOYl q6/1O5zSzXfwxDlLefdYZhonvX0SG/mo8BuT6q2YU6xH0wLXjUp13Jk5f5XcM4PGydqW kJ1g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m8-20020a056402510800b0045d15503bb8si3379561edd.224.2022.11.25.03.23.17; Fri, 25 Nov 2022 03:23:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229694AbiKYJ6G (ORCPT + 86 others); Fri, 25 Nov 2022 04:58:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230043AbiKYJ5q (ORCPT ); Fri, 25 Nov 2022 04:57:46 -0500 Received: from mail-io1-f69.google.com (mail-io1-f69.google.com [209.85.166.69]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE80515736 for ; Fri, 25 Nov 2022 01:56:33 -0800 (PST) Received: by mail-io1-f69.google.com with SMTP id w16-20020a6b4a10000000b006a5454c789eso1854238iob.20 for ; Fri, 25 Nov 2022 01:56:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=hUSkP76cq3aYcTr4I+ixSY0EUlW3U5c4YEXhWdyd9B4=; b=gDuwj5bfZTYhki/mCb/FpCIQJsZUtuuCYlxHNFK2t5FdljMvN+liI8qeCQBqq5fwCg hz2p31Owyr7GQO5Jvq/jseDU0G1Owsm2oJ6brtlu8OSUeADFbMaOIK3Ra7AeQ5LTLskd bzfUOWxqoa1w22ZdNe/UFODlawVeodBwI3YPVl9c65cF2iKothwP/3XWdVV5zJa3chCt rHFZ0xu/Nj1856TUG8Yw1r4QmC+10H2txU0GMpyWgCAq0NyoH2dtOq4156vnLMKsA5qY XCGXk4MyfSNpOrng/rX9DAONBsghTe5aje6jMLQxbvzeWKfFiJF/opS6CYQB664s9qkt Dk8A== X-Gm-Message-State: ANoB5pl4gmAr/qSFGi6qaVNX5SS7F3H+QxvurU37zppzZPouvTLn+SCb Q7pawDfMzW646c5U5/5Xbumb7ANWEiYiIQBeC34RDHvT21iL MIME-Version: 1.0 X-Received: by 2002:a02:9469:0:b0:363:afc3:b405 with SMTP id a96-20020a029469000000b00363afc3b405mr9631171jai.243.1669370193038; Fri, 25 Nov 2022 01:56:33 -0800 (PST) Date: Fri, 25 Nov 2022 01:56:33 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000005ad04005ee48897f@google.com> Subject: [syzbot] KMSAN: uninit-value in hfs_revalidate_dentry From: syzbot To: glider@google.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: a472f15b3d1e kmsan: allow using __msan_instrument_asm_stor.. git tree: https://github.com/google/kmsan.git master console output: https://syzkaller.appspot.com/x/log.txt?x=1206a7fd880000 kernel config: https://syzkaller.appspot.com/x/.config?x=1429f86b132e6d40 dashboard link: https://syzkaller.appspot.com/bug?extid=3ae6be33a50b5aae4dab compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project.git 610139d2d9ce6746b3c617fb3e2f7886272d26ff), GNU ld (GNU Binutils for Debian) 2.35.2 userspace arch: i386 Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/a8bf743ab4c3/disk-a472f15b.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/7248eae68bc7/vmlinux-a472f15b.xz kernel image: https://storage.googleapis.com/syzbot-assets/0e33e55592a5/bzImage-a472f15b.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+3ae6be33a50b5aae4dab@syzkaller.appspotmail.com loop0: detected capacity change from 0 to 64 ===================================================== BUG: KMSAN: uninit-value in hfs_revalidate_dentry+0x17f/0x3e0 fs/hfs/sysdep.c:30 hfs_revalidate_dentry+0x17f/0x3e0 fs/hfs/sysdep.c:30 d_revalidate fs/namei.c:856 [inline] lookup_open fs/namei.c:3345 [inline] open_last_lookups fs/namei.c:3481 [inline] path_openat+0x115a/0x5600 fs/namei.c:3710 do_filp_open+0x249/0x660 fs/namei.c:3740 do_sys_openat2+0x1f0/0x910 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_compat_sys_openat fs/open.c:1386 [inline] __se_compat_sys_openat fs/open.c:1384 [inline] __ia32_compat_sys_openat+0x2a7/0x330 fs/open.c:1384 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 Uninit was created at: __alloc_pages+0x9f1/0xe80 mm/page_alloc.c:5578 alloc_pages+0xaae/0xd80 mm/mempolicy.c:2285 alloc_slab_page mm/slub.c:1794 [inline] allocate_slab+0x1b5/0x1010 mm/slub.c:1939 new_slab mm/slub.c:1992 [inline] ___slab_alloc+0x10c3/0x2d60 mm/slub.c:3180 __slab_alloc mm/slub.c:3279 [inline] slab_alloc_node mm/slub.c:3364 [inline] slab_alloc mm/slub.c:3406 [inline] __kmem_cache_alloc_lru mm/slub.c:3413 [inline] kmem_cache_alloc_lru+0x6f3/0xb30 mm/slub.c:3429 alloc_inode_sb include/linux/fs.h:3117 [inline] hfs_alloc_inode+0x56/0xc0 fs/hfs/super.c:165 alloc_inode+0x83/0x440 fs/inode.c:259 iget_locked+0x2a1/0xe20 fs/inode.c:1286 hfs_btree_open+0x162/0x1ab0 fs/hfs/btree.c:38 hfs_mdb_get+0x207d/0x29b0 fs/hfs/mdb.c:199 hfs_fill_super+0x1d13/0x2400 fs/hfs/super.c:406 mount_bdev+0x508/0x840 fs/super.c:1401 hfs_mount+0x49/0x60 fs/hfs/super.c:456 legacy_get_tree+0x10c/0x280 fs/fs_context.c:610 vfs_get_tree+0xa1/0x500 fs/super.c:1531 do_new_mount+0x694/0x1580 fs/namespace.c:3040 path_mount+0x71a/0x1eb0 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount+0x734/0x840 fs/namespace.c:3568 __ia32_sys_mount+0xdf/0x140 fs/namespace.c:3568 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 CPU: 0 PID: 4234 Comm: syz-executor.0 Not tainted 6.1.0-rc6-syzkaller-63555-ga472f15b3d1e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 ===================================================== --- 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.