Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1462523lqa; Mon, 29 Apr 2024 09:06:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXeg/mWMs/vFytzurJfEWcoqhGgZk95JwuDuFEC/ov3fxwpj0JFZp7/YSheQ++YIqjDMj8Uf5ktrFKx4WaVkXngGsinc5QMLpUQf2o9yw== X-Google-Smtp-Source: AGHT+IFqVTrk0NvW9ftlpQWM23FrHECsqXqhfCpuiufn8qqyuqaxTZG+VYJ5+yS8ZD1ns6n5iyGv X-Received: by 2002:a17:902:ef85:b0:1e2:7462:b97b with SMTP id iz5-20020a170902ef8500b001e27462b97bmr9543571plb.67.1714406780163; Mon, 29 Apr 2024 09:06:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714406780; cv=pass; d=google.com; s=arc-20160816; b=DdO1sILFkXuyttYtovXO5mw0UpbSUOP47gt1cvnV/JVk22kPCamOZwDdc6ciQ+VDw7 /5Qt2bwmVoiT0ms6aEFt8xQKQynKfOtKWAP40MnWd4npxEoxi5/SGhitoFeNrAaGY7cM ElnysZLrN3yxyjcAURcXGFGfy+xrcDhu55yvRKqxEW8J1jeX4IfdrFce196A55IGoSl+ 6a2lLzWxiuO/h2iEhhsCzjtG5C/h3p+fhRo/hcFS58sH5Z5ajNUEAnIzf53PDIxelg0H tqYxyHO0ue2ZsKCCv73EvDqyA8Lcnts+9jxGcqjYAoe63suTzcAOgnzig0eMIXG3o0SU IJZQ== 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=93rlfPbij6l5AfI5569BrabwgqGsAA8Z5rOA/e+b6Xo=; fh=xSJjx4PCzv3RN6xaqy+EzIp4kI1TcyDjEr/g6nIAuZA=; b=hHhKWomtZlRX6De97M54nu8GAYfpn64/xJn2iGbLWvBFA4Hj9+DIV7I2Cbn68pVzDo pAgiuOY1e0pHwVuFZsnVvv4oqAqqLWsCYLKJghMKpTspF1GYAysl9fPmvvCVsBwxigmD 7oUxvabI9neQFPO5fqrmB3HZLRtrwxAYaIXOz4cRoBcp+AUaP4GU8NX+6NQpy4mF2vFb y9JkZHXsYshnIrG72cO1n3cCVB+HzWRHy2ilTomZb3/xUwHOq5W8l8gsI26Nu8qc/AmF 68IIUKesuinUcqCijEIn7wwwfbfVSleAUfYG4pa71rS9x4HFR2+OGG7U6dlVG/NSo8th 2Wsg==; 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-ext4+bounces-2236-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-ext4+bounces-2236-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 iz14-20020a170902ef8e00b001e48eb326d7si19152586plb.361.2024.04.29.09.06.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 09:06:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4+bounces-2236-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-ext4+bounces-2236-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-ext4+bounces-2236-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 7ADE52831D5 for ; Mon, 29 Apr 2024 16:05:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 79BF284A5F; Mon, 29 Apr 2024 16:05:34 +0000 (UTC) X-Original-To: linux-ext4@vger.kernel.org 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 B71EC83A09 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-7dea5889eb7so370939139f.1 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=Cnolrmj/tUBunp6QekhqIBXEmd8h2TMDgm9Rl9HB7N3bLsWy+kyZsoddK3uKfGy7pJ 9icg0xVCYVOFKwqR7eakerIYOEG1yg5GZSPZPQjjzy9RPIIjBNzfNThz0CzXeP/8RyKc ukB5OR3GNPee0VOTMe7DL2Un8zfXscQ1ulZa+q3R1SLPpDEf65+SdxsZ0n1Gu8NHTd7i qEG+0W+JllwsXWoVsXuneluovuJZBvVyJrahWyhBOZBU0MBISouAUSr505a6qeFgGnXq ZpsgHz/gPMOaYn4T4L5bJdsovFWNh0B4TGwkD7Fu1r9rjp/PW+jeG51ZQPOa51dEgE3f ulSA== X-Forwarded-Encrypted: i=1; AJvYcCVuOlmkwag7UfEpshIT5pq1rDwikgpT2gX2qGV5geNKdmo3q4tNXzREae1xmbSNV4U+kdv47mvyogWE6w+hPr2my7dk+4bBp1JowA== X-Gm-Message-State: AOJu0YzhU+1/eXYiXC9PawYAriHcw8UDN0+Eqo9NbxhhvWcAUOp3pRSk 9ks0XbJwrH4kE3TroOCoX1Kx18EPErBQvV2VqJZOwCijoX+2OLxhsX5hKnZKLKhwaaWpzs9nq2e kSODgNqKuqmIaKE28VYwUtEL4SQFQDF3+bllP24Ij5s6C4Jy4X7Gis5U= Precedence: bulk X-Mailing-List: linux-ext4@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