14.1-RC1 panic: sleeping thread (tid 102234, pid 0) owns a non-sleepable lock

From: Dave Cottlehuber <dch_at_skunkwerks.at>
Date: Thu, 30 May 2024 11:59:30 UTC
Got 2 of these within a few minutes in quick succession:

Unread portion of the kernel message buffer:
Sleeping thread (tid 102234, pid 0) owns a non-sleepable lock
KDB: stack backtrace of thread 102234:
#0 0xffffffff80b402ab at mi_switch+0xbb
#1 0xffffffff80b3fa28 at _sleep+0x1e8
#2 0xffffffff80b96bc1 at taskqueue_thread_loop+0xb1
#3 0xffffffff80aed57f at fork_exit+0x7f
#4 0xffffffff80fd822e at fork_trampoline+0xe
panic: sleeping thread
cpuid = 0
time = 1714556112
KDB: stack backtrace:
#0 0xffffffff80b8047d at kdb_backtrace+0x5d
#1 0xffffffff80b331a1 at vpanic+0x131
#2 0xffffffff80b33063 at panic+0x43
#3 0xffffffff80b98e9e at propagate_priority+0x29e
#4 0xffffffff80b999d1 at turnstile_wait+0x301
#5 0xffffffff80b0f745 at __mtx_lock_sleep+0x175
#6 0xffffffff80d94640 at linuxkpi_ieee80211_find_sta+0xd0
#7 0xffffffff80d946df at linuxkpi_ieee80211_find_sta_by_ifaddr+0x6f
#8 0xffffffff83a8a456 at iwl_mvm_rx_rx_mpdu+0x1e6
#9 0xffffffff83ab81a5 at iwl_pcie_rx_handle+0x485
#10 0xffffffff83ab7a3d at iwl_pcie_napi_poll+0x2d
#11 0xffffffff80da308f at lkpi_napi_task+0xf
#12 0xffffffff80b95952 at taskqueue_run_locked+0x182
#13 0xffffffff80b96bd2 at taskqueue_thread_loop+0xc2
#14 0xffffffff80aed57f at fork_exit+0x7f
#15 0xffffffff80fd822e at fork_trampoline+0xe

https://people.freebsd.org/~dch/tmp/panic.20240530-1053.txt has slightly more info, and /home/dch/tmp/vmcore.2.xz has even more.

A+
Dave