[Bug 282268] linker_load_module() panics with KASAN during post-panic reboot

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 22 Oct 2024 15:20:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282268

--- Comment #5 from Mark Johnston <markj@FreeBSD.org> ---
(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 shortly
before the panic.  So if you do something like "make installkernel; <something
panics the system>", 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 where
it's truncated.

-- 
You are receiving this mail because:
You are the assignee for the bug.