[Bug 283807] panic: Fatal trap 12: page fault while in kernel mode on FreeBSD-14.2-RELEASE
Date: Thu, 02 Jan 2025 23:31:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283807 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 flag 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 the pointer. And also: JordanG: @maxfx You've discovered a genuine bug that is also present in FreeBSD 15-CURRENT. -- You are receiving this mail because: You are the assignee for the bug.