[Bug 281291] zfs: panic: MSan: Uninitialized malloc memory from zfs_acl_chmod

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 05 Sep 2024 14:46:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281291

            Bug ID: 281291
           Summary: zfs: panic: MSan: Uninitialized malloc memory from
                    zfs_acl_chmod
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: asomers@FreeBSD.org

I tried to run the ZFS test suite with a GENERIC-KMSAN kernel.  The
sys/cddl/zfs/tests/bootfs/bootfs_test:bootfs_005_neg test paniced like this:

panic: MSan: Uninitialized malloc memory from zfs_acl_chmod+0x2cd
cpuid = 6
time = 1725502132
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x99/frame 0xfffffe00b4c9c540
vpanic() at vpanic+0x56e/frame 0xfffffe00b4c9c6d0
panic() at panic+0x1dd/frame 0xfffffe00b4c9c7e0
__msan_warning() at __msan_warning+0x244/frame 0xfffffe00b4c9c930
lzjb_compress() at lzjb_compress+0x9f6/frame 0xfffffe00b4c9ca70
zio_compress_data() at zio_compress_data+0x388/frame 0xfffffe00b4c9cb40
zio_write_compress() at zio_write_compress+0x12bd/frame 0xfffffe00b4c9cca0
zio_execute() at zio_execute+0x4e0/frame 0xfffffe00b4c9cd30
taskqueue_run_locked() at taskqueue_run_locked+0x607/frame 0xfffffe00b4c9ce30
taskqueue_thread_loop() at taskqueue_thread_loop+0x29e/frame 0xfffffe00b4c9cea0
fork_exit() at fork_exit+0x1ee/frame 0xfffffe00b4c9cf30
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00b4c9cf30
--- trap 0x5a5a5a5a, rip = 0x5a5a5a5a5a5a5a5a, rsp = 0x5a5a5a5a5a5a5a5a, rbp =
0x5a5a5a5a5a5a5a5a ---
KDB: enter: panic

-- 
You are receiving this mail because:
You are the assignee for the bug.