mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: ZhengYuan Huang <gality369@gmail.com>
Cc: mark@fasheh.com, jlbec@evilplan.org, joseph.qi@linux.alibaba.com,
	ocfs2-devel@lists.linux.dev, linux-kernel@vger.kernel.org,
	baijiaju1990@gmail.com, r33s3n6@gmail.com, zzzccc427@gmail.com
Subject: Re: [PATCH v2] ocfs2: reject inconsistent local xattr entries
Date: Wed, 26 Aug 2026 19:14:33 -0700	[thread overview]
Message-ID: <20260826191433.c9208982c4eb7ff97f755969@linux-foundation.org> (raw)
In-Reply-To: <20260806085012.2650042-1-gality369@gmail.com>

On Thu,  6 Aug 2026 16:50:12 +0800 ZhengYuan Huang <gality369@gmail.com> wrote:

> [BUG]
> A corrupt OCFS2 xattr entry can set OCFS2_XATTR_ENTRY_LOCAL while
> keeping xe_value_size larger than OCFS2_XATTR_INLINE_SIZE. When that
> entry reaches namevalue_size_xe(), the filesystem hits its BUG_ON:
> 
> kernel BUG at fs/ocfs2/xattr.c:231!
>
> ...
>
> [FIX]
>
> ...

Thanks.  AI review might have found several issues - two are
pre-existing and two introduced by this patch:

	https://sashiko.dev/#/patchset/20260806085012.2650042-1-gality369@gmail.com

  parent reply	other threads:[~2026-08-27  2:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-06  8:50 ZhengYuan Huang
2026-08-26  3:46 ` Joseph Qi
2026-08-27  2:14 ` Andrew Morton [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-04-16  4:57 gality369

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=20260826191433.c9208982c4eb7ff97f755969@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=baijiaju1990@gmail.com \
    --cc=gality369@gmail.com \
    --cc=jlbec@evilplan.org \
    --cc=joseph.qi@linux.alibaba.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark@fasheh.com \
    --cc=ocfs2-devel@lists.linux.dev \
    --cc=r33s3n6@gmail.com \
    --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

all inboxes | Powered by JetHome®