Edit #3: (out of order for a reason) - this may be our issue and our fix: https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2012230
It appears it was backported to Lunar Lobster on June 13th and should be present on any up to date system but we're still seeing crashes in the last 48 hours, so I'm still trying to ascertain if we have the "fixed" version mutter
Edit #4: (out of order but that's OK) - if our bug is indeed the above link, it was fixed in Mantic Minotaur first (mutter 44.2-3) as of July 2nd and is triaged (acknowledged) for Lunar Lobster but no backported fix has been built yet. Assuming (and this is a bad assumption but let's go with it for a moment) both Lunar & Mantic started on Mutter 44.2-0, and they got the fix into Mantic on 44.2-3, then we should see Lunar go greater than 44.2-0 for the fix, and checking this:
apt-cache policy mutter
I see I am still on 44.2-0, so I would reckon there is no fix made generally available just yet for us Lunar users.
Edit #1: I tried to comment and not answer, but I need 50 rep to comment and no rep I guess to answer, because #reasons. So I apologize, this is not an answer.
Edit #2: July 3rd (2 weeks later) - three desktops (two of mine, and my oldest's) are now experiencing this wayland-gnome crash nearly daily. They are all running Lunar Lobster of various cleanliness & kernels, but all are AMD cpus (all different families but all AMD) and all AMD gpus (all different families but all AMD) and are now all crashing nearly daily. Tailing syslog shows a different binary fingered on the gnome segfault, it's been chrome and libre office (soffice.bin) for instance, so I don't know what is the root cause here.
On my work PC (the cleanest, most stock Lunar Lobster) I switched to xorg and haven't had a crash since (~7 days clean). On my personal PC I switched to xorg and haven't had a crash in 3 days, not enough time to really draw hard conclusions that the crash is isolated to Wayland, but it's something.
Original post:
I have a ryzen 1700, and an amd gpu (discrete), and I'm having a similar issue in 23.04 the last few weeks. syslog has this error same as you (sans unique bits):
kernel gnome-shell segfault at ffffffffffffff48 error 5 in libmutter-clutter-12.so.0.0.0 likely on CPU core socket
but after about ~5 seconds my desktop "recovers" by exiting everything and returning me to the login screen. Tailing syslog I can't tell if the crash report was successfully sent, so I have no idea if they know about this or not. My googles showed only your post here with anything to do with this.
Prior to the crash the only thing that stands out is chrome + wayland melting down -
google-chrome.desktop ERROR:wayland_frame_manager.cc(521) The server has buggy presentation feedback. Discarding all presentation feedback requests in all frames except the last 3.