From: Johannes Berg <johannes@sipsolutions.net>
To: Jeongjun Park <aha310510@gmail.com>
Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH net] wifi: cfg80211: Fix out-of-bounds in cfg80211_wext_siwscan
Date: Tue, 25 Jun 2024 13:54:47 +0200 [thread overview]
Message-ID: <2fc4b98c0899b0bbbfbfb0c7a60eb0264ce97894.camel@sipsolutions.net> (raw)
In-Reply-To: <20240623084939.6889-1-aha310510@gmail.com>
On Sun, 2024-06-23 at 17:49 +0900, Jeongjun Park wrote:
> In the process of searching for matching hardware channels, wreq and
> wreq->num_channels are checked to see if they are NULL. However,
> if the value of wreq->num_channels is greater than IW_MAX_FREQUENCIES,
> an out-of-bounds vulnerability occurs.
>
> Therefore, you must also add code to check whether the value of
> wreq->num_channels is within the range.
>
This is the same more or less as
https://msgid.link/20240531032010.451295-1-dmantipov@yandex.ru
no?
johannes
prev parent reply other threads:[~2024-06-25 11:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-23 8:49 [PATCH net] wifi: cfg80211: Fix out-of-bounds in cfg80211_wext_siwscan Jeongjun Park
2024-06-25 11:54 ` Johannes Berg [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=2fc4b98c0899b0bbbfbfb0c7a60eb0264ce97894.camel@sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=aha310510@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/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.
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 NNTP newsgroup(s).