<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/MdeModulePkg, branch dependabot/github_actions/github/codeql-action-4.39.3</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Fgithub%2Fcodeql-action-4.39.3</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Fgithub%2Fcodeql-action-4.39.3'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2026-11-06T01:42:08+00:00</updated>
<entry>
<title>MdeModulePkg: Use unsigned memory type bounds checks</title>
<updated>2026-11-06T01:42:08+00:00</updated>
<author>
<name>Mattia Giambirtone</name>
<email>nocturn9x@nocturn9x.space</email>
</author>
<published>2026-11-05T12:16:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=b9d8871d3432048a47371e39f5b7413a40e4a774'/>
<id>urn:sha1:b9d8871d3432048a47371e39f5b7413a40e4a774</id>
<content type='text'>
Some compilers treat EFI_MEMORY_TYPE as signed. OS-reserved memory
types with bit 31 set can therefore pass a signed comparison against
EfiMaxMemoryType and index outside the memory type statistics array.

Cast the memory type to UINT32 before checking the array bound in
CoreTerminateMemoryMap and InternalBuildMemoryAllocationHob, matching
the existing guards in the page, pool, and memory bin code.

Fixes: https://github.com/tianocore/edk2/issues/13451
Signed-off-by: Mattia Giambirtone &lt;nocturn9x@nocturn9x.space&gt;
</content>
</entry>
<entry>
<title>Revert "MdeModulePkg/PciBusDxe: Preserve physical BAR numbering"</title>
<updated>2026-11-05T04:06:27+00:00</updated>
<author>
<name>Aaron Pop</name>
<email>aaronpop@microsoft.com</email>
</author>
<published>2026-10-23T22:34:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=087a07536de8b8561c7ae5ed974e60c80a9ed4ae'/>
<id>urn:sha1:087a07536de8b8561c7ae5ed974e60c80a9ed4ae</id>
<content type='text'>
This reverts commit 0e7dad44bae663193b580adeb9d942c2559166f6.

Signed-off-by: Aaron Pop &lt;aaronpop@microsoft.com&gt;
</content>
</entry>
<entry>
<title>Revert "MdeModulePkg/PciBusDxe: Add Google Tests for BAR parsing"</title>
<updated>2026-11-05T04:06:27+00:00</updated>
<author>
<name>Aaron Pop</name>
<email>aaronpop@microsoft.com</email>
</author>
<published>2026-10-23T22:31:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=f4e2af190443b116a327ba017f8b2612b01fbb08'/>
<id>urn:sha1:f4e2af190443b116a327ba017f8b2612b01fbb08</id>
<content type='text'>
This reverts commit 0d61209231b2ec50ca6f6b96825baaa07c280854.

Signed-off-by: Aaron Pop &lt;aaronpop@microsoft.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg/CapsulePei: Print 64-bit capsule addresses in DEBUG logs</title>
<updated>2026-11-05T03:28:06+00:00</updated>
<author>
<name>Phil Noh</name>
<email>Phil.Noh@amd.com</email>
</author>
<published>2026-10-30T20:32:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=965f4c22530d43147a456977705545874674aa0f'/>
<id>urn:sha1:965f4c22530d43147a456977705545874674aa0f</id>
<content type='text'>
Three DEBUG messages in CapsulePei print capsule addresses: the coalesce
memory range, the free memory range, and the capsule copy source and
destination. All three used the "0x%8X" format specifier with UINTN
arguments. On X64, this truncates the printed value to 32 bits, so when
the capsule coalesce buffer is allocated above 4GB, the logs show a
misleading address.

Change these messages to use the "0x%lX" specifier and cast the
arguments to UINT64 so that the full 64-bit address and size are printed
on X64 while remaining correct on IA32.

Signed-off-by: Phil Noh &lt;Phil.Noh@amd.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: Fix OptionOrder double free</title>
<updated>2026-11-03T02:27:05+00:00</updated>
<author>
<name>Baraneedharan Anbazhagan</name>
<email>anbazhagan@hp.com</email>
</author>
<published>2026-10-25T13:43:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=011eca2e8f8bba9b59a60f100368ad287c99a181'/>
<id>urn:sha1:011eca2e8f8bba9b59a60f100368ad287c99a181</id>
<content type='text'>
Remove the duplicate OptionOrder free on reallocation failure in
EfiBootManagerGetLoadOptions().

