diff options
author | yangerkun <[email protected]> | 2020-10-28 13:56:17 +0800 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2020-10-28 13:43:13 -0400 |
commit | d7dce9e08595e80bf8039a81794809c66fe26431 (patch) | |
tree | 4f7d7c6bacdd04699ec030081195d84feacc0506 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 8c9be1e58a8dc03ef815ca51ece95c5e6862b25e (diff) |
ext4: do not use extent after put_bh
ext4_ext_search_right() will read more extent blocks and call put_bh
after we get the information we need. However, ret_ex will break this
and may cause use-after-free once pagecache has been freed. Fix it by
copying the extent structure if needed.
Signed-off-by: yangerkun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions