From: Joseph Qi <joseph.qi@linux.alibaba.com>
To: lei lu <llfamsec@gmail.com>,
Linus Torvalds <torvalds@linuxfoundation.org>
Cc: security@kernel.org, ocfs2-devel@lists.linux.dev,
Mark Fasheh <mark@fasheh.com>, Joel Becker <jlbec@evilplan.org>,
Ferry Meng <mengferry@linux.alibaba.com>
Subject: Re: An out-of-bound in OCFS2
Date: Wed, 15 May 2024 09:42:00 +0800 [thread overview]
Message-ID: <228d5e29-935c-46ca-b554-e3f4dff5fe09@linux.alibaba.com> (raw)
In-Reply-To: <CAHk-=wgrV_hb1ZuvxvhRF8=5R5SxeNUkpA7NVg2-7HcM1TKQaw@mail.gmail.com>
Thanks for reporting this issue.
I'll take a look at it.
Cc ocfs2-devel@lists.linux.dev as well.
Thanks,
Joseph
On 5/15/24 2:09 AM, Linus Torvalds wrote:
> On Tue, 14 May 2024 at 10:28, lei lu <llfamsec@gmail.com> wrote:
>>
>> I found an out-of-bound in OCFS2 file system.
>>
>> There is a lack of verification for ocfs2_xattr_entry.xe_name_offset.
>>
>> PoC:
>> 1) xh_entries.xe_name_offset: 0xffff
>> ocfs2_xattr_header.xd_count: 0xa (10)
>> ocfs2_xattr_header.xh_num_buckets: 0x0 (0)
>> ocfs2_xattr_header.xh_entries[0].xe_name_offset: 0xffff (65535)
>> ocfs2_xattr_header.xh_entries[0].xe_name_len: 0x5 (5)
>> ocfs2_xattr_header.xh_entries[0].name:
>> ocfs2_xattr_header.xh_entries[0].xe_type: 1
>>
>> KASAN report: [..]
>
> I have forwarded the original to ocfs2 people who are also cc'd here as well.
>
> Please keep everybody on the participants list for any questions or
> further info on this,
>
> Linus
parent reply other threads:[~2024-05-15 1:42 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <CAHk-=wgrV_hb1ZuvxvhRF8=5R5SxeNUkpA7NVg2-7HcM1TKQaw@mail.gmail.com>]
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=228d5e29-935c-46ca-b554-e3f4dff5fe09@linux.alibaba.com \
--to=joseph.qi@linux.alibaba.com \
--cc=jlbec@evilplan.org \
--cc=llfamsec@gmail.com \
--cc=mark@fasheh.com \
--cc=mengferry@linux.alibaba.com \
--cc=ocfs2-devel@lists.linux.dev \
--cc=security@kernel.org \
--cc=torvalds@linuxfoundation.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.