From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io1-f72.google.com (mail-io1-f72.google.com [209.85.166.72]) (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 B723183CA0 for ; Mon, 29 Apr 2024 16:05:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714406734; cv=none; b=DrCJbvp5D7MhU8ggPilGxk4+BqUn0ppKuswzKS3g2Rj2YMIle9u55OzG3eeE4BkZpmbfzCSPkblbU2odzvrFPBvMcwuauCfJRWvYHFY8wJCeqI5wD01F0tjMQZFaqC3PP7K7RHDklZa4rzubG96ZyX/0WFSk0Ir4LdPOT77Y8bM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714406734; c=relaxed/simple; bh=hiRsBpZoZcTi5qoEJ1/IvH/Ifa7hifEK7POZMgl74j0=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=rKaBLWxdAx+93Ypz1cl+IrYmp1CziEc4mXoquMLyzSKlOFd8TysV2gDO1UmhdaeWppR9ahj9zHfbvnG3PteoZ76AEGJfX9M5FKcYPrsyRKGqCotoQkBI+WaDKhpjl5rTrgUk+oeWYTzZCd4eGNTbnIj5UaR/iBcweFBuDhxm5IY= 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.72 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-f72.google.com with SMTP id ca18e2360f4ac-7dec4e29827so163754639f.2 for ; Mon, 29 Apr 2024 09:05:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714406732; x=1715011532; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=93rlfPbij6l5AfI5569BrabwgqGsAA8Z5rOA/e+b6Xo=; b=UmlKsSB4hfxAyDXj82/rzmvbq59n6rx/uASebQ6agom+AJPCdiQHeSk/I0NhzZehra c9sRQ84560DBjL1wy2U1dW3ZIRqozp6GhyyimCpjkETPp7zXe/Q81WqK3PBbpddYneP2 C28ocJPrBqC/A/PusI62Y3mM+3J7A3KZPoKk+fdNwMSLoVO6xhDTRfY4EpjeGJ9tXZbQ gjQwaFnE9wnbHE6TW1Mcvu/rgPGxOxsuoRSH22E7G0ax07Z1B1lVySDnvoAfGuhANvrf gABc8Zs/dUEhJamwNzuQwxUQDm7oFz/n2b5maGVjK8QtuQ9wUOZoHhEKrvha0g/hCi6b fy6w== X-Forwarded-Encrypted: i=1; AJvYcCXv7Q7mOVgtTAdxZJY1LJKoZxpMXkVaW6E7k9yzOUsFQquao3OZgOTd1KUVw/nl7eOc65mIzkys5U2+PxXzaQpTryH/rFdB5C9iG8YBAA== X-Gm-Message-State: AOJu0Yz2AWTJYFpHdakZTGp+S30s8bhWbhF/gcJrIj1pIl1Ba8LaNRbM o2RGHD1q2A2J66w8oANfALEJU9PYKptvU8sbVLWIoXvQ1dP/EESb5jTxVFjbY/d3OMdR0OVVHq7 fM5m4oUMrBTZIGXXjaKpvjuN2qh0RFAYFCa4/CcDxzzBRrsbrUIagNow= X-Google-Smtp-Source: AGHT+IGv85KPokVkT162yvZpYCbRMU9EmRQ9fqyjXZXn1tM/O9TOHf/WV0VlbQPMLkv8KF8jnGZmSeiDnkJq+lhTd/gzX8sv5s4J Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6638:3d86:b0:487:30aa:adb6 with SMTP id ci6-20020a0566383d8600b0048730aaadb6mr15264jab.2.1714406732068; Mon, 29 Apr 2024 09:05:32 -0700 (PDT) Date: Mon, 29 Apr 2024 09:05:32 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000440b0a06173e6ca8@google.com> Subject: [syzbot] [ext4?] KMSAN: uninit-value in ext4_inlinedir_to_tree From: syzbot To: adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, tytso@mit.edu Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: e88c4cfcb7b8 Merge tag 'for-6.9-rc5-tag' of git://git.kern.. git tree: upstream console+strace: https://syzkaller.appspot.com/x/log.txt?x=12fbc980980000 kernel config: https://syzkaller.appspot.com/x/.config?x=776c05250f36d55c dashboard link: https://syzkaller.appspot.com/bug?extid=eaba5abe296837a640c0 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=13e2cd27180000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1741a028980000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/76771e00ba79/disk-e88c4cfc.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/c957ed943a4f/vmlinux-e88c4cfc.xz kernel image: https://storage.googleapis.com/syzbot-assets/e719306ed8e3/bzImage-e88c4cfc.xz mounted in repro: https://storage.googleapis.com/syzbot-assets/9d3c2a1fa449/mount_0.gz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+eaba5abe296837a640c0@syzkaller.appspotmail.com EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: none. EXT4-fs warning (device loop0): __ext4fs_dirhash:270: inode #12: comm syz-executor253: Siphash requires key ===================================================== BUG: KMSAN: uninit-value in ext4_inlinedir_to_tree+0xde2/0x15a0 fs/ext4/inline.c:1415 ext4_inlinedir_to_tree+0xde2/0x15a0 fs/ext4/inline.c:1415 ext4_htree_fill_tree+0x1941/0x1cd0 fs/ext4/namei.c:1210 ext4_dx_readdir fs/ext4/dir.c:597 [inline] ext4_readdir+0x4bbf/0x5b00 fs/ext4/dir.c:142 iterate_dir+0x688/0x870 fs/readdir.c:110 __do_sys_getdents64 fs/readdir.c:409 [inline] __se_sys_getdents64+0x169/0x530 fs/readdir.c:394 __x64_sys_getdents64+0x96/0xe0 fs/readdir.c:394 x64_sys_call+0x343d/0x3b50 arch/x86/include/generated/asm/syscalls_64.h:218 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 Local variable hinfo created at: ext4_htree_fill_tree+0x52/0x1cd0 fs/ext4/namei.c:1185 ext4_dx_readdir fs/ext4/dir.c:597 [inline] ext4_readdir+0x4bbf/0x5b00 fs/ext4/dir.c:142 CPU: 1 PID: 5020 Comm: syz-executor253 Not tainted 6.9.0-rc5-syzkaller-00042-ge88c4cfcb7b8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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 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