This crash is 100% reproductible in my Photoshop 23.1.0, running on Windows 11.
Here are the steps to reproduce:
1. Create a new document and a new layer in that document
2. Click the magnifier button in the upper right ("Search for tools, help and more")
3. Type "rename" in the search box
4. Select the "Rename layer" option that appears
5. Enter a name for the layer and hit Enter on the keyboard
6. Observe the crash
None of the suggestions from this page help with this issue: https://helpx.adobe.com/photoshop/kb/troubleshoot-crash-or-freeze.html?trackingid=W2T7JV6Q&mv=in-pro...
I know there are easier ways to rename a layer, but still, I thought it would be good to let you know of this crash.