patina-v6.0.0
What's Changed
-
chore: Release v5.0.0 @makubacki (#596)
Change Details
## Description
v5.0.0 release.
- Impacts functionality?
- Impacts security?
- Breaking change?
- Includes tests?
- Includes documentation?
How This Was Tested
N/A
Integration Instructions
N/A
⚠️ Breaking Changes
-
patina\_dxe\_core: Enable Null Pointer Detection @os-d (#590)
Change Details
## Description
This commit disallows allocating page 0 in order to leave it unmapped to detect null pointers dereferencing. This also ensured that when EFI_MEMORY_RP is applied via set_memory_space_attributes, that Patina DXE Core will unmap the region, not simply attempt to apply the attribute.
While changing the allocation code, this also changes the parameter name of alignment -> align_shift, except in PI spec defined APIs, as that better reflects the usage of that parameter.
- Impacts functionality?
- Impacts security?
- Breaking change?
- Includes tests?
- Includes documentation?
How This Was Tested
Tested with unit tests, booting Q35 and SBSA to Windows/Linux, and breaking in late in boot and confirming page 0 is unmapped.
Integration Instructions
Page 0 cannot be allocated at address or in pre-DXE.
🔐 Security Impacting
-
patina\_dxe\_core: Enable Null Pointer Detection @os-d (#590)
Change Details
## Description
This commit disallows allocating page 0 in order to leave it unmapped to detect null pointers dereferencing. This also ensured that when EFI_MEMORY_RP is applied via set_memory_space_attributes, that Patina DXE Core will unmap the region, not simply attempt to apply the attribute.
While changing the allocation code, this also changes the parameter name of alignment -> align_shift, except in PI spec defined APIs, as that better reflects the usage of that parameter.
- Impacts functionality?
- Impacts security?
- Breaking change?
- Includes tests?
- Includes documentation?
How This Was Tested
Tested with unit tests, booting Q35 and SBSA to Windows/Linux, and breaking in late in boot and confirming page 0 is unmapped.
Integration Instructions
Page 0 cannot be allocated at address or in pre-DXE.
Full Changelog: patina-v5.0.0...v6.0.0