NetBSD-Bugs archive

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

PR/60391 CVS commit: [netbsd-10] src/sys/arch/x86/x86



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

From: "Martin Husemann" <martin%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/60391 CVS commit: [netbsd-10] src/sys/arch/x86/x86
Date: Sun, 15 Nov 2026 14:03:06 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Sun Nov 15 14:03:06 UTC 2026
 
 Modified Files:
 	src/sys/arch/x86/x86 [netbsd-10]: efi_machdep.c
 
 Log Message:
 Pull up following revision(s) (requested by riastradh in ticket #1419):
 
 	sys/arch/x86/x86/efi_machdep.c: revision 1.7
 	sys/arch/x86/x86/efi_machdep.c: revision 1.8
 
 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"
 
 x86/efi_machdep.c: Nix extra blank line.
 
 No functional change intended.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.3.4.1 -r1.3.4.2 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