From nobody Tue Oct 22 15:20:13 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XXwpl0h7Jz5PbLp for ; Tue, 22 Oct 2024 15:20:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XXwpk5n3Cz4Htt for ; Tue, 22 Oct 2024 15:20:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729610414; 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=2UfVKmMrIRT7lkLHr7py0ezcyxNov7ImbW91fLB2E3s=; b=GGBstTW5Wx6bAWNsqI5gie6c/XEJeoyIm4aYB51o8Ao1ag9jd+vSHnIHSJSFfWETppNqjh wk1CGIqgVUzkheQvnriuCJFeo2CoUzU0GKJ5pQprchKAcCgl6QPTKRCoc1knHWuIzFMLd2 o6c8x+KAvVaBd7dcjWD9DZ4uD+RgLWSsJ3eF7kJJlQlG4/YTBstG/5efVLnaTmG4z/oLJW Xhbro+bb1cyM4ZUUuoxlVsBqLXriWEM8R22538obzWhUzG6b4AR0qIvmsxltSylq2Wqi9H qrwpYCS/IEypEN+Azkj57nXJhRGC1hyXDgIp6ohIfdq7iFJGvuRzo2NYuHGhqQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729610414; a=rsa-sha256; cv=none; b=lwPmVh3pFAJxk2ZVXFKmQQ1biC5h76tNEfgwRD4c2mQtRvcWhHGeVFkvEaK+gdaGcnj3Wn mXM+7y1HIKKll3x3m97r+knlKBhrV9fbGnI27cZOVc9M4L/vv1eSxP9F4xPQWvFAG+I+Si 78WgVe4C6FMXQI5qE3ihoz+ANPo3vaDHC8K8JAWfBvuh4byzh+E4SIm1H/hUjqfAVzfUC8 DayK9jOaLiXfzqpxj1drmCl8YuUcyVm9yxHkdZBcFnuFpJZtXLcnbaM5v1zBbo8RpalGAG tu6iyIicpspmx5gt9JCtxPZoQEzgrohrSGoUU38EsgQhT2bQuNuraHvEcXxxHQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XXwpk4fbGzKGd for ; Tue, 22 Oct 2024 15:20:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 49MFKEwl095946 for ; Tue, 22 Oct 2024 15:20:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49MFKEBp095944 for bugs@FreeBSD.org; Tue, 22 Oct 2024 15:20:14 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 282268] linker_load_module() panics with KASAN during post-panic reboot Date: Tue, 22 Oct 2024 15:20:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: crash, loader X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282268 --- Comment #5 from Mark Johnston --- (In reply to Christos Margiolis from comment #4) Yes, one of the consequences of the UFS soft updates implementation is that crashes can result in truncated files if those files had been written short= ly before the panic. So if you do something like "make installkernel; ", the linker.hints file created by kldxref during installkernel might end up truncated. The kernel linker reads that file, and doesn't properly handle the case whe= re it's truncated. --=20 You are receiving this mail because: You are the assignee for the bug.=