Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: "Fusong Li 李福松" <fusongli@ieiworld.com.cn>
Cc: "stable@vger.kernel.org" <stable@vger.kernel.org>,
	"linux-ext4@vger.kernel.org" <linux-ext4@vger.kernel.org>,
	Jan Kara <jack@suse.cz>, Theodore Ts'o <tytso@mit.edu>,
	"sashal@kernel.org" <sashal@kernel.org>,
	Edward Adam Davis <eadavis@qq.com>,
	"cve@kernel.org" <cve@kernel.org>
Subject: Re: 6.1.y: missing "ext4: avoid infinite loops caused by residual data" (CVE-2026-31448)
Date: Tue, 24 Nov 2026 15:20:44 +0100	[thread overview]
Message-ID: <2026112424-idealness-sureness-6d9a@gregkh> (raw)
In-Reply-To: <JH0PR04MB74644C65BBF68069425C8B8392442@JH0PR04MB7464.apcprd04.prod.outlook.com>

On Tue, Nov 24, 2026 at 09:50:37AM +0000, Fusong Li 李福松 wrote:
> Hi,
> 
> Upstream commit 5422fe71d26d ("ext4: avoid infinite loops caused by
> residual data") is in 6.6.131, 6.12.80, 6.18.21 and 6.19.11, but 6.1.y
> has no copy of it:
> 
> - c66545e83a80 added it to 6.1.y, and 9594622f8a39 reverted it in the
>   same release (6.1.168), together with the "get rid of ppath" series
>   that it was written against.
> - v6.1.193 still has the old code in ext4_ext_map_blocks():
> 
>       err = ext4_ext_insert_extent(handle, inode, &path, &newex, flags);
>       if (err) {
>               if (allocated_clusters) {
>                       ...
>                       ext4_free_blocks(...);
> 
> 
> 
> The fix does not depend on the ppath rework: on 6.1 it only needs the
> condition change on the old API, i.e.
> 
>       if (allocated_clusters && (err == -EDQUOT || err == -ENOSPC)) {
> 
> Could this be backported to 6.1.y? A patch adapted to the 6.1 API can
> follow if that helps.

You need to provide a working, backported, patch if you wish to see this
applied to this tree.

thanks,

greg k-h

      reply	other threads:[~2026-11-24 14:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24  9:50 6.1.y: missing "ext4: avoid infinite loops caused by residual data" (CVE-2026-31448) Fusong Li 李福松
2026-11-24 14:20 ` 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=2026112424-idealness-sureness-6d9a@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=cve@kernel.org \
    --cc=eadavis@qq.com \
    --cc=fusongli@ieiworld.com.cn \
    --cc=jack@suse.cz \
    --cc=linux-ext4@vger.kernel.org \
    --cc=sashal@kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=tytso@mit.edu \
    /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