This issue caught by a random test failing in CI run.
misa CSR value is different for various Ibex configs. So, the override should not hardcode all the bits.
I have updated the mask to ignore some of the bits depending on specific Ibex config.