Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: zilin@seu.edu.cn, pmenzel@molgen.mpg.de,
	aleksandr.loktionov@intel.com, sx.rinitha@intel.com,
	anthony.l.nguyen@intel.com, stable@vger.kernel.org
Cc: Sasha Levin <sashal@kernel.org>, Rajani Kantha <681739313@139.com>
Subject: Re: [PATCH 6.1.y] ice: Fix memory leak in ice_set_ringparam()
Date: Mon, 11 May 2026 10:21:53 -0400	[thread overview]
Message-ID: <20260511141441.stable-reply-0004@kernel.org> (raw)
In-Reply-To: <20260511092213.3267-1-681739313@139.com>

On Mon, May 11, 2026 at 05:22:13PM +0800, Rajani Kantha wrote:
> From: Zilin Guan <zilin@seu.edu.cn>
>
> [ Upstream commit fe868b499d16f55bbeea89992edb98043c9de416 ]
>
> In ice_set_ringparam, tx_rings and xdp_rings are allocated before
> rx_rings. If the allocation of rx_rings fails, the code jumps to
> the done label leaking both tx_rings and xdp_rings.

Queued for 6.1, thanks.

--
Sasha

      reply	other threads:[~2026-05-11 14:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-11  9:22 [PATCH 6.1.y] ice: Fix memory leak in ice_set_ringparam() Rajani Kantha
2026-05-11 14:21 ` Sasha Levin [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=20260511141441.stable-reply-0004@kernel.org \
    --to=sashal@kernel.org \
    --cc=681739313@139.com \
    --cc=aleksandr.loktionov@intel.com \
    --cc=anthony.l.nguyen@intel.com \
    --cc=pmenzel@molgen.mpg.de \
    --cc=stable@vger.kernel.org \
    --cc=sx.rinitha@intel.com \
    --cc=zilin@seu.edu.cn \
    /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