mariadb/storage
Thirunarayanan Balathandayuthapani c7f8cfc9e7 MDEV-27700 ASAN: Heap_use_after_free in btr_search_drop_page_hash_index()
Reason:
=======
Race condition between btr_search_drop_hash_index() and
btr_search_lazy_free(). One thread does resizing of buffer pool
and clears the ahi on all pages in the buffer pool, frees the
index and table while removing the last reference. At the same time,
other thread access index->heap in btr_search_drop_hash_index().

Solution:
=========
Acquire the respective ahi latch before checking index->freed()

btr_search_drop_page_hash_index(): Added new parameter to indicate
that drop ahi entries only if the index is marked as freed

btr_search_check_marked_free_index(): Acquire all ahi latches and
return true if the index was freed
2022-08-22 16:29:46 +05:30
..
archive MDEV-17556 Assertion `bitmap_is_set_all(&table->s->all_set)' failed 2021-01-27 00:50:55 +10:00
blackhole Merge branch '10.2' into 10.3 2020-10-30 17:23:53 +01:00
cassandra Merge 10.2 into 10.3 2021-11-29 10:33:06 +02:00
connect Merge remote-tracking branch 'connect/10.3' into 10.3 2022-08-02 10:23:53 +02:00
csv MDEV-17556 Assertion `bitmap_is_set_all(&table->s->all_set)' failed 2021-01-27 00:50:55 +10:00
example MDEV-27730 Add PLUGIN_VAR_DEPRECATED flag to plugin variables 2022-02-18 13:10:20 +09:00
federated MDEV-17556 Assertion `bitmap_is_set_all(&table->s->all_set)' failed 2021-01-27 00:50:55 +10:00
federatedx Merge 10.2 into 10.3 2022-04-06 08:06:35 +03:00
heap Fix clang -Wunused-but-set-variable in unit tests 2022-07-26 08:18:36 +03:00
innobase MDEV-27700 ASAN: Heap_use_after_free in btr_search_drop_page_hash_index() 2022-08-22 16:29:46 +05:30
maria Fix clang -Wunused-but-set-variable in unit tests 2022-07-26 08:18:36 +03:00
mroonga MDEV-21108 Add option for setting install paths of groonga 2021-12-02 16:40:29 +02:00
myisam Merge branch '10.2' into 10.3 2021-11-12 00:08:53 +01:00
myisammrg Merge branch '10.2' into 10.3 2020-08-03 13:41:29 +02:00
oqgraph Merge 10.2 into 10.3 2021-11-29 10:33:06 +02:00
perfschema Merge 10.2 into 10.3 2022-03-29 09:53:15 +03:00
rocksdb MDEV-28537 Unused or useless InnoDB counters num_index_pages_written, num_non_index_pages_written 2022-05-16 13:41:53 +03:00
sequence MDEV-17556 Assertion `bitmap_is_set_all(&table->s->all_set)' failed 2021-01-27 00:50:55 +10:00
sphinx MDEV-17556 Assertion `bitmap_is_set_all(&table->s->all_set)' failed 2021-01-27 00:50:55 +10:00
spider MDEV-29008 Server crash or assertion `field' failed in spider_db_open_item_ident / group by handler 2022-08-16 16:36:44 +09:00
test_sql_discovery Merge 10.2 into 10.3 2021-10-28 07:50:05 +03:00
tokudb MDEV-21445 Strange/inconsistent behavior of IN condition when mixing numbers and strings 2022-07-06 15:42:21 +04:00