Bug 1402049 - The determined EFI secure boot status may be clobbered before the kernel can make use of it to lock down
Summary: The determined EFI secure boot status may be clobbered before the kernel can ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-06 16:24 UTC by David Howells
Modified: 2019-01-09 12:54 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-06 16:40:35 UTC
Type: Bug


Attachments (Terms of Use)

Description David Howells 2016-12-06 16:24:29 UTC
Description of problem:

efi_main() stores the determined secure boot state in boot_params->secure_boot, but this is thereafter cleared in sanitize_boot_params() when the kernel is decompressed:

		memset(&boot_params->kbd_status, 0,
		       (char *)&boot_params->hdr -
		       (char *)&boot_params->kbd_status);

if boot_params->sentinel is set.

Comment 1 David Howells 2016-12-06 16:40:35 UTC
Not actually a bug - lost part of a patch somewhere when porting to the upstream kernel.


Note You need to log in before you can comment on or make changes to this bug.