linux/fs/hpfs/alloc.c
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>
2026-06-19 13:33:26 +02:00

582 lines
14 KiB