FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

FreeBSD -- NFSv4 server remote code execution via stateid type confusion

Affected packages
15.1 <= FreeBSD-kernel < 15.1_7
14.5 <= FreeBSD-kernel < 14.5_4
14.4 <= FreeBSD-kernel < 14.4_13

Details

VuXML ID 07d484a7-e311-11f1-a3e1-bc241121aa0a
Discovery 2026-11-17
Entry 2026-11-18

Problem Description:

When processing a DELEGRETURN operation, the NFSv4 server did not verify that the supplied stateid referred to a delegation. A client could supply an open or lock stateid instead, causing the server to free that state while it was still referenced, resulting in a use-after-free.

Impact:

A remote NFSv4 client which is able to open a file on an exported file system can corrupt kernel memory on the server, causing a kernel panic or potentially executing arbitrary code in the kernel.

References

CVE Name CVE-2026-101317
FreeBSD Advisory SA-26:79.nfs