public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: "Miguel García" <miguelgarciaroman8@gmail.com>
Cc: stable@vger.kernel.org, skhan@linuxfoundation.org,
	Konstantin Komarov <almaz.alexandrovich@paragon-software.com>,
	syzbot+010986becd65dbf9464b@syzkaller.appspotmail.com
Subject: Re: [PATCH 5.15.y] fs/ntfs3: Fix shift-out-of-bounds in ntfs_fill_super
Date: Mon, 10 Mar 2025 17:20:22 +0100	[thread overview]
Message-ID: <2025031013-crabmeat-spectator-aa37@gregkh> (raw)
In-Reply-To: <20250310084820.20680-1-miguelgarciaroman8@gmail.com>

On Mon, Mar 10, 2025 at 09:48:21AM +0100, Miguel García wrote:
> From: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
> 
> commit 91a4b1ee78cb100b19b70f077c247f211110348f upstream.
> 
> This patch is a backport and fixes an UBSAN warning about shift-out-of-bounds in
> ntfs_fill_super() function of the NTFS3 driver. The original code
> incorrectly calculated MFT record size, causing undefined behavior
> when performing bit shifts with values that exceed type limits.
> 
> The fix has been verified by executing the syzkaller reproducer test case.
> After applying this patch, the system successfully handles the test case
> without kernel panic or UBSAN warnings.
> 
> Bug: https://syzkaller.appspot.com/bug?extid=010986becd65dbf9464b
> Reported-by: syzbot+010986becd65dbf9464b@syzkaller.appspotmail.com
> Cc: <stable@vger.kernel.org>
> Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
> Signed-off-by: Miguel Garcia Roman <miguelgarciaroman8@gmail.com>
> (cherry picked from commit 91a4b1ee78cb100b19b70f077c247f211110348f)
> ---
>  fs/ntfs3/ntfs_fs.h |  2 ++
>  fs/ntfs3/super.c   | 63 +++++++++++++++++++++++++++++++++++-----------
>  2 files changed, 50 insertions(+), 15 deletions(-)

Why was this resent?

confused,

greg k-h

  reply	other threads:[~2025-03-10 16:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-09 14:56 [PATCH 5.15.y] fs/ntfs3: Fix shift-out-of-bounds in ntfs_fill_super Miguel García
2025-03-10  2:14 ` Sasha Levin
2025-03-10  8:48   ` Miguel García
2025-03-10 16:20     ` Greg KH [this message]
2025-03-13  9:08     ` Sasha Levin
2025-03-10 16:21 ` Greg KH
2025-03-10 17:19   ` [PATCH 6.1.y] " Miguel García
2025-03-13  9:11     ` Sasha Levin
  -- strict thread matches above, loose matches on Subject: below --
2025-03-09 14:54 [PATCH 5.15.y] " Miguel García
2025-03-10  2:14 ` Sasha Levin

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=2025031013-crabmeat-spectator-aa37@gregkh \
    --to=greg@kroah.com \
    --cc=almaz.alexandrovich@paragon-software.com \
    --cc=miguelgarciaroman8@gmail.com \
    --cc=skhan@linuxfoundation.org \
    --cc=stable@vger.kernel.org \
    --cc=syzbot+010986becd65dbf9464b@syzkaller.appspotmail.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