Files
u-boot/net
Paul HENRYS 81e5708cc2 net: bootp: Prevent buffer overflow to avoid leaking the RAM content
CVE-2024-42040 describes a possible buffer overflow when calling
bootp_process_vendor() in bootp_handler() since the total length
of the packet is passed to bootp_process_vendor() without being
reduced to len-(offsetof(struct bootp_hdr,bp_vend)+4).

The packet length is also checked against its minimum size to avoid
reading data from struct bootp_hdr outside of the packet length.

Signed-off-by: Paul HENRYS <paul.henrys_ext@softathome.com>
Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
2025-10-22 14:28:33 +02:00
..
2025-10-22 11:16:09 +02:00
2024-07-15 12:12:18 -06:00
2025-10-22 11:16:09 +02:00
2023-12-21 08:54:37 -05:00
2025-08-18 15:47:58 +02:00
2025-08-18 15:47:58 +02:00
2024-07-15 12:12:18 -06:00
2024-07-15 12:12:18 -06:00
2025-05-29 08:30:25 -06:00
2024-07-15 12:12:18 -06:00
2025-08-01 09:30:47 +02:00
2025-08-18 15:47:58 +02:00
2018-07-02 14:14:20 -05:00