From: Johannes Berg <johannes@sipsolutions.net>
To: Shashidhara C <shashidharac333@gmail.com>,
davem@davemloft.net, linux-wireless@vger.kernel.org,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] nl80211: 802.11: mesh: Handle Beacon/probe response IE length in cfg80211_notify_new_peer_candidate() for 80211ac/ax mode.
Date: Fri, 22 Nov 2019 13:39:36 +0100 [thread overview]
Message-ID: <2e0b6e7c1e97d57f392d7a3da843d1357a9a33f7.camel@sipsolutions.net> (raw)
In-Reply-To: <CAHG=F9_0VsZ3hFnbD4_eFmr_4D_6Oraqcu+JPOUA=SJ3u9dL9g@mail.gmail.com> (sfid-20191116_112604_647586_6EF4ABD3)
On Sat, 2019-11-16 at 15:55 +0530, Shashidhara C wrote:
> In function cfg80211_notify_new_peer_candidate(), beacon IE length (i.e. u8 ie_len) is not
> handled for processing 80211AC/AX beacon/probe response. ie_len can hold maximum
> integer value of 255. In case of 80211AC/AX, the mesh beacon/probe response IE length
> is more than 255, making ie_len to wrap around and causing failure while parsing
> beacon/probe response IEs in wpa_supplicant.
>
> ie_len type in cfg80211_notify_new_peer_candidate() is modified to u16 to handle this issue.
>
> Issue is found in v4.4.60, issue exists in latest v5.4.0-rc6. Verified the fix in v4.4.60.
[snip]
You cannot send patches as html email :)
johannes
parent reply other threads:[~2019-11-22 12:39 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <CAHG=F9_0VsZ3hFnbD4_eFmr_4D_6Oraqcu+JPOUA=SJ3u9dL9g@mail.gmail.com>]
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=2e0b6e7c1e97d57f392d7a3da843d1357a9a33f7.camel@sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=shashidharac333@gmail.com \
/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).