ZFS panic on shutdown

From: Lexi Winter <lexi_at_le-fay.org>
Date: Wed, 23 Oct 2024 06:46:41 UTC
hello,

i thought i should mentioned that after upgrading to

FreeBSD 15.0-CURRENT #3 lf/main-n269068-2cff93ced1d: Wed Oct 23 02:48:20 
BST 2024 
srcmastr@hemlock.eden.le-fay.org:/data/build/obj/freebsd/data/build/src/freebsd/lf/main/amd64.amd64/sys/GENERIC

which is based on

commit 53314e34d5e8e7f781ab990805b22f7a56bc0580 (freebsd/main)
Author: Christos Margiolis <christos@FreeBSD.org>
Date:   Sat Oct 19 16:34:27 2024 +0200

i observed this ZFS panic during shutdown:

panic: VERIFY(avl_is_empty(&sk->sk_dsl_keys)) failed

i cannot reproduce this reliably and have rebooted several times after 
this without any panic.

bug + stack trace at 
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282281 - unfortunately 
no vmcore as the panic happened after shutdown.