Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Srish Srinivasan <srish.srinivasan@broadcom.com>
Cc: stable@vger.kernel.org, agk@redhat.com, snitzer@redhat.com,
	dm-devel@redhat.com, ajay.kaher@broadcom.com,
	alexey.makhalov@broadcom.com, vasavi.sirnapalli@broadcom.com,
	Mikulas Patocka <mpatocka@redhat.com>,
	Mike Snitzer <snitzer@kernel.org>, He Gao <hegao@google.com>
Subject: Re: [PATCH v5.4] dm: limit the number of targets and parameter size area
Date: Tue, 30 Apr 2024 10:49:52 +0200	[thread overview]
Message-ID: <2024043044-eternal-scandal-77ee@gregkh> (raw)
In-Reply-To: <20240430083259.13876-1-srish.srinivasan@broadcom.com>

On Tue, Apr 30, 2024 at 02:02:59PM +0530, Srish Srinivasan wrote:
> From: Mikulas Patocka <mpatocka@redhat.com>
> 
> commit bd504bcfec41a503b32054da5472904b404341a4 upstream.
> 
> The kvmalloc function fails with a warning if the size is larger than
> INT_MAX. The warning was triggered by a syscall testing robot.
> 
> In order to avoid the warning, this commit limits the number of targets to
> 1048576 and the size of the parameter area to 1073741824.
> 
> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
> Signed-off-by: Mike Snitzer <snitzer@kernel.org>
> Signed-off-by: He Gao <hegao@google.com>
> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> [srish: Apply to stable branch linux-5.4.y]
> Signed-off-by: Srish Srinivasan <srish.srinivasan@broadcom.com>

Now queued up, thanks.

greg k-h

      reply	other threads:[~2024-04-30  8:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-30  8:32 [PATCH v5.4] dm: limit the number of targets and parameter size area Srish Srinivasan
2024-04-30  8:49 ` 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=2024043044-eternal-scandal-77ee@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=agk@redhat.com \
    --cc=ajay.kaher@broadcom.com \
    --cc=alexey.makhalov@broadcom.com \
    --cc=dm-devel@redhat.com \
    --cc=hegao@google.com \
    --cc=mpatocka@redhat.com \
    --cc=snitzer@kernel.org \
    --cc=snitzer@redhat.com \
    --cc=srish.srinivasan@broadcom.com \
    --cc=stable@vger.kernel.org \
    --cc=vasavi.sirnapalli@broadcom.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