After placing a command block on the ground, then running the command /kill @e in chat, all entities including myself are killed, when I respawn I am unable to open the right click menu of any command blocks, I can still place command blocks but I am unable to open their menu.
This appears to only happen for command blocks as I can still open the menus of crafting tables, furnaces, brewing stands etc.
If I leave the game and rejoin I am able to open the command block menu again. This includes in singleplayer saving and quitting, and multiplayer rejoining the server
Linked issues
Comments

I also experienced a strange bug when I tried to rejoin the game one time while reproducing this bug, my player had no collisions with anything and I just slowly fell through the floor as if I had a very low gravity. I was able to fly around and fly through blocks as if I was in noclip with a tiny bit of gravity.
Unfortunately I have been unable to reproduce this bug.
Again, rejoining made this bug and the one I was reproducing go away, despite this bug arising from trying to rejoin.