[Bug 288551] mpr driver panic when doing "storcli download file=$FIRMWAREFILE.bin"

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 30 Jul 2025 13:25:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288551

--- Comment #2 from Peter Eriksson <pen@lysator.liu.se> ---
Hmm.. Looking at the assembly code it looks like the panic comes from the
"saved_facts.MaxTargets + saved_facts.MaxVolumes" calculation - saved_facts has
been deallocated somewhere?

    1f75:       e8 e6 2a 00 00          call   4a60 <mpr_iocfacts_free>
    1f7a:       0f b7 85 58 ff ff ff    movzwl -0xa8(%rbp),%eax
    1f81:       0f b6 b5 5f ff ff ff    movzbl -0xa1(%rbp),%esi
    1f88:       01 c6                   add    %eax,%esi

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