diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-04-12 00:47:42 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-04-14 05:48:16 +0300 |
commit | 58caa786f1c02fd84919fb6db9eaecb22e8f7983 (patch) | |
tree | e100a81e7b7afa4d14003c4f742a378c3b8a21c5 /usr/initramfs_data.S | |
parent | 2b3e79fea66e166622a454715ce981432ac8c6e3 (diff) | |
download | linux-58caa786f1c02fd84919fb6db9eaecb22e8f7983.tar.xz |
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 'usr/initramfs_data.S')
0 files changed, 0 insertions, 0 deletions