FTR, this bug was discovered by PMDK test and reported here: https://github.com/pmem/pmdk/issues/4510