[Bug 284073] bnxt: kernel panic on 14.2-RELEASE

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 20 Jan 2025 09:59:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284073

--- Comment #9 from Zhenlei Huang <zlei@FreeBSD.org> ---
(In reply to Mark Johnston from comment #3)
> I don't have debug symbols handy to check myself, but maybe the %rip value 
> 0xffffffff80b4dee7 gives a further hint?

```
% addr2line -fip -e kernel.debug 0xffffffff80b4dee7
sysctl_handle_string at /usr/src/sys/kern/kern_sysctl.c:1787
```

See
https://cgit.freebsd.org/src/tree/sys/kern/kern_sysctl.c?h=releng/14.2#n1787

That is interesting. The parameter `req` is actually on kernel stack (
allocated on stack in userland_sysctl() ), the call stack is
```
sys___sysctl()
  userland_sysctl()
    sysctl_root()
      sysctl_root_handler_locked()
        bnxt_dcb_list_app()
          sysctl_handle_string()
```
, but the fault virtual address `0x500000015` appears to be an userland one.

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