Skip to content

Require the Memory Attribute Protocol if Enhanced Memory Protection is supported - #170

Open
vstehle wants to merge 1 commit into
ARM-software:mainfrom
vstehle:memattr
Open

Require the Memory Attribute Protocol if Enhanced Memory Protection is supported#170
vstehle wants to merge 1 commit into
ARM-software:mainfrom
vstehle:memattr

Conversation

@vstehle

@vstehle vstehle commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Require the EFI_MEMORY_ATTRIBUTE_PROTOCOL when the firmware supports Enhanced Memory Protection.

This allows boot components such as shim, systemd or the Linux EFI stub to control memory permissions.

https://microsoft.github.io/mu/WhatAndWhy/enhancedmemoryprotection/#enhanced-uefi-memory-protection
https://uefi.org/sites/default/files/resources/Hardening%20the%20Core%20Enhanced%20Memory%20Protection_Beebe.pdf

Require the EFI_MEMORY_ATTRIBUTE_PROTOCOL when the firmware supports
Enhanced Memory Protection, to allow boot components such as shim, systemd
or the Linux EFI stub to control memory permissions.

Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
@xypron

xypron commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

@vstehle @apalos
Are there any plans to implement this in U-Boot?

@apalos

apalos commented Aug 25, 2026

Copy link
Copy Markdown

@vstehle @apalos Are there any plans to implement this in U-Boot?

@xypron I've already raised this as part of Arm CoreCollective. I don't have a definitive answer yet on whether members are willing fund this, but I'll keep you updated.

Comment thread source/chapter2-uefi.rst
The `EFI_MEMORY_ATTRIBUTE_PROTOCOL` allows boot components to configure
memory permissions.

https://microsoft.github.io/mu/WhatAndWhy/enhancedmemoryprotection/

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The protocol is specified in the UEFI spec. It is unclear to me why the Microsoft link is provided. If it is really needed it should be in the same reference section as the other links.

Please, consider moving the link to the commit message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants