public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: ZhengYuan Huang <gality369@gmail.com>
Cc: tytso@mit.edu, adilger.kernel@dilger.ca, tahsin@google.com,
	linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org,
	baijiaju1990@gmail.com, r33s3n6@gmail.com, zzzccc427@gmail.com,
	stable@vger.kernel.org
Subject: Re: [PATCH] ext4: xattr: fix out-of-bounds access in ext4_xattr_set_entry
Date: Wed, 18 Mar 2026 09:09:52 +0100	[thread overview]
Message-ID: <2026031838-knoll-clammy-6446@gregkh> (raw)
In-Reply-To: <20260318075842.3341370-1-gality369@gmail.com>

On Wed, Mar 18, 2026 at 03:58:42PM +0800, ZhengYuan Huang wrote:
> [BUG]
> KASAN reports show out-of-bounds and use-after-free memory accesses when
> ext4_xattr_set_entry() processes corrupted on-disk xattr entries:

Does runing fsck on the disk image before mounting it catch this error?

thanks,

greg k-h

  reply	other threads:[~2026-03-18  8:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-18  7:58 [PATCH] ext4: xattr: fix out-of-bounds access in ext4_xattr_set_entry ZhengYuan Huang
2026-03-18  8:09 ` Greg KH [this message]
2026-03-18 14:45 ` Theodore Tso
2026-03-19 11:13   ` ZhengYuan Huang
2026-03-19 13:58     ` Theodore Tso
2026-03-20  7:43       ` ZhengYuan Huang
2026-03-20 12:32         ` Theodore Tso

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=2026031838-knoll-clammy-6446@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=adilger.kernel@dilger.ca \
    --cc=baijiaju1990@gmail.com \
    --cc=gality369@gmail.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=r33s3n6@gmail.com \
    --cc=stable@vger.kernel.org \
    --cc=tahsin@google.com \
    --cc=tytso@mit.edu \
    --cc=zzzccc427@gmail.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