Re: [PATCH v2 0/3] net: dhcp: fix buffer overflows

Sascha Hauer
2026-04-17T10:40:54Z

On Thu, 02 Apr 2026 08:59:56 +0200, Sascha Hauer wrote:
> Fix buffer overflows on malicious incoming network packets or user data
> in the dhcp code.
>
>

Applied, thanks!

[1/3] net: dhcp: add bounds checking to DHCP option parsing
https://git.pengutronix.de/cgit/barebox/commit/?id=6199b241964b (link may not be stable)
[2/3] net: dhcp: use xstrndup for bp_file to prevent read past field
https://git.pengutronix.de/cgit/barebox/commit/?id=77929b00dc11 (link may not be stable)
[3/3] net: dhcp: cap DHCP option string length to 255 bytes
https://git.pengutronix.de/cgit/barebox/commit/?id=2626d503bdd6 (link may not be stable)

Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>