I don't think preauth RCE is an expected risk of setting up NFS, actually.
1. there are some servers where an NFS export is provided to some users basically "read only" and where the security model is "if you're in the same network you can access this data; we're all friends but I'll keep the crown jewels in that other walled off network away from y'all." In that case, using NFS V3 style UID access management is good enough. This (for those sorts of users) is an "audit the config, update it to use only NFS versions that aren't subject to this and disable the newer versions... probably also update the "risk register and put a "we'll never actually do this" story in place to update this to some object store / proper data warehouse style system.
2. there are systems such as what you've described where there's users with NFS shared homes. In those situations, hopefully, they're using some sort of "Appliance" system such as a netapp, where things like HA and such are managed by the vendor. In those cases, hopefully, they're not relying on kernel NFS services, and again this is not an issue.
3. there are systems such as the one above, but they're actually using linux. In those cases, hopefully, they're using NFS-ganesha (a userland NFS server) because it's got a couple nice big-iron management style features. Again, this avoids this V4.1+ situation.
4. people stuck in amber, who are doing as you suggest (NFS kernel exports of things that require real user identities) -- those situations are actually kinda rare, and hopefully those people who are actually doing this know what they're doing, or are so YOLO that they don't care.Ooo now, thats a good question. I used to work in VFX, and NFS was/is the bread and butter of file IO. We used to turn off v4 because it was slower over the LAN. If we were doing long disntance we'd use aspera (or what ever opensource version we could get our hands on) failing that we'd ship LTO5/6 tapes.
From a performance point of view, I know that v4 could do clustered servers natively. As in "HA" for NFS servers (that did require clustered filesystem though....)
the problem being was that you needed to fiddle about with auth to make it work, which from my understanding caused performance issues. But, that was in 2014, and we are many years ahead in CPU and memory speed now.
Then, you need to add volumes to /etc/exports with allowed hostnames (with lots of parameters for access control).
I'm assuming that anything disallowed by /etc/exports is not allowed, this exploit included.
https://www.linuxjournal.com/content/encrypting-nfsv4-stunne...