Affects 1.18.10. There are two possible results to this: 1. The mob appears to take damage, but does not take any damage. 2. You are unable to hit the mob at all (the mob does not even appear to be damaged). This seems to happen with lower and higher levels of Strength respectively.
I think the issue has been resolved.
My friend experienced this same error in 1.17.0. Additionally, I experienced a similar problem when trying to reproduce this bug in 1.17.2 where I would be teleported outside the lava. However, I was not teleported above, but to a location in the vicinity. It is likely related, though.
No; I can confirm the realm link functions properly now.
Still occurs as of 1.20.4