public inbox for linux-unionfs@vger.kernel.org
 help / color / mirror / Atom feed
From: syzbot <syzbot+d130f98b2c265fae5297@syzkaller.appspotmail.com>
To: amir73il@gmail.com, linux-kernel@vger.kernel.org,
	 linux-unionfs@vger.kernel.org, miklos@szeredi.hu,
	 syzkaller-bugs@googlegroups.com
Subject: [syzbot] [overlayfs?] KMSAN: uninit-value in ovl_fill_real
Date: Thu, 22 Jan 2026 05:09:28 -0800	[thread overview]
Message-ID: <69722188.a70a0220.111c58.0043.GAE@google.com> (raw)

Hello,

syzbot found the following issue on:

HEAD commit:    d12453c7e281 Merge tag 'arm64-fixes' of git://git.kernel.o..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=11ca6b9a580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=46b5f80a6e7aaa5c
dashboard link: https://syzkaller.appspot.com/bug?extid=d130f98b2c265fae5297
compiler:       Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8
userspace arch: i386

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/72a742184eaf/disk-d12453c7.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/27a786c1192a/vmlinux-d12453c7.xz
kernel image: https://storage.googleapis.com/syzbot-assets/3c272ecc6877/bzImage-d12453c7.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+d130f98b2c265fae5297@syzkaller.appspotmail.com

EXT4-fs: Quota format mount options ignored when QUOTA feature is enabled
EXT4-fs (loop1): Test dummy encryption mode enabled
EXT4-fs (loop1): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: writeback.
=====================================================
BUG: KMSAN: uninit-value in ovl_fill_real+0x1df/0x920 fs/overlayfs/readdir.c:758
 ovl_fill_real+0x1df/0x920 fs/overlayfs/readdir.c:758
 dir_emit include/linux/fs.h:3527 [inline]
 ext4_readdir+0x320e/0x6f30 fs/ext4/dir.c:304
 iterate_dir+0x452/0x620 fs/readdir.c:108
 ovl_iterate_real fs/overlayfs/readdir.c:829 [inline]
 ovl_iterate+0x1e84/0x47d0 fs/overlayfs/readdir.c:909
 wrap_directory_iterator+0xda/0x180 fs/readdir.c:65
 shared_ovl_iterate+0x3d/0x50 fs/overlayfs/readdir.c:1065
 iterate_dir+0x452/0x620 fs/readdir.c:108
 __do_sys_getdents64 fs/readdir.c:410 [inline]
 __se_sys_getdents64+0x17e/0x550 fs/readdir.c:396
 __ia32_sys_getdents64+0x96/0xe0 fs/readdir.c:396
 ia32_sys_call+0x353e/0x4340 arch/x86/include/generated/asm/syscalls_32.h:221
 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline]
 __do_fast_syscall_32+0x154/0x320 arch/x86/entry/syscall_32.c:307
 do_fast_syscall_32+0x38/0x80 arch/x86/entry/syscall_32.c:332
 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/syscall_32.c:370
 entry_SYSENTER_compat_after_hwframe+0x84/0x8e

Uninit was created at:
 slab_post_alloc_hook mm/slub.c:4960 [inline]
 slab_alloc_node mm/slub.c:5263 [inline]
 __do_kmalloc_node mm/slub.c:5656 [inline]
 __kmalloc_noprof+0xaf2/0x1c20 mm/slub.c:5669
 kmalloc_noprof include/linux/slab.h:961 [inline]
 fscrypt_fname_alloc_buffer+0x52/0x110 fs/crypto/fname.c:223
 ext4_readdir+0xaf6/0x6f30 fs/ext4/dir.c:169
 iterate_dir+0x452/0x620 fs/readdir.c:108
 ovl_iterate_real fs/overlayfs/readdir.c:829 [inline]
 ovl_iterate+0x1e84/0x47d0 fs/overlayfs/readdir.c:909
 wrap_directory_iterator+0xda/0x180 fs/readdir.c:65
 shared_ovl_iterate+0x3d/0x50 fs/overlayfs/readdir.c:1065
 iterate_dir+0x452/0x620 fs/readdir.c:108
 __do_sys_getdents64 fs/readdir.c:410 [inline]
 __se_sys_getdents64+0x17e/0x550 fs/readdir.c:396
 __ia32_sys_getdents64+0x96/0xe0 fs/readdir.c:396
 ia32_sys_call+0x353e/0x4340 arch/x86/include/generated/asm/syscalls_32.h:221
 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline]
 __do_fast_syscall_32+0x154/0x320 arch/x86/entry/syscall_32.c:307
 do_fast_syscall_32+0x38/0x80 arch/x86/entry/syscall_32.c:332
 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/syscall_32.c:370
 entry_SYSENTER_compat_after_hwframe+0x84/0x8e

CPU: 1 UID: 0 PID: 30053 Comm: syz.1.3910 Tainted: G             L      syzkaller #0 PREEMPT(none) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
=====================================================


---
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 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

                 reply	other threads:[~2026-01-22 13:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=69722188.a70a0220.111c58.0043.GAE@google.com \
    --to=syzbot+d130f98b2c265fae5297@syzkaller.appspotmail.com \
    --cc=amir73il@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-unionfs@vger.kernel.org \
    --cc=miklos@szeredi.hu \
    --cc=syzkaller-bugs@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox