From: Greg KH <gregkh@linuxfoundation.org>
To: Borislav Petkov <bp@alien8.de>
Cc: dinguyen@kernel.org, stable@vger.kernel.org
Subject: Re: FAILED: patch "[PATCH] EDAC/altera: Fix memory leak on dci allocation failure" failed to apply to 5.15-stable tree
Date: Mon, 5 Oct 2026 16:51:24 +0200 [thread overview]
Message-ID: <2026100558-empty-water-c908@gregkh> (raw)
In-Reply-To: <20261005142732.GBasOz1POO8wYBLJC2@fat_crate.local>
On Mon, Oct 05, 2026 at 07:27:32AM -0700, Borislav Petkov wrote:
> On Mon, Oct 05, 2026 at 12:27:24PM +0200, gregkh@linuxfoundation.org wrote:
> >
> > The patch below does not apply to the 5.15-stable tree.
> > If someone wants it applied there, or to any other stable or longterm
> > tree, then please email the backport, including the original git commit
> > id to <stable@vger.kernel.org>.
> >
> > To reproduce the conflict and resubmit, you may use the following commands:
> >
> > git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-5.15.y
> > git checkout FETCH_HEAD
> > git cherry-pick -x 3e4a10a4718e3d963ee4d6c5f26bc5ad57c1d2b1
> > # <resolve conflicts, build, test, etc.>
> > git commit -s
> > git send-email --to '<stable@vger.kernel.org>' --in-reply-to '2026100524-payer-capricorn-e50f@gregkh' --subject-prefix 'PATCH 5.15.y' 'HEAD^..'
> >
> > Possible dependencies:
> >
> >
> >
> > thanks,
> >
> > greg k-h
> >
> > ------------------ original commit in Linus's tree ------------------
> >
> > From 3e4a10a4718e3d963ee4d6c5f26bc5ad57c1d2b1 Mon Sep 17 00:00:00 2001
> > From: Dinh Nguyen <dinguyen@kernel.org>
> > Date: Fri, 11 Sep 2026 07:06:26 -0500
> > Subject: [PATCH] EDAC/altera: Fix memory leak on dci allocation failure
> >
> > Sashiko reports:
> >
> > "If devres_open_group() fails, the function returns -ENOMEM without freeing the
> > dci structure allocated earlier with edac_device_alloc_ctl_info()."
> >
> > Free the dci structure if devres_open_group() fails.
> >
> > Fixes: c3eea1942a16 ("EDAC, altera: Add Altera L2 cache and OCRAM support")
> > Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
> > Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
> > Cc: stable@vger.kernel.org # 6.18+
> ^^^^^
>
> You probably should drop all backports before 6.18.
>
> Like we marked it!!! :-P
Ugh, but the Fixes: tag points at 4.6, so which do I believe? :)
thanks for letting me know.
greg k-h
next prev parent reply other threads:[~2026-10-05 14:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-05 10:27 FAILED: patch "[PATCH] EDAC/altera: Fix memory leak on dci allocation failure" failed to apply to 5.15-stable tree gregkh
2026-10-05 14:27 ` Borislav Petkov
2026-10-05 14:51 ` Greg KH [this message]
2026-10-05 14:57 ` Borislav Petkov
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=2026100558-empty-water-c908@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=bp@alien8.de \
--cc=dinguyen@kernel.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.