diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-04-11 17:47:42 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-04-13 22:48:16 -0400 |
commit | 58caa786f1c02fd84919fb6db9eaecb22e8f7983 (patch) | |
tree | e100a81e7b7afa4d14003c4f742a378c3b8a21c5 /fs/btrfs/lru_cache.h | |
parent | 2b3e79fea66e166622a454715ce981432ac8c6e3 (diff) |
bcachefs: Fix UAFs of btree_insert_entry array
The btree paths array is now dynamically resizable - and as well the
btree_insert_entries array, as it needs to be the same size.
The merge path (and interior update path) allocates new btree paths,
thus can trigger a resize; thus we need to not retain direct pointers
after invoking merge; similarly when running btree node triggers.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/btrfs/lru_cache.h')
0 files changed, 0 insertions, 0 deletions