Article View: muc.lists.freebsd.bugs
Article #678[Bug 300979] Fatal trap NUM: page fault while in kernel mode in link_elf_load_file
From: bugzilla-noreply
Date: Mon, 23 Nov 2026 21:34
Date: Mon, 23 Nov 2026 21:34
21 lines
2886 bytes
2886 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300979 --- Comment #1 from Janeri Filho, Osvaldo <Osvaldo.JaneriFilho@amd.com> --- link_elf_obj.c:1269 in releng/15.1 is link_elf_invoke_ctors(), right after link_elf_protect(). The fault is a write to a read-only page 12 bytes before the faulting RIP, so a constructor of the loaded file wrote into its own text page. mount(2) passes the fstype to kern_kldload(), which loads any path that contains '/' or '.', so this needs root and securelevel <= 0. Which file did the program load? If it is a file the fuzzer wrote, its constructor runs as designed; if it is a module from /boot/kernel, please name it. -- You are receiving this mail because: You are the assignee for the bug. -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID:
<bug-300979-227-mGJWItAXqV@https.bugs.freebsd.org/bugzilla/>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mailReferences:
<bug-300979-227@https.bugs.freebsd.org/bugzilla/>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail From: bugzilla-noreply@freebsd.org Newsgroups: muc.lists.freebsd.bugs Subject: [Bug 300979] Fatal trap NUM: page fault while in kernel mode in link_elf_load_file Date: Mon, 23 Nov 2026 21:34:40 +0000 Organization: Newsgate at muc.de e.V. Approved: news-admin@muc.de Distribution: world Message-ID: <bug-300979-227-mGJWItAXqV@https.bugs.freebsd.org/bugzilla/> References: <bug-300979-227@https.bugs.freebsd.org/bugzilla/> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2"; logging-data="12655"; mail-complaints-to="news-admin@muc.de" X-Original-To: bugs@mlmmj.nyi.freebsd.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1795469680; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=r+N1D9OGNsFtySs8jiXuAKzxhlvT6vCwaYxrJJ7N5+4=; b=ynk4LEgUKgWEot7u35TfLJTXaBOCIEfRmuvEkV+X5KSPJDUP/R8F4NemFo1XhmRBRXNHoe iJQCDl92ZdY0Q7f3P6M1x+idxgtSRqVXPQW+OiNQJhhdIgDk7XqczK+VejYrsR0NNGnMlJ qdkc01ssbUl+bXjvbUtNrV7dKLB85DKA3XKKbQdNqnrYc6456llEbMBx8k7BCJF6CPTz4x w6Qb1cvD/6YQE2dE0fX1HDAcx241SC6l0c8L+UoB+tf9OzHT40WKD+vpZmFm9O0pDdmdWO BrU7tVdtw69clyZvOTxK5x0XG6Em+yDElKwYDaW82D/bFr1xtAQu/oLxustpuQ== X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f In-Reply-To: <bug-300979-227@https.bugs.freebsd.org/bugzilla/> Auto-Submitted: auto-generated Precedence: list X-Newsgate-Id: f02c70b8849f+ X-No-Archive: Yes