Kernel panic using Vagrant synced folders via NFS beginning with macOS 15.4

We are seeing a kernel panic in nfsd when using vagrant synced folders. The issue started with macOS 15.4 and still occurs with macOS 15.5. It’s 100% reproducible when bringing up a new vagrant environment. The kernel panic does not occur when using smb instead of nfs.

https://developer.hashicorp.com/vagrant/docs/synced-folders/nfs

Other people have reported a similar issue when using nfs with Docker.

https://github.com/docker/for-mac/issues/7664

I filed this under FB17853906.

I spoke with an engineer at the Apps & Services WWDC lab and they recommended I post here to make sure the bug gets looked at and routed to the correct team.

Answered by DTS Engineer in 842609022

I filed this under FB17853906.

Perfect, thank you.

I spoke with an engineer at the Apps & Services WWDC lab and they recommended I post here to make sure the bug gets looked at and routed to the correct team

Excellent advice and I hope the lab was helpful! In terms of the bug, I've verified the routing and, after taking a look at this myself, I suspect this is duplicate of an issue we're already investigating. I can't comment on future plans or release schedules, but fixing this is definitely a priority.

One comment here:

The kernel panic does not occur when using smb instead of nfs.

The underlying issue here is tied of the management of mbuf's in the kernel, not nfs itself, and I believe smb is very likely to experience a similar panic. I wouldn't expect it to occur under the same circumstances (the implementation are just to different), but I believe the panic itself can occur.

__
Kevin Elliott
DTS Engineer, CoreOS/Hardware

Accepted Answer

I filed this under FB17853906.

Perfect, thank you.

I spoke with an engineer at the Apps & Services WWDC lab and they recommended I post here to make sure the bug gets looked at and routed to the correct team

Excellent advice and I hope the lab was helpful! In terms of the bug, I've verified the routing and, after taking a look at this myself, I suspect this is duplicate of an issue we're already investigating. I can't comment on future plans or release schedules, but fixing this is definitely a priority.

One comment here:

The kernel panic does not occur when using smb instead of nfs.

The underlying issue here is tied of the management of mbuf's in the kernel, not nfs itself, and I believe smb is very likely to experience a similar panic. I wouldn't expect it to occur under the same circumstances (the implementation are just to different), but I believe the panic itself can occur.

__
Kevin Elliott
DTS Engineer, CoreOS/Hardware

Kernel panic using Vagrant synced folders via NFS beginning with macOS 15.4
 
 
Q