Date: Thu, 02 Jan 2025 23:31:48 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 283807] panic: Fatal trap 12: page fault while in kernel mode on FreeBSD-14.2-RELEASE Message-ID: <bug-283807-227-Zya7ryXEaa@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-283807-227@https.bugs.freebsd.org/bugzilla/> References: <bug-283807-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283807 Mark Millard <marklmi26-fbsd@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marklmi26-fbsd@yahoo.com --- Comment #1 from Mark Millard <marklmi26-fbsd@yahoo.com> --- More context from Discord's FreeBSD kernel Channel: JordanG: Okay, the code is buggy. umtx_pi_alloc(M_NOWAIT) is called. The fl= ag M_NOWAITmeans that NULL is returned if the memory allocation request cannot= be satisfied immediately. The call to the memory allocation routine uma_zalloc fails and returns NULL. umtx_pi_alloc() receives the NULL pointer and immediately, without checking it, tries to access a structure's field via t= he pointer. And also: JordanG: @maxfx You've discovered a genuine bug that is also present in Fre= eBSD 15-CURRENT. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-283807-227-Zya7ryXEaa>