Project

General

Profile

Actions

Bug #513

open

clear_memory() triggers null dereference exception when running coreboot in long (64-bit) mode

Added by Bill XIE about 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
coreboot common code
Target version:
Start date:
11/17/2023
Due date:
% Done:

0%

Estimated time:
Affected versions:
Needs backport to:
Affected hardware:
X200
Affected OS:

Description

Enabling CONFIG_USE_EXP_X86_64_SUPPORT and CONFIG_SECURITY_CLEAR_DRAM_ON_REGULAR_BOOT in the mean time on my X200 triggers null dereference exception. Register dump in attached log suggests that clearing DRAM 0000000100000000-0000000180000000 triggers the exception, and the used memset() implementation in src/arch/x86/memset.c seems unable to handle such usage when built against X86_64.


Files

clrmem-amd64-nulderef.log (5.21 KB) clrmem-amd64-nulderef.log Bill XIE, 11/17/2023 09:56 AM
Actions

Also available in: Atom PDF