Heinrich Schuchardt
a9080e600c
efi_loader: avoid buffer overrun in efi_var_restore()
...
The value of buf->length comes from outside U-Boot and may be incorrect.
We must avoid to overrun our internal buffer for excessive values.
If buf->length is shorter than the variable file header, the variable
file is invalid.
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Tested-by: Michal Simek <michal.simek@amd.com>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2026-03-14 08:14:01 +01:00
..
2022-12-02 19:17:24 +01:00
2025-10-18 11:59:53 +02:00
2025-05-11 13:30:33 +02:00
2025-04-11 13:20:37 +02:00
2025-05-25 11:27:18 +02:00
2025-10-14 10:30:56 +03:00
2026-02-27 12:14:56 +01:00
2025-04-11 13:25:31 +02:00
2026-02-17 13:51:26 -06:00
2026-03-14 08:10:26 +01:00
2025-10-26 10:15:21 +00:00
2026-02-06 09:57:00 +01:00
2025-03-26 13:05:36 +02:00
2025-05-25 11:27:18 +02:00
2025-06-02 17:43:56 -06:00
2026-02-15 08:43:58 +01:00
2025-04-11 13:20:37 +02:00
2025-10-18 11:52:28 +02:00
2025-05-25 11:27:18 +02:00
2025-07-03 11:32:49 +03:00
2025-11-15 11:50:42 +01:00
2023-12-21 08:54:37 -05:00
2026-02-17 13:50:22 -06:00
2025-05-25 11:27:18 +02:00
2025-04-25 17:26:39 +02:00
2025-04-11 13:25:27 +02:00
2025-10-18 11:41:32 +02:00
2025-01-05 02:30:48 +01:00
2025-11-15 11:36:22 +01:00
2025-04-11 13:20:37 +02:00
2023-12-21 08:54:37 -05:00
2025-07-26 07:37:03 +02:00
2026-02-06 10:04:30 +01:00
2025-01-26 11:06:56 +01:00
2026-02-17 13:50:22 -06:00
2025-04-25 17:26:39 +02:00
2025-01-26 11:06:56 +01:00
2025-07-03 12:25:56 +03:00
2025-01-26 11:06:56 +01:00
2024-01-16 17:05:29 -05:00
2025-01-26 11:06:56 +01:00
2026-02-15 08:26:33 +01:00
2025-01-26 11:06:56 +01:00
2026-03-14 08:14:01 +01:00
2026-02-15 09:15:28 +01:00
2025-02-20 09:22:53 +01:00
2025-02-20 09:22:53 +01:00
2026-02-15 09:15:28 +01:00
2025-01-26 11:06:56 +01:00
2025-03-17 09:22:06 +01:00
2024-10-09 22:04:56 -06:00
2024-06-10 11:43:37 +02:00
2026-03-14 08:09:16 +01:00
2026-02-15 09:14:31 +01:00
2024-10-30 21:45:51 +01:00
2024-11-09 09:59:41 +01:00