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

Sascha Hauer s.hauer at pengutronix.de
Fri Apr 17 03:40:21 PDT 2026


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 at pengutronix.de>




More information about the barebox mailing list