Skip to content

[Bug]: memory attribute protocol inconsistent attributes #765

Closed

Description

@berlin-with0ut-return

Is there an existing issue for this?

  • I have searched existing issues

Current Behavior

    match dxe_services::core_get_memory_space_descriptor(base_address) {
        Ok(descriptor) => {
            if descriptor.base_address != base_address || descriptor.length != length {
                log::error!(
                    "{} Inconsistent attributes for: base_address {:#x} length {:#x}",
                    function!(),
                    base_address,
                    length
                );
                return efi::Status::NO_MAPPING;
            }
            unsafe { *attributes = descriptor.attributes & efi::MEMORY_ACCESS_MASK };
            efi::Status::SUCCESS
        }

On some Intel boots the above error is logged. The memory attribute protocol should not check attribute consistency.

Expected Behavior

No error in logs in regard to memory attributes.

Steps To Reproduce

PXE boot on Intel platforms. Although this may be reproducible in QEMU as well.

Build Environment

- OS(s): Windows
- Tool Chain(s): VS2022
- Targets Impacted: DEBUG

Version Information

latest (8.1.0)

Urgency

Low

Are you going to fix this?

Someone else needs to fix it

Do you need maintainer feedback?

No maintainer feedback needed

Anything else?

No response

Activity

  1. added
    type:bug
    on Sep 24, 2025
  2. added
    urgency:low
    state:needs-owner
    state:needs-triage
    on Sep 24, 2025
  3. removed
    state:needs-owner
    on Sep 24, 2025
  4. added theissue type on Sep 24, 2025
  5. moved this to Backlog in Patinaon Sep 24, 2025
  6. added this to the Backlog milestone on Sep 24, 2025
  7. removed
    state:backlog
    state:needs-triage
    on Nov 18, 2025
  8. moved this from Backlog to In Progress in Patinaon Nov 18, 2025
  9. os-d commented on Jan 30, 2026

    @os-d
    Contributor

    This didn't get closed when the PR fixing it was merged, closing.

  10. moved this from In Progress to Done in Patinaon Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

type:bugurgency:low

Type

Projects

  • Status
    Done

Relationships

None yet

Development

No branches or pull requests

Issue actions