From: Stefano Brivio <sbrivio@redhat.com>
To: passt-dev@passt.top
Cc: Anshu Kumari <anskuma@redhat.com>, eonzylakshitha@gmail.com
Subject: Re: [PATCH 0/2] dhcp: Harden DNS search domain option handling
Date: Tue, 17 Nov 2026 13:22:25 +0100 (CET) [thread overview]
Message-ID: <20261117132224.70a9616d@elisabeth> (raw)
In-Reply-To: <20261117120617.663503-1-anskuma@redhat.com>
On Tue, 17 Nov 2026 17:36:15 +0530
Anshu Kumari <anskuma@redhat.com> wrote:
> Lakshitha Perera reported a potential out-of-bounds write in
> opt_set_dns_search() at revision f8df3f1, where an excessively long
> DNS search domain list configured via --dhcp-search could overflow the
> opts[119].s buffer.
For clarity: the original report needed a patched build to actually
cause the out-of-bounds write (which was otherwise prevented), and could
only be triggered via user configuration, with a particular
(nonsensical) values for that option, resulting in a functional issue
(clean abort on those values), nothing security relevant.
--
Stefano
prev parent reply other threads:[~2026-11-17 12:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-17 12:06 Anshu Kumari
2026-11-17 12:06 ` [PATCH 1/2] dhcp: Use unsigned int for opts[].slen Anshu Kumari
2026-11-17 12:06 ` [PATCH 2/2] dhcp: Add bounds check on DNS search domain option buffer Anshu Kumari
2026-11-17 12:22 ` Stefano Brivio [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261117132224.70a9616d@elisabeth \
--to=sbrivio@redhat.com \
--cc=anskuma@redhat.com \
--cc=eonzylakshitha@gmail.com \
--cc=passt-dev@passt.top \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://passt.top/passt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).