[PATCH 0/2] dns: Protect against too long hostnames and malicious packets
Sascha Hauer
s.hauer at pengutronix.de
Thu Apr 2 01:25:08 PDT 2026
This fixes some problems in the DNS code with wrong/malicious incoming
data.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
Sascha Hauer (2):
net: dns: fix packet buffer overflow from long hostnames
net: dns: fix OOB read in dns_recv query type check
net/dns.c | 24 ++++++++++++++++++++----
1 file changed, 20 insertions(+), 4 deletions(-)
---
base-commit: 0933e8f2ebf0d91dfcf177a4e4292b02921a53f1
change-id: 20260402-net-dns-buffer-overflows-0b3a418dcdc2
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list