[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2fc4b98c0899b0bbbfbfb0c7a60eb0264ce97894.camel@sipsolutions.net>
Date: Tue, 25 Jun 2024 13:54:47 +0200
From: Johannes Berg <johannes@...solutions.net>
To: Jeongjun Park <aha310510@...il.com>
Cc: linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net] wifi: cfg80211: Fix out-of-bounds in
cfg80211_wext_siwscan
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
Powered by blists - more mailing lists