mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: CVE-2025-40128: btrfs: fix symbolic link reading when bs > ps
       [not found] <2025111253-CVE-2025-40128-2dd9@gregkh>
@ 2025-11-13 10:40 ` David Sterba
  2025-11-13 17:37   ` Greg Kroah-Hartman
  0 siblings, 1 reply; 2+ messages in thread
From: David Sterba @ 2025-11-13 10:40 UTC (permalink / raw)
  To: cve, linux-kernel; +Cc: linux-cve-announce, Greg Kroah-Hartman

On Wed, Nov 12, 2025 at 07:24:04PM +0900, Greg Kroah-Hartman wrote:
> From: Greg Kroah-Hartman <gregkh@kernel.org>
> 
> Description
> ===========
> 
> In the Linux kernel, the following vulnerability has been resolved:
> 
> btrfs: fix symbolic link reading when bs > ps
> 
> [BUG DURING BS > PS TEST]
> When running the following script on a btrfs whose block size is larger
> than page size, e.g. 8K block size and 4K page size, it will trigger a
> kernel BUG:
> 
>   # mkfs.btrfs -s 8k $dev
>   # mount $dev $mnt
>   # mkdir $mnt/dir
>   # ln -s dir $mnt/link
>   # ls $mnt/link

Please drop the CVE status from this patch, the bs > ps (block size
bigger than page size) feature requires CONFIG_BTRFS_EXPERIMENTAL and is
unfinished and possibly unstable in other use cases. It does not make
sense to improve security where none should be expected.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: CVE-2025-40128: btrfs: fix symbolic link reading when bs > ps
  2025-11-13 10:40 ` CVE-2025-40128: btrfs: fix symbolic link reading when bs > ps David Sterba
@ 2025-11-13 17:37   ` Greg Kroah-Hartman
  0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2025-11-13 17:37 UTC (permalink / raw)
  To: David Sterba; +Cc: cve, linux-kernel, linux-cve-announce

On Thu, Nov 13, 2025 at 11:40:08AM +0100, David Sterba wrote:
> On Wed, Nov 12, 2025 at 07:24:04PM +0900, Greg Kroah-Hartman wrote:
> > From: Greg Kroah-Hartman <gregkh@kernel.org>
> > 
> > Description
> > ===========
> > 
> > In the Linux kernel, the following vulnerability has been resolved:
> > 
> > btrfs: fix symbolic link reading when bs > ps
> > 
> > [BUG DURING BS > PS TEST]
> > When running the following script on a btrfs whose block size is larger
> > than page size, e.g. 8K block size and 4K page size, it will trigger a
> > kernel BUG:
> > 
> >   # mkfs.btrfs -s 8k $dev
> >   # mount $dev $mnt
> >   # mkdir $mnt/dir
> >   # ln -s dir $mnt/link
> >   # ls $mnt/link
> 
> Please drop the CVE status from this patch, the bs > ps (block size
> bigger than page size) feature requires CONFIG_BTRFS_EXPERIMENTAL and is
> unfinished and possibly unstable in other use cases. It does not make
> sense to improve security where none should be expected.

Oops, good catch, now rejected, thanks for the review!

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-11-13 17:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <2025111253-CVE-2025-40128-2dd9@gregkh>
2025-11-13 10:40 ` CVE-2025-40128: btrfs: fix symbolic link reading when bs > ps David Sterba
2025-11-13 17:37   ` Greg Kroah-Hartman

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®