mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/2] dns: Protect against too long hostnames and malicious packets
@ 2026-04-02  8:25 Sascha Hauer
  2026-04-02  8:25 ` [PATCH 1/2] net: dns: fix packet buffer overflow from long hostnames Sascha Hauer
  2026-04-02  8:25 ` [PATCH 2/2] net: dns: fix OOB read in dns_recv query type check Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Sascha Hauer @ 2026-04-02  8:25 UTC (permalink / raw)
  To: BAREBOX; +Cc: Claude Opus 4.6 (1M context)

This fixes some problems in the DNS code with wrong/malicious incoming
data.

Signed-off-by: Sascha Hauer <s.hauer@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@pengutronix.de>




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-04-02  8:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-02  8:25 [PATCH 0/2] dns: Protect against too long hostnames and malicious packets Sascha Hauer
2026-04-02  8:25 ` [PATCH 1/2] net: dns: fix packet buffer overflow from long hostnames Sascha Hauer
2026-04-02  8:25 ` [PATCH 2/2] net: dns: fix OOB read in dns_recv query type check Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox