CVE-2025-15547 PUBLISHED

Jail escape by a privileged user via nullfs

Assigner: freebsd
Reserved: 26.01.2026 Published: 09.03.2026 Updated: 09.03.2026

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.

Product Status

Vendor FreeBSD
Product FreeBSD
Versions Default: unknown
  • affected from 14.3-RELEASE to p8 (excl.)
  • affected from 13.5-RELEASE to p9 (excl.)

References

Problem Types

  • CWE-269 Improper Privilege Management CWE