Thanks for reporting! We constantly test updates from older distros and MariaDB versions in our Salsa-CI pipeline, and it does not show the symptoms your system had.
Would it be possible for you to provide exact steps on how to reproduce this in a Docker image or virtual machine? If it only happens on one machine and cannot be reproduced, we can't help much. Therefore steps to reproduce are very important.