lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 18 Jun 2024 16:30:14 +0200
From: Christian Brauner <brauner@...nel.org>
To: Chao Yu <chao@...nel.org>
Cc: Christian Brauner <brauner@...nel.org>,
	linux-fsdevel@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	stable@...r.kernel.org,
	syzbot+3ae6be33a50b5aae4dab@...kaller.appspotmail.com,
	viro@...iv.linux.org.uk,
	akpm@...ux-foundation.org
Subject: Re: [PATCH] hfs: fix to initialize fields of hfs_inode_info after hfs_alloc_inode()

On Sun, 16 Jun 2024 09:38:41 +0800, Chao Yu wrote:
> Syzbot reports uninitialized value access issue as below:
> 
> loop0: detected capacity change from 0 to 64
> =====================================================
> BUG: KMSAN: uninit-value in hfs_revalidate_dentry+0x307/0x3f0 fs/hfs/sysdep.c:30
>  hfs_revalidate_dentry+0x307/0x3f0 fs/hfs/sysdep.c:30
>  d_revalidate fs/namei.c:862 [inline]
>  lookup_fast+0x89e/0x8e0 fs/namei.c:1649
>  walk_component fs/namei.c:2001 [inline]
>  link_path_walk+0x817/0x1480 fs/namei.c:2332
>  path_lookupat+0xd9/0x6f0 fs/namei.c:2485
>  filename_lookup+0x22e/0x740 fs/namei.c:2515
>  user_path_at_empty+0x8b/0x390 fs/namei.c:2924
>  user_path_at include/linux/namei.h:57 [inline]
>  do_mount fs/namespace.c:3689 [inline]
>  __do_sys_mount fs/namespace.c:3898 [inline]
>  __se_sys_mount+0x66b/0x810 fs/namespace.c:3875
>  __x64_sys_mount+0xe4/0x140 fs/namespace.c:3875
>  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+0x63/0x6b
> 
> [...]

Applied to the vfs.misc branch of the vfs/vfs.git tree.
Patches in the vfs.misc branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs.misc

[1/1] hfs: fix to initialize fields of hfs_inode_info after hfs_alloc_inode()
      https://git.kernel.org/vfs/vfs/c/849b386e2876

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