linux_dsm_epyc7002/fs/hfsplus
Pan Bian c7d7d620dc hfsplus: do not free node before using
hfs_bmap_free() frees node via hfs_bnode_put(node).  However it then
reads node->this when dumping error message on an error path, which may
result in a use-after-free bug.  This patch frees node only when it is
never used.

Link: http://lkml.kernel.org/r/1543053441-66942-1-git-send-email-bianpan2016@163.com
Signed-off-by: Pan Bian <bianpan2016@163.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Ernesto A. Fernandez <ernesto.mnd.fernandez@gmail.com>
Cc: Joe Perches <joe@perches.com>
Cc: Viacheslav Dubeyko <slava@dubeyko.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2018-11-30 14:56:14 -08:00
..
attributes.c
bfind.c
bitmap.c
bnode.c
brec.c
btree.c hfsplus: do not free node before using 2018-11-30 14:56:14 -08:00
catalog.c
dir.c
extents.c
hfsplus_fs.h
hfsplus_raw.h
inode.c hfsplus: update timestamps on truncate() 2018-10-31 08:54:13 -07:00
ioctl.c
Kconfig
Makefile
options.c
part_tbl.c
super.c
tables.c
unicode.c
wrapper.c
xattr_security.c
xattr_trusted.c
xattr_user.c
xattr.c
xattr.h