Bug 242369

Summary: tmpfs + union_fs panic: lockmgr_xlock_hard: recursing on non recursive lockmgr
Product: Base System Reporter: mr.xanto
Component: kernAssignee: freebsd-fs (Nobody) <fs>
Status: New ---    
Severity: Affects Only Me Keywords: panic
Priority: ---    
Version: 12.1-RELEASE   
Hardware: Any   
OS: Any   
Description Flags
panic screen none

Description mr.xanto 2019-12-02 14:00:59 UTC
Created attachment 209607 [details]
panic screen

12.1 Release panic with mounted unionfs with tmpfs.

How-to repeat:
1) Boot with FreeBSD-12.1-RELEASE-amd64-bootonly.iso in live-cd mode.
2) mount -t tmpfs -o rw,size=512M tmpfs /net
3) mount_unionfs /net/ /usr/
4) mount_unionfs /net/ /var/
5) mount_unionfs /net/ /tmp/
6) dhclient em0

There is record of the panic: https://yadi.sk/i/O7NLAgjwVN61oA