Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Shiraz Saleem <shiraz.saleem@intel.com>
Cc: stable@vger.kernel.org
Subject: Re: [PATCH] RDMA/i40iw: Prevent zero-length STAG registration
Date: Thu, 30 Nov 2023 13:22:00 +0000	[thread overview]
Message-ID: <2023113037-cycle-climatic-8876@gregkh> (raw)
In-Reply-To: <20231129224253.1447-1-shiraz.saleem@intel.com>

On Wed, Nov 29, 2023 at 04:42:53PM -0600, Shiraz Saleem wrote:
> [ Upstream commit  bb6d73d9add68ad270888db327514384dfa44958 ]
> 
> Currently i40iw allows zero-length STAGs to be programmed in HW during
> the kernel mode fast register flow. Zero-length MR or STAG registration
> disable HW memory length checks.
> 
> Improve gaps in bounds checking in irdma by preventing zero-length STAG or
> MR registrations except if the IB_PD_UNSAFE_GLOBAL_RKEY is set.
> 
> This addresses the disclosure CVE-2023-25775.
> 
> i40iw is replaced by irdma upstream starting 5.14, resulting in adjustments
> to upstream commit to support the older APIs.
> 
> The kernel versions to apply this patch are 5.10.x 5.4.x 4.19.x 4.14.x.

We also need a working version for 5.15.y so that you do not have a
regression when you update kernel trees.

thanks,

greg k-h

      reply	other threads:[~2023-11-30 13:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-29 22:42 [PATCH] RDMA/i40iw: Prevent zero-length STAG registration Shiraz Saleem
2023-11-30 13:22 ` 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=2023113037-cycle-climatic-8876@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=shiraz.saleem@intel.com \
    --cc=stable@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