Signed-off-by: Anbazhagan Baraneedharan &lt;anbazhagan@hp.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: Fix GOP device path pool double free</title>
<updated>2026-11-03T02:27:05+00:00</updated>
<author>
<name>Baraneedharan Anbazhagan</name>
<email>anbazhagan@hp.com</email>
</author>
<published>2026-10-25T13:43:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=859d22b8ef45e43b91716eeab60fae855a6c617b'/>
<id>urn:sha1:859d22b8ef45e43b91716eeab60fae855a6c617b</id>
<content type='text'>
Free the previous GOP device path pool only once when the recursive
search returns a path to append. If it returns NULL, preserve paths
collected from earlier children instead of freeing the pool.

Signed-off-by: Anbazhagan Baraneedharan &lt;anbazhagan@hp.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: Add an early ArmCcaLib instance</title>
<updated>2026-10-29T22:07:05+00:00</updated>
<author>
<name>Sami Mujawar</name>
<email>sami.mujawar@arm.com</email>
</author>
<published>2026-10-16T10:35:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=3620d617c16f2bf8ada8d46b71a48d1be684b588'/>
<id>urn:sha1:3620d617c16f2bf8ada8d46b71a48d1be684b588</id>
<content type='text'>
The existing ArmCcaLib instance uses GUID HOBs to read the cached
IsRealm status and Realm IPA width. This does not work during early SEC
execution, where GetHobList() can fail because the HOB list has not yet
been set up.

Split the direct RSI query helpers into common code and add an early
ArmCcaLib instance for SEC and PEI users. The early instance implements
ArmCcaIsRealm() and ArmCcaGetIpaWidth() by querying RSI directly,
without relying on cached HOB data.

Keep the existing ArmCcaLib instance for DXE and later phases, where the
cached HOB values can be used. Also make ArmCcaMemRangeIsProtectedMmio()
return RETURN_UNSUPPORTED when called outside a Realm.

Signed-off-by: Sami Mujawar &lt;sami.mujawar@arm.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: PiSmmCore: Decouple MM core mailbox data</title>
<updated>2026-10-29T03:36:10+00:00</updated>
<author>
<name>Kun Qin</name>
<email>kuqin@microsoft.com</email>
</author>
<published>2022-02-16T20:10:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=3b54a25765919289f1bc38261b6b2bddb7b20a21'/>
<id>urn:sha1:3b54a25765919289f1bc38261b6b2bddb7b20a21</id>
<content type='text'>
Current `gSmmCorePrivate` data used in PiSmmCore is a shared data
structure initialized and used by PiSmmIpl. Thus the content is exposed
to normal DXE environment.

Specifically, `SmmDispatcher` actively uses `gSmmCorePrivate` to
determine dispatch behavior. As a result, the potential attack surface is
exposed from SMM initialization through the SMM Ready-to-Lock event.

This change decouple Core private data from and IPL mailbox at the
entrypoint of each MMI handle routine. It is a preventative fix to
eliminate hot access to gSmmCorePrivate within the SMM core.

Signed-off-by: Kun Qin &lt;kun.qin@microsoft.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: Use OpenProtocol for protocol lookup</title>
<updated>2026-10-28T23:12:13+00:00</updated>
<author>
<name>Baraneedharan Anbazhagan</name>
<email>anbazhagan@hp.com</email>
</author>
<published>2026-10-21T18:54:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=850eac1d1932b7e64bc7ba6122df7c9dabf44e81'/>
<id>urn:sha1:850eac1d1932b7e64bc7ba6122df7c9dabf44e81</id>
<content type='text'>
Replace HandleProtocol with OpenProtocol using
EFI_OPEN_PROTOCOL_GET_PROTOCOL in SmmCorePerformanceLib.

Signed-off-by: Anbazhagan Baraneedharan &lt;anbazhagan@hp.com&gt;
</content>
</entry>
<entry>
<title>MdeModulePkg: Fix SMM performance UI-name lookup</title>
<updated>2026-10-28T23:12:13+00:00</updated>
<author>
<name>Baraneedharan Anbazhagan</name>
<email>anbazhagan@hp.com</email>
</author>
<published>2026-10-20T22:00:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=e3c74a5cb68c156cd434916baaa202f7277fe06b'/>
<id>urn:sha1:e3c74a5cb68c156cd434916baaa202f7277fe06b</id>
<content type='text'>
SMM images without embedded PDB paths trigger a UI-name fallback
that incorrectly treats PiSmmCore's private-context pointer as a
DXE image handle, causing an assertion or invalid memory access.

Read the UI section from the target image's firmware-volume
DeviceHandle instead.

Signed-off-by: Anbazhagan Baraneedharan &lt;anbazhagan@hp.com&gt;
</content>
</entry>
</feed>
