Kent Overstreet
58caa786f1
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>
2024-04-13 22:48:16 -04:00
..
2024-04-07 17:15:53 -04:00
2023-10-22 17:10:12 -04:00
2024-01-21 13:27:10 -05:00
2024-04-02 20:24:00 -04:00
2024-03-13 21:22:25 -04:00
2024-04-01 21:14:02 -04:00
2023-10-22 17:10:10 -04:00
2024-04-01 21:14:02 -04:00
2024-04-03 14:46:51 -04:00
2024-03-31 20:36:11 -04:00
2024-03-13 21:22:24 -04:00
2023-10-31 12:18:37 -04:00
2024-04-09 00:53:14 -04:00
2024-01-01 11:47:41 -05:00
2024-04-03 14:46:51 -04:00
2024-01-21 13:27:09 -05:00
2024-01-21 06:01:45 -05:00
2023-11-05 13:12:18 -05:00
2023-10-22 17:10:12 -04:00
2024-03-13 21:22:26 -04:00
2024-01-21 13:27:09 -05:00
2024-03-13 21:22:26 -04:00
2024-03-31 20:36:11 -04:00
2024-03-31 20:36:11 -04:00
2024-03-31 20:36:11 -04:00
2024-01-21 13:27:10 -05:00
2024-04-09 00:53:14 -04:00
2023-10-22 17:10:10 -04:00
2024-04-03 14:46:51 -04:00
2024-01-01 11:47:40 -05:00
2024-03-31 20:36:11 -04:00
2024-04-04 16:53:12 -04:00
2024-04-10 22:28:36 -04:00
2024-04-03 14:44:18 -04:00
2023-11-13 21:45:01 -05:00
2024-04-07 13:40:35 -04:00
2024-01-01 11:47:41 -05:00
2024-04-10 22:28:36 -04:00
2024-01-21 13:27:10 -05:00
2024-04-03 14:44:18 -04:00
2024-04-09 18:54:46 -04:00
2024-04-03 14:44:18 -04:00
2024-04-13 22:48:16 -04:00
2024-04-04 16:53:12 -04:00
2024-04-11 23:45:12 -04:00
2024-04-04 16:56:44 -04:00
2024-03-31 20:36:11 -04:00
2024-03-13 21:22:24 -04:00
2024-01-01 11:47:41 -05:00
2024-03-31 20:36:10 -04:00
2024-01-05 23:24:19 -05:00
2024-01-21 06:01:45 -05:00
2023-10-22 17:10:13 -04:00
2024-03-31 20:36:11 -04:00
2024-04-01 21:14:02 -04:00
2024-04-06 13:50:25 -04:00
2023-10-22 17:10:10 -04:00
2024-03-10 15:34:08 -04:00
2024-01-05 23:24:21 -05:00
2024-01-21 13:27:09 -05:00
2024-03-13 18:39:12 -04:00
2024-01-21 06:01:45 -05:00
2024-01-01 11:46:52 -05:00
2024-01-01 11:47:43 -05:00
2024-04-05 03:05:30 -04:00
2023-11-25 21:48:42 -05:00
2024-04-04 16:56:44 -04:00
2024-01-21 13:27:10 -05:00
2024-03-13 21:22:24 -04:00
2024-03-13 21:22:24 -04:00
2023-10-31 12:18:37 -04:00
2024-01-05 23:24:21 -05:00
2023-10-31 12:18:37 -04:00
2024-01-21 13:27:11 -05:00
2024-01-01 11:47:38 -05:00
2024-03-18 00:24:24 -04:00
2024-01-05 23:24:20 -05:00
2024-03-13 21:22:25 -04:00
2024-03-31 20:36:11 -04:00
2024-04-01 01:07:24 -04:00
2024-03-31 20:36:11 -04:00
2024-01-01 11:47:44 -05:00
2024-01-21 13:27:11 -05:00
2024-04-03 14:44:18 -04:00
2024-04-03 14:44:18 -04:00
2024-04-06 17:39:12 -04:00
2024-04-08 22:56:37 -04:00
2024-03-13 18:39:12 -04:00
2024-03-13 21:22:24 -04:00
2024-03-13 21:22:26 -04:00
2023-10-22 17:10:10 -04:00
2024-03-31 20:36:11 -04:00
2023-10-22 17:10:10 -04:00
2024-01-21 13:27:10 -05:00
2024-03-13 21:22:26 -04:00
2024-01-22 12:37:51 -05:00
2023-10-22 17:10:12 -04:00
2024-01-28 21:41:09 -05:00
2023-11-05 13:12:18 -05:00
2024-03-31 20:36:10 -04:00
2024-01-01 11:47:36 -05:00
2024-04-03 14:46:51 -04:00
2024-03-13 21:22:25 -04:00
2024-01-21 13:27:10 -05:00
2024-03-31 20:36:10 -04:00
2024-03-13 21:22:24 -04:00
2024-03-31 20:36:11 -04:00
2023-11-01 21:11:08 -04:00
2024-03-13 21:22:26 -04:00
2023-10-22 17:10:12 -04:00
2023-10-22 17:10:12 -04:00
2024-03-13 21:38:01 -04:00
2023-11-24 00:29:58 -05:00
2024-03-18 00:24:24 -04:00
2024-03-13 21:22:25 -04:00
2024-04-06 13:50:26 -04:00
2024-01-01 11:47:41 -05:00
2023-10-22 17:10:16 -04:00
2024-04-03 14:44:18 -04:00
2024-04-06 13:50:26 -04:00
2024-03-18 23:35:42 -04:00
2024-03-10 15:34:08 -04:00
2024-01-01 11:47:44 -05:00
2024-01-01 11:47:43 -05:00
2024-01-01 11:47:43 -05:00
2024-01-21 13:27:11 -05:00
2024-04-01 00:04:10 -04:00
2023-10-22 17:10:12 -04:00
2024-03-13 21:22:26 -04:00
2023-11-01 21:11:08 -04:00
2024-04-03 14:44:18 -04:00
2024-04-02 14:45:08 -04:00
2024-03-13 21:37:58 -04:00
2024-03-13 21:37:58 -04:00
2024-03-10 15:34:09 -04:00
2023-10-31 12:18:38 -04:00
2024-01-21 13:27:10 -05:00
2024-01-01 11:47:39 -05:00
2024-03-18 00:24:24 -04:00
2023-10-22 17:10:15 -04:00
2023-10-22 17:10:15 -04:00
2024-03-31 20:36:12 -04:00
2024-04-03 14:44:18 -04:00
2024-02-13 21:59:27 -05:00
2024-01-01 11:47:07 -05:00
2024-01-21 13:27:10 -05:00
2024-01-01 11:47:42 -05:00
2023-11-01 21:11:08 -04:00
2023-11-01 21:11:05 -04:00
2024-03-13 21:22:25 -04:00
2023-11-01 21:11:05 -04:00
2024-04-03 14:46:51 -04:00
2024-04-03 14:44:18 -04:00
2024-03-31 20:36:12 -04:00
2024-04-09 00:53:14 -04:00
2024-04-03 14:46:51 -04:00
2024-01-21 13:27:11 -05:00
2024-03-31 20:36:11 -04:00
2024-01-21 06:01:45 -05:00
2024-01-01 11:47:39 -05:00
2024-04-03 14:44:18 -04:00
2024-01-01 11:47:38 -05:00
2024-03-10 15:34:08 -04:00
2023-10-22 17:10:10 -04:00
2024-01-21 13:27:10 -05:00
2024-01-21 13:27:10 -05:00
2024-01-21 13:27:10 -05:00
2024-03-31 20:36:11 -04:00
2024-01-05 23:24:20 -05:00
2024-04-03 14:46:51 -04:00
2024-01-01 11:47:07 -05:00
2024-01-01 11:47:07 -05:00
2024-02-10 17:37:34 -05:00
2024-01-01 11:47:42 -05:00
2023-10-22 17:10:04 -04:00
2024-01-01 11:47:38 -05:00
2024-01-01 11:47:40 -05:00
2024-01-21 13:27:10 -05:00
2024-04-04 16:52:42 -04:00
2024-04-03 14:46:51 -04:00
2024-03-10 15:34:08 -04:00
2024-03-13 21:22:24 -04:00
2024-03-31 20:36:11 -04:00
2024-03-31 20:36:11 -04:00
2024-03-31 20:36:11 -04:00
2024-02-25 12:05:25 +01:00
2024-04-03 14:46:51 -04:00
2024-01-05 23:24:21 -05:00
2024-04-04 16:56:44 -04:00
2024-01-01 11:47:38 -05:00
2024-04-04 16:56:44 -04:00
2024-04-05 16:21:18 -04:00
2024-03-13 18:39:13 -04:00
2024-03-13 21:22:20 -04:00
2024-03-13 21:22:20 -04:00
2024-03-13 21:38:01 -04:00
2024-03-13 21:38:03 -04:00
2023-10-31 12:18:38 -04:00
2024-03-13 21:22:25 -04:00
2024-04-03 14:44:18 -04:00
2024-04-06 13:50:26 -04:00
2023-10-22 17:10:13 -04:00
2024-01-01 11:47:42 -05:00
2024-01-21 13:27:10 -05:00
2024-03-13 21:22:26 -04:00
2023-11-01 21:11:08 -04:00