linux/fs/hpfs
Mikulas Patocka d98d8562b3 hpfs: fix a crash if hpfs_map_dnode_bitmap fails
commit 974820a59e upstream.

If hpfs_map_dnode_bitmap fails, the code would call hpfs_brelse4 on
uninitialized quad buffer head, causing a crash.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Reported-by: Farhad Alemi <farhad.alemi@berkeley.edu>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2026-06-19 13:33:26 +02:00
..
alloc.c hpfs: fix a crash if hpfs_map_dnode_bitmap fails 2026-06-19 13:33:26 +02:00
anode.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
buffer.c hpfs: fix warning due to superfluous semicolon 2020-06-06 10:08:17 -07:00
dentry.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dir.c fs: compat_ioctl: move FITRIM emulation into file systems 2019-10-23 17:23:46 +02:00
dnode.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
ea.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
file.c hpfs: use iomap_fiemap to implement ->fiemap 2021-07-27 11:00:36 +02:00
hpfs.h hpfs: replace one-element array with flexible-array member 2021-05-06 19:24:13 -07:00
hpfs_fn.h fs: make helpers idmap mount aware 2021-01-24 14:27:20 +01:00
inode.c fs: make helpers idmap mount aware 2021-01-24 14:27:20 +01:00
Kconfig hpfs: use iomap_fiemap to implement ->fiemap 2021-07-27 11:00:36 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
map.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
name.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
namei.c fs/hpfs: Fix error code for new_inode() failure in mkdir/create/mknod/symlink 2025-12-07 06:09:24 +09:00
super.c [PATCH] reduce boilerplate in fsid handling 2020-09-18 16:45:50 -04:00