[Bug 286759] Fatal trap 12: page fault while in kernel mode - Melonax NIC on FreeBSD14.2
Date: Tue, 13 May 2025 12:25:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286759
--- Comment #1 from Andrey V. Elsukov <ae@FreeBSD.org> ---
I found one 14.2 system, it seems it paniced after access to freed mbuf.
(kgdb) l *tcp_default_output+0x1201
0xffffffff80d1acf1 is in tcp_default_output
(/usr/src/sys/netinet/tcp_output.c:1087).
1082 */
1083 mb = sbsndptr_noadv(&so->so_snd, off, &moff);
1084 if (len <= MHLEN - hdrlen - max_linkhdr && !hw_tls) {
1085 m_copydata(mb, moff, len,
1086 mtod(m, caddr_t) + hdrlen);
1087 if (SEQ_LT(tp->snd_nxt, tp->snd_max))
1088 sbsndptr_adv(&so->so_snd, mb, len);
1089 m->m_len += len;
1090 } else {
1091 if (SEQ_LT(tp->snd_nxt, tp->snd_max))
(kgdb) p/x offsetof(struct mbuf, m_len)
$5 = 0x18
kernel: fault virtual address = 0x18
--
You are receiving this mail because:
You are the assignee for the bug.