Description
By default, jailed processes cannot mount filesystems, including nullfs(4). However, the allow.mount.nullfs option enables mounting nullfs filesystems, subject to privilege checks.
If a privileged user within a jail is able to nullfs-mount directories, a limitation of the kernel's path lookup logic allows that user to escape the jail's chroot, yielding access to the full filesystem of the host or parent jail.
In a jail configured to allow nullfs(4) mounts from within the jail, the jailed root user can escape the jail's filesystem root.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| FreeBSD | FreeBSD | 14.3-RELEASE – < p8, 13.5-RELEASE – < p9 | p8 |
Advisories 1
- WID-SEC-2026-0239 FreeBSD Project FreeBSD OS (jail): Schwachstelle ermöglicht Erlangen von Administratorrechten BSI CERT-Bund (WID) · Mar 9, 2026