Re: CVE-2024-26904: btrfs: fix data race at btrfs_use_block_rsv() when accessing block reserve

From: Greg Kroah-Hartman
Date: Tue May 21 2024 - 03:05:36 EST


On Mon, May 20, 2024 at 05:23:14PM +0100, Filipe Manana wrote:
> On Wed, Apr 17, 2024 at 12:29:19PM +0200, Greg Kroah-Hartman wrote:
> > Description
> > ===========
> >
> > In the Linux kernel, the following vulnerability has been resolved:
> >
> > btrfs: fix data race at btrfs_use_block_rsv() when accessing block reserve
>
> May I ask why is this classified a CVE?
>
> How can a malicious user exploit this to do something harmful?
>
> The race was solved to silence KCSAN warnings, as from time to time we have
> someone reporting it, but other than that, it should be harmless.

Oops, you are right, the line "BUG:" triggered our review to tag this as
a CVE. I'll go reject it now, thanks for the review.

greg k-h