NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/60391 CVS commit: src/sys/arch/x86/x86



The following reply was made to PR kern/60391; it has been noted by GNATS.

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/60391 CVS commit: src/sys/arch/x86/x86
Date: Wed, 1 Jul 2026 00:52:22 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Wed Jul  1 00:52:22 UTC 2026
 
 Modified Files:
 	src/sys/arch/x86/x86: efi_machdep.c
 
 Log Message:
 x86/efi: Bypass kASAN memcpy when copying the efi runtime.
 
 Fixes crash at boot with `options KASAN' enabled on EFI systems.
 
 We could try to find some way to exclude the EFI runtime mappings
 from kASAN, e.g. by hacking kasan_md_unsupported.  But there's a lot
 of detailed exclusions to pass through to that (every entry in the
 EFI memory map), and this is the only memcpy in the whole kernel that
 all those details are likely to be applicable.
 
 PR kern/60391: kernel panic in efi_init() with "options KASAN"
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.6 -r1.7 src/sys/arch/x86/x86/efi_machdep.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 



Home | Main Index | Thread Index | Old Index