]> git.ipfire.org Git - thirdparty/linux.git/commit
ext4: filesystems without casefold feature cannot be mounted with siphash
authorLizhi Xu <lizhi.xu@windriver.com>
Wed, 5 Jun 2024 01:23:35 +0000 (09:23 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 21 Aug 2024 01:37:18 +0000 (21:37 -0400)
commit985b67cd86392310d9e9326de941c22fc9340eec
tree8f0e2581d1cf55f599bb3321a37ff679d925391c
parenta3c3eecc7c876c7f2b09d9ee1acf5b8b85996cff
ext4: filesystems without casefold feature cannot be mounted with siphash

When mounting the ext4 filesystem, if the default hash version is set to
DX_HASH_SIPHASH but the casefold feature is not set, exit the mounting.

Reported-by: syzbot+340581ba9dceb7e06fb3@syzkaller.appspotmail.com
Signed-off-by: Lizhi Xu <lizhi.xu@windriver.com>
Link: https://patch.msgid.link/20240605012335.44086-1-lizhi.xu@windriver.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/super.c