[DragonFlyBSD - Bug #3386] panic when umounting devfs inside jail

liweitianux bugtracker-admin at leaf.dragonflybsd.org
Sun Nov 1 04:03:35 PST 2026


Issue #3386 has been updated by liweitianux.


Some steps in the commit message got lost after an amend...

The full panic reproduce steps are:

<pre>
# sysctl jail.defaults.vfs_mount_devfs=1
# mount_devfs /jail/dev
# jail /jail test 127.0.0.2 /bin/sh
jail# umount /dev
</pre>

----------------------------------------
Bug #3386: panic when umounting devfs inside jail
http://bugs.dragonflybsd.org/issues/3386#change-14930

* Author: liweitianux
* Status: Resolved
* Priority: Normal
* Target version: 6.6
* Start date: 2025-08-28
----------------------------------------
tuxillo reported this panic on 2025-03-17:

<pre>
mountpoint panic with 1 spinlocks held
panic: page fault
cpuid = 0
Trace beginning at frame 0xfffff806c2d854c8
trap_fatal() at trap_fatal+0x301 0xffffffff80be6281
trap_fatal() at trap_fatal+0x301 0xffffffff80be6281
trap_pfault() at trap_pfault+0x431 0xffffffff80be6861
trap() at trap+0x17c 0xffffffff80be6dcc
calltrap() at calltrap+0x9 0xffffffff80baa4ba
</pre>

tuxillo› just mounted devfs inside a jail, tried to unmount it, boom

---Files--------------------------------
jail-unmount-userptr-master.patch (1.03 KB)


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account


More information about the Bugs mailing list