Files
systemd/src
Luca Boccassi 42e5b6d004 boot: bound PE section VirtualSize before zeroing the inner kernel
The inner-kernel section loader checks VirtualAddress + SizeOfRawData
against kernel_size_in_memory (for the memcpy), but the memzero right
after it clears up to VirtualAddress + VirtualSize, and VirtualSize is
only constrained to be >= SizeOfRawData.

Reject a VirtualAddress + VirtualSize that overflows or exceeds
kernel_size_in_memory, mirroring the existing SizeOfRawData checks.

Follow-up for cab9c7b5a4

(cherry picked from commit feeba8fa3b)
(cherry picked from commit 0f3dd7ab02)
(cherry picked from commit 2889746af2)
2026-07-23 22:34:28 +01:00
..
2025-12-15 08:50:13 +09:00
2026-02-25 21:25:28 +00:00
2025-12-15 08:50:13 +09:00
2025-12-15 08:50:13 +09:00
2026-05-27 09:42:51 +01:00
2026-05-27 12:20:18 +01:00
2026-05-27 09:39:48 +01:00
2026-05-27 12:20:20 +01:00
2026-06-26 16:24:12 +01:00
2025-12-15 08:50:13 +09:00
2025-12-15 08:50:13 +09:00
2026-05-27 12:20:19 +01:00
2025-12-01 16:18:11 +01:00
2026-02-06 14:29:10 +00:00