[ 50.4542625] panic: LOCKDEBUG: Mutex error: mutex_vector_enter,516: locking against myself [ 50.4542625] cpu0: Begin traceback... [ 50.4731391] vpanic() at netbsd:vpanic+0x282 sys/kern/subr_prf.c:292 [ 50.5131372] panic() at netbsd:panic+0x9e sys/kern/subr_prf.c:1088 [ 50.5531366] lockdebug_abort1() at netbsd:lockdebug_abort1+0x150 sys/kern/subr_lockdebug.c:388 [ 50.5731365] lockdebug_wantlock() at netbsd:lockdebug_wantlock+0x336 sys/kern/subr_lockdebug.c:489 [ 50.6131383] mutex_enter() at netbsd:mutex_enter+0x4e5 sys/kern/kern_mutex.c:516 [ 50.6431378] chkdq1() at netbsd:chkdq1+0x18f sys/ufs/ufs/ufs_quota1.c:107 [ 50.6731372] chkdq() at netbsd:chkdq+0xe2 sys/ufs/ufs/ufs_quota.c:141 [ 50.7031366] ffs_alloc() at netbsd:ffs_alloc+0x1cf sys/ufs/ffs/ffs_alloc.c:247 [ 50.7331374] ffs_balloc() at netbsd:ffs_balloc+0x1874 ffs_balloc_ufs2 sys/ufs/ffs/ffs_balloc.c:767 [inline] [ 50.7331374] ffs_balloc() at netbsd:ffs_balloc+0x1874 sys/ufs/ffs/ffs_balloc.c:99 [ 50.7631373] ufs_gop_alloc() at netbsd:ufs_gop_alloc+0x13f sys/ufs/ufs/ufs_vnops.c:2333 [ 50.7931406] ufs_balloc_range() at netbsd:ufs_balloc_range+0x29a sys/ufs/ufs/ufs_inode.c:258 [ 50.8231390] ffs_write() at netbsd:ffs_write+0x842 sys/ufs/ufs/ufs_readwrite.c:393 [ 50.8531386] layer_bypass() at netbsd:layer_bypass+0x376 sys/miscfs/genfs/layer_vnops.c:294 [ 50.8831392] VOP_WRITE() at netbsd:VOP_WRITE+0x427 sys/kern/vnode_if.c:824 [ 50.9031383] dq1sync() at netbsd:dq1sync+0x275 sys/ufs/ufs/ufs_quota1.c:872 [ 50.9331417] q1sync() at netbsd:q1sync+0x261 sys/ufs/ufs/ufs_quota1.c:787 [ 50.9531404] qsync() at netbsd:qsync+0x7e sys/ufs/ufs/ufs_quota.c:956 [ 50.9831395] ffs_sync() at netbsd:ffs_sync+0x44f sys/ufs/ffs/ffs_vfsops.c:2039 [ 51.0031421] VFS_SYNC() at netbsd:VFS_SYNC+0x74 sys/kern/vfs_subr.c:1587 [ 51.0331388] sched_sync() at netbsd:sched_sync+0x240 sys/kern/vfs_subr.c:871 [ 51.0431382] cpu0: End traceback... [ 51.0431382] fatal breakpoint trap in supervisor mode [ 51.0535481] trap type 1 code 0 rip 0xffffffff8023241d cs 0x8 rflags 0x286 cr2 0x720a235eb0d8 ilevel 0 rsp 0xffffbc8248211da0 [ 51.0644891] curlwp 0xffffbc80129a42c0 pid 0.195 lowest kstack 0xffffbc824820b2c0 Stopped in pid 0.195 (system) at netbsd:breakpoint+0x5: leave ? breakpoint() at netbsd:breakpoint+0x5 db_panic() at netbsd:db_panic+0x105 sys/ddb/db_panic.c:69 vpanic() at netbsd:vpanic+0x282 sys/kern/subr_prf.c:292 panic() at netbsd:panic+0x9e sys/kern/subr_prf.c:1088 lockdebug_abort1() at netbsd:lockdebug_abort1+0x150 sys/kern/subr_lockdebug.c:388 lockdebug_wantlock() at netbsd:lockdebug_wantlock+0x336 sys/kern/subr_lockdebug.c:489 mutex_enter() at netbsd:mutex_enter+0x4e5 sys/kern/kern_mutex.c:516 chkdq1() at netbsd:chkdq1+0x18f sys/ufs/ufs/ufs_quota1.c:107 chkdq() at netbsd:chkdq+0xe2 sys/ufs/ufs/ufs_quota.c:141 ffs_alloc() at netbsd:ffs_alloc+0x1cf sys/ufs/ffs/ffs_alloc.c:247 ffs_balloc() at netbsd:ffs_balloc+0x1874 ffs_balloc_ufs2 sys/ufs/ffs/ffs_balloc.c:767 [inline] ffs_balloc() at netbsd:ffs_balloc+0x1874 sys/ufs/ffs/ffs_balloc.c:99 ufs_gop_alloc() at netbsd:ufs_gop_alloc+0x13f sys/ufs/ufs/ufs_vnops.c:2333 ufs_balloc_range() at netbsd:ufs_balloc_range+0x29a sys/ufs/ufs/ufs_inode.c:258 ffs_write() at netbsd:ffs_write+0x842 sys/ufs/ufs/ufs_readwrite.c:393 layer_bypass() at netbsd:layer_bypass+0x376 sys/miscfs/genfs/layer_vnops.c:294 VOP_WRITE() at netbsd:VOP_WRITE+0x427 sys/kern/vnode_if.c:824 dq1sync() at netbsd:dq1sync+0x275 sys/ufs/ufs/ufs_quota1.c:872 q1sync() at netbsd:q1sync+0x261 sys/ufs/ufs/ufs_quota1.c:787 qsync() at netbsd:qsync+0x7e sys/ufs/ufs/ufs_quota.c:956 ffs_sync() at netbsd:ffs_sync+0x44f sys/ufs/ffs/ffs_vfsops.c:2039 VFS_SYNC() at netbsd:VFS_SYNC+0x74 sys/kern/vfs_subr.c:1587 sched_sync() at netbsd:sched_sync+0x240 sys/kern/vfs_subr.c:871 Panic string: LOCKDEBUG: Mutex error: mutex_vector_enter,516: locking against myself PID LID S CPU FLAGS STRUCT LWP * NAME WAIT 1737 1737 2 1 0 ffffbc80126e8740 syz-executor.1 1631 1631 3 1 0 ffffbc80129a2280 syz-executor.2 tstile 942 685 3 1 180 ffffbc8013dd4340 syz-execprog parked 942 >1204 7 1 140 ffffbc8013d7d700 syz-execprog 942 449 3 1 180 ffffbc8013d18200 syz-execprog parked 942 829 3 1 180 ffffbc8013d14a40 syz-execprog parked 942 1113 3 1 180 ffffbc8013d14600 syz-execprog parked 942 990 3 1 180 ffffbc8013d141c0 syz-execprog parked 942 1239 3 0 180 ffffbc80133eab00 syz-execprog parked 942 1120 3 0 180 ffffbc8012ad1500 syz-execprog parked 942 1128 3 1 180 ffffbc80133ea280 syz-execprog parked 942 929 3 1 10000040 ffffbc80134b1180 syz-execprog xclow 942 984 2 1 100 ffffbc80126e8b80 syz-execprog 942 942 3 0 180 ffffbc8012b77100 syz-execprog parked 1237 1237 3 1 180 ffffbc8012aa2900 sshd select 1222 1222 3 1 180 ffffbc801347c100 getty nanoslp 1082 1082 3 1 180 ffffbc80126ec480 getty nanoslp 1184 1184 3 0 180 ffffbc80134989c0 getty nanoslp 1193 1193 3 0 1c0 ffffbc80134b15c0 getty ttyraw 1102 1102 3 0 180 ffffbc80133b6600 sshd select 1088 1088 3 0 180 ffffbc8012d4eb80 powerd kqueue 700 700 3 0 180 ffffbc8013431b40 syslogd kqueue 746 746 3 0 180 ffffbc8012c32b00 dhcpcd poll 747 747 3 1 180 ffffbc8012cc6500 dhcpcd poll 742 742 3 0 180 ffffbc8012c326c0 dhcpcd poll 598 598 3 1 180 ffffbc8012c94780 dhcpcd poll 292 292 3 0 180 ffffbc8012db9900 dhcpcd poll 485 485 3 1 180 ffffbc8012db94c0 dhcpcd poll 291 291 3 0 180 ffffbc8012db9080 dhcpcd poll 1 1 3 0 180 ffffbc8012878180 init wait 0 987 3 0 200 ffffbc80129a26c0 physiod physiod 0 196 3 0 200 ffffbc80129a4700 pooldrain pooldrain 0 > 195 7 0 240 ffffbc80129a42c0 ioflush 0 194 3 1 200 ffffbc80129a2b00 pgdaemon pgdaemon 0 167 3 1 200 ffffbc8012962ac0 usb7 usbevt 0 172 3 1 200 ffffbc8012962680 usb6 usbevt 0 170 3 1 200 ffffbc8012962240 usb5 usbevt 0 168 3 1 200 ffffbc8012914a80 usb4 usbevt 0 166 3 1 200 ffffbc8012914640 usb3 usbevt 0 165 3 1 200 ffffbc8012914200 usb2 usbevt 0 31 3 0 200 ffffbc80128daa40 usb1 usbevt 0 63 3 1 200 ffffbc80128da600 usb0 usbevt 0 126 3 1 200 ffffbc80128da1c0 usbtask-dr usbtsk 0 125 3 1 200 ffffbc8012878a00 usbtask-hc usbtsk 0 124 3 0 200 ffffbc8010d77b00 swwreboot swwreboot 0 123 3 0 200 ffffbc80128785c0 npfgc0 npfgcw 0 122 3 1 200 ffffbc801286b9c0 rt_free rt_free 0 121 3 1 200 ffffbc801286b580 unpgc unpgc 0 120 3 0 200 ffffbc801286b140 key_timehandler key_timehandler 0 119 3 1 200 ffffbc801271c980 icmp6_wqinput/1 icmp6_wqinput 0 118 3 0 200 ffffbc801271c540 icmp6_wqinput/0 icmp6_wqinput 0 117 3 1 200 ffffbc801271c100 nd6_timer nd6_timer 0 116 3 1 200 ffffbc8012713940 carp6_wqinput/1 carp6_wqinput 0 115 3 0 200 ffffbc8012713500 carp6_wqinput/0 carp6_wqinput 0 114 3 1 200 ffffbc80127130c0 carp_wqinput/1 carp_wqinput 0 113 3 0 200 ffffbc8012705900 carp_wqinput/0 carp_wqinput 0 112 3 1 200 ffffbc80127054c0 icmp_wqinput/1 icmp_wqinput 0 111 3 0 200 ffffbc8012705080 icmp_wqinput/0 icmp_wqinput 0 110 3 1 200 ffffbc80126ec040 rt_timer rt_timer 0 109 3 0 200 ffffbc80126ec8c0 vmem_rehash vmem_rehash 0 100 3 0 200 ffffbc80126e8300 entbutler entropy 0 99 3 1 200 ffffbc80120beb40 viomb balloon 0 98 3 1 200 ffffbc80120be700 vioif0_txrx/1 vioif0_txrx 0 97 3 0 200 ffffbc80120be2c0 vioif0_txrx/0 vioif0_txrx 0 30 3 0 200 ffffbc8010d776c0 scsibus0 sccomp 0 29 3 0 200 ffffbc8010d77280 pms0 pmsreset 0 28 3 1 200 ffffbc8010cbcac0 xcall/1 xcall 0 27 1 1 200 ffffbc8010cbc680 softser/1 0 26 1 1 200 ffffbc8010cbc240 softclk/1 0 25 1 1 200 ffffbc8010cb9a80 softbio/1 0 24 1 1 200 ffffbc8010cb9640 softnet/1 0 23 1 1 201 ffffbc8010cb9200 idle/1 0 22 3 0 200 ffffbc800f755a40 lnxsyswq lnxsyswq 0 21 3 0 200 ffffbc800f755600 lnxubdwq lnxubdwq 0 20 3 0 200 ffffbc800f7551c0 lnxpwrwq lnxpwrwq 0 19 3 0 200 ffffbc800f754a00 lnxlngwq lnxlngwq 0 18 3 0 200 ffffbc800f7545c0 lnxhipwq lnxhipwq 0 17 3 0 200 ffffbc800f754180 lnxrcugc lnxrcugc 0 16 3 0 200 ffffbc800f74e9c0 sysmon smtaskq 0 15 3 0 200 ffffbc800f74e580 pmfsuspend pmfsuspend 0 14 3 0 200 ffffbc800f74e140 pmfevent pmfevent 0 13 3 0 200 ffffbc800f74a980 sopendfree sopendfr 0 12 3 0 200 ffffbc800f74a540 ifwdog ifwdog 0 11 3 0 200 ffffbc800f74a100 iflnkst iflnkst 0 10 3 0 200 ffffbc800f73d940 nfssilly nfssilly 0 9 3 0 200 ffffbc800f73d500 vdrain vdrain 0 8 3 1 200 ffffbc800f73d0c0 modunload mod_unld 0 7 2 0 200 ffffbc800f733900 xcall/0 0 6 1 0 200 ffffbc800f7334c0 softser/0 0 5 1 0 200 ffffbc800f733080 softclk/0 0 4 1 0 200 ffffbc800f7318c0 softbio/0 0 3 1 0 200 ffffbc800f731480 softnet/0 0 2 1 0 201 ffffbc800f731040 idle/0 0 0 3 0 200 ffffffff83343440 swapper uvm [Locks tracked through LWPs] ****** LWP 747.747 (dhcpcd) @ 0xffffbc8012cc6500, l_stat=3 *** Locks held: none *** Locks wanted: * Lock 0 (initialized at netbsd:module_hook_init+0x1c sys/kern/kern_module_hook.c:132) lock address : netbsd:module_hook type : sleep/adaptive initialized : netbsd:module_hook_init+0x1c shared holds : 0 exclusive: 0 shares wanted: 0 exclusive: 0 relevant cpu : 1 last held: 0 relevant lwp : 0xffffbc8012cc6500 last held: 000000000000000000 last locked : 0 unlocked* : 0 owner field : 000000000000000000 wait/spin: 0/0 Turnstile: no active turnstile for this lock. ****** LWP 742.742 (dhcpcd) @ 0xffffbc8012c326c0, l_stat=3 *** Locks held: none *** Locks wanted: * Lock 0 (initialized at netbsd:module_hook_init+0x1c sys/kern/kern_module_hook.c:132) lock address : netbsd:module_hook type : sleep/adaptive initialized : netbsd:module_hook_init+0x1c shared holds : 0 exclusive: 0 shares wanted: 0 exclusive: 0 relevant cpu : 0 last held: 0 relevant lwp : 0xffffbc8012c326c0 last held: 000000000000000000 last locked : 0 unlocked* : 0 owner field : 000000000000000000 wait/spin: 0/0 Turnstile: no active turnstile for this lock. ****** LWP 485.485 (dhcpcd) @ 0xffffbc8012db94c0, l_stat=3 *** Locks held: none *** Locks wanted: * Lock 0 (initialized at netbsd:module_hook_init+0x1c sys/kern/kern_module_hook.c:132) lock address : netbsd:module_hook type : sleep/adaptive initialized : netbsd:module_hook_init+0x1c shared holds : 0 exclusive: 0 shares wanted: 0 exclusive: 0 relevant cpu : 1 last held: 0 relevant lwp : 0xffffbc8012db94c0 last held: 000000000000000000 last locked : 0 unlocked* : 0 owner field : 000000000000000000 wait/spin: 0/0 Turnstile: no active turnstile for this lock. ****** LWP 291.291 (dhcpcd) @ 0xffffbc8012db9080, l_stat=3 *** Locks held: none *** Locks wanted: * Lock 0 (initialized at netbsd:module_hook_init+0x1c sys/kern/kern_module_hook.c:132) lock address : netbsd:module_hook type : sleep/adaptive initialized : netbsd:module_hook_init+0x1c shared holds : 0 exclusive: 0 shares wanted: 0 exclusive: 0 relevant cpu : 0 last held: 0 relevant lwp : 0xffffbc8012db9080 last held: 000000000000000000 last locked : 0 unlocked* : 0 owner field : 000000000000000000 wait/spin: 0/0 Turnstile: no active turnstile for this lock. ****** LWP 0.195 (ioflush) @ 0xffffbc80129a42c0, l_stat=7 *** Locks held: * Lock 0 (initialized at netbsd:vcache_alloc+0x3e sys/kern/vfs_vnode.c:1376) lock address : ffffbc8013cca700 type : sleep/adaptive initialized : netbsd:vcache_alloc+0x3e shared holds : 0 exclusive: 1 shares wanted: 0 exclusive: 0 relevant cpu : 0 last held: 0 relevant lwp : 0xffffbc80129a42c0 last held: 0xffffbc80129a42c0 last locked* : netbsd:genfs_lock+0x160 unlocked : netbsd:genfs_unlock+0x2a owner/count : 0xffffbc80129a42c0 flags : 0x0000000000000004 Turnstile: no active turnstile for this lock. * Lock 1 (initialized at netbsd:dqget+0x224 sys/ufs/ufs/ufs_quota.c:852) lock address : ffffbc8013d74a00 type : sleep/adaptive initialized : netbsd:dqget+0x224 shared holds : 0 exclusive: 1 shares wanted: 0 exclusive: 1 relevant cpu : 0 last held: 0 relevant lwp : 0xffffbc80129a42c0 last held: 0xffffbc80129a42c0 last locked* : netbsd:q1sync+0x1c5 unlocked : netbsd:dqrele.part.0+0x150 owner field : 0xffffbc80129a42c0 wait/spin: 1/0 Turnstile: => 0 waiting readers: => 1 waiting writers: 0xffffbc80129a2280 * Lock 2 (initialized at netbsd:vcache_alloc+0x3e sys/kern/vfs_vnode.c:1376) lock address : ffffbc80134c34c0 type : sleep/adaptive initialized : netbsd:vcache_alloc+0x3e shared holds : 0 exclusive: 1 shares wanted: 0 exclusive: 0 relevant cpu : 0 last held: 0 relevant lwp : 0xffffbc80129a42c0 last held: 0xffffbc80129a42c0 last locked* : netbsd:genfs_lock+0x160 unlocked : netbsd:genfs_unlock+0x2a owner/count : 0xffffbc80129a42c0 flags : 0x0000000000000004 Turnstile: no active turnstile for this lock. * Lock 3 (initialized at netbsd:genfs_node_init+0x2e sys/miscfs/genfs/genfs_vnops.c:475) lock address : ffffbc8013e863a8 type : sleep/adaptive initialized : netbsd:genfs_node_init+0x2e shared holds : 0 exclusive: 1 shares wanted: 0 exclusive: 0 relevant cpu : 0 last held: 0 relevant lwp : 0xffffbc80129a42c0 last held: 0xffffbc80129a42c0 last locked* : netbsd:ufs_balloc_range+0x1f3 unlocked : 0 owner/count : 0xffffbc80129a42c0 flags : 0x0000000000000004 Turnstile: no active turnstile for this lock. *** Locks wanted: none ****** LWP 0.26 (softclk/1) @ 0xffffbc8010cbc240, l_stat=1 *** Locks held: none *** Locks wanted: * Lock 0 (initialized at netbsd:module_hook_init+0x1c sys/kern/kern_module_hook.c:132) lock address : netbsd:module_hook type : sleep/adaptive initialized : netbsd:module_hook_init+0x1c shared holds : 0 exclusive: 0 shares wanted: 0 exclusive: 0 relevant cpu : 1 last held: 0 relevant lwp : 0xffffbc8010cbc240 last held: 000000000000000000 last locked : 0 unlocked* : 0 owner field : 000000000000000000 wait/spin: 0/0 Turnstile: no active turnstile for this lock. ****** LWP 0.11 (iflnkst) @ 0xffffbc800f74a100, l_stat=3 *** Locks held: none *** Locks wanted: * Lock 0 (initialized at netbsd:module_hook_init+0x1c sys/kern/kern_module_hook.c:132) lock address : netbsd:module_hook type : sleep/adaptive initialized : netbsd:module_hook_init+0x1c shared holds : 0 exclusive: 0 shares wanted: 0 exclusive: 0 relevant cpu : 0 last held: 0 relevant lwp : 0xffffbc800f74a100 last held: 000000000000000000 last locked : 0 unlocked* : 0 owner field : 000000000000000000 wait/spin: 0/0 Turnstile: no active turnstile for this lock. ****** LWP 0.0 (swapper) @ 0xffffffff83343440, l_stat=3 *