diff options
author | 2024-04-11 17:47:42 -0400 | |
---|---|---|
committer | 2024-04-13 22:48:16 -0400 | |
commit | 58caa786f1c02fd84919fb6db9eaecb22e8f7983 (patch) | |
tree | e100a81e7b7afa4d14003c4f742a378c3b8a21c5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bcachefs: Don't use bch2_btree_node_lock_write_nofail() in btree split path (diff) | |
download | wireguard-linux-58caa786f1c02fd84919fb6db9eaecb22e8f7983.tar.xz wireguard-linux-58caa786f1c02fd84919fb6db9eaecb22e8f7983.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions