Ventura finder crashes when opening share that has com.apple.finderinfo extended attribute
Recently updated my MPB and Mac mini used as a home server to Ventura. Noticed an interesting problem after a few days whereby when File Sharing is enabled and you try and access a hard drive on the server that has an extended attribute on it, specifically com.apple.finderinfo which seems to be placed when a drive has a custom icon on it, either finder on the client machine will hang and crash, and/or samba on the server will hang and crash entirely. For example most LaCie drives come with a nice custom icon instead of the default external drive icon and I was unable to access this drive over the network, however all other drives were perfectly accessible. After aligning permissions on the drive between the ones I could access and the one I could not, I narrowed this down to the only difference being the extended attribute, confirmed by running ls -le@ on the /Volumes path. After removing this attribute the drive custom icon disappears and reverts to the standard yellow icon. The disk is then accessible over the network. Put the icon back, copy/paste it into the Get Info panel, and the extended attribute returns. Try access the drive over the network, and Finder just hangs with Loading... in the Finder window. Finder then has to be restarted on the client and the File Sharing service has to be restarted on the server. When this happens, all other file sharing capability stops. No other drives are accessible.
This has only started happening since the update to Ventura 13.1. Previously on Monterey with Catalina on the server everything was working fine. Im not sure if it's the client or the server that is the problem.
Issue can be reproduced every time.
Enable file sharing, connect to the machine from another Mac, and try and open a hard disk that has a custom icon.
MacBook Pro 14″, macOS 13.2