From: Greg KH <gregkh@linuxfoundation.org>
To: Vincenzo Mezzela <vincenzo.mezzela@gmail.com>
Cc: johannes@sipsolutions.net, sashal@kernel.org,
linux-wireless@vger.kernel.org, netdev@vger.kernel.org,
javier.carrasco.cruz@gmail.com, skhan@linuxfoundation.org,
stable@vger.kernel.org, Johannes Berg <johannes.berg@intel.com>,
syzbot+19013115c9786bfd0c4e@syzkaller.appspotmail.com
Subject: Re: [PATCH v5.15] wifi: mac80211: check basic rates validity
Date: Mon, 29 Jul 2024 12:50:38 +0200 [thread overview]
Message-ID: <2024072903-chihuahua-contrite-c1a6@gregkh> (raw)
In-Reply-To: <20240727125033.1774143-1-vincenzo.mezzela@gmail.com>
On Sat, Jul 27, 2024 at 02:50:33PM +0200, Vincenzo Mezzela wrote:
> From: Johannes Berg <johannes.berg@intel.com>
>
> commit ce04abc3fcc62cd5640af981ebfd7c4dc3bded28 upstream.
>
> When userspace sets basic rates, it might send us some rates
> list that's empty or consists of invalid values only. We're
> currently ignoring invalid values and then may end up with a
> rates bitmap that's empty, which later results in a warning.
>
> Reject the call if there were no valid rates.
>
> [ Conflict resolution involved adjusting the patch to accommodate
> changes in the function signature of ieee80211_parse_bitrates,
> specifically the updated first parameter ]
>
> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
> Reported-by: syzbot+19013115c9786bfd0c4e@syzkaller.appspotmail.com
> Tested-by: syzbot+19013115c9786bfd0c4e@syzkaller.appspotmail.com
> Closes: https://syzkaller.appspot.com/bug?extid=19013115c9786bfd0c4e
> Signed-off-by: Vincenzo Mezzela <vincenzo.mezzela@gmail.com>
> ---
> net/mac80211/cfg.c | 21 +++++++++++----------
> 1 file changed, 11 insertions(+), 10 deletions(-)
>
We can't take a patch for 5.15 without it also being in 6.1.y for
obvious reasons. Please provide a working version for that branch
first, and then resend this backport and we will be glad to queue it up.
thanks,
greg k-h
prev parent reply other threads:[~2024-07-29 10:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-27 12:50 [PATCH v5.15] wifi: mac80211: check basic rates validity Vincenzo Mezzela
2024-07-29 10:50 ` Greg KH [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=2024072903-chihuahua-contrite-c1a6@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=javier.carrasco.cruz@gmail.com \
--cc=johannes.berg@intel.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=sashal@kernel.org \
--cc=skhan@linuxfoundation.org \
--cc=stable@vger.kernel.org \
--cc=syzbot+19013115c9786bfd0c4e@syzkaller.appspotmail.com \
--cc=vincenzo.mezzela@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