]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix use-after-free in btrfs_replay_log
authorLiu Bo <bo.li.liu@oracle.com>
Thu, 11 Jun 2015 06:16:44 +0000 (14:16 +0800)
committerChris Mason <clm@fb.com>
Fri, 12 Jun 2015 18:03:21 +0000 (11:03 -0700)
commit2a0e90c758c4462237a65e8ddd1ac585e1b17796
treec1b6a793279d145309aa681817bd8644561af660
parent8290eca165cc254b9e5522db38ceeba8ba0f1801
Btrfs: fix use-after-free in btrfs_replay_log

@log_root_tree should not be referenced after kfree.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/disk-io.c