Files
linux/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/[email protected]
Signed-off-by: Pan Bian <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: Ernesto A. Fernandez <[email protected]>
Cc: Joe Perches <[email protected]>
Cc: Viacheslav Dubeyko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2018-11-30 14:56:14 -08:00
..
2018-10-31 08:54:13 -07:00
2018-11-30 14:56:14 -08:00
2018-08-22 10:52:50 -07:00
2018-08-22 10:52:50 -07:00
2016-06-07 13:41:38 -06:00
2018-08-22 10:52:50 -07:00
2018-08-22 10:52:50 -07:00
2018-08-22 10:52:50 -07:00
2018-08-22 10:52:50 -07:00