Re: CVE-2024-41067: btrfs: scrub: handle RST lookup error correctly

From: Greg Kroah-Hartman
Date: Wed Jul 31 2024 - 10:49:31 EST


On Wed, Jul 31, 2024 at 04:34:42PM +0200, David Sterba wrote:
> On Tue, Jul 30, 2024 at 06:53:40AM +0200, Greg Kroah-Hartman wrote:
> > > > The Linux kernel CVE team has assigned CVE-2024-41067 to this issue.
> > >
> > > Please drop the CVE. It's a fix for feature that's still in development
> > > and is not enabled on production kernels (requires CONFIG_BTRFS_DEBUG).
> >
> > We do not know people's use case, and can not "gate" CVE ids based on
> > difference config options like this.
>
> The use case are early adopters for a known unfinished feature where
> instabilty could happen and there are known problems like lockups. It's
> behind the config option for that purpose so bugs are reported but don't
> have to be treated as security.

You can treat config options like this, yes, but we can't for listing of
vulnerabilities.

> > > There was even a recent on-disk format change (mkfs required), this is
> > > not really for environments where security matters. Thanks.
> >
> > It's a fix for a vulnerability, so I think it should stay assigned. If
> > your system does not enable that config option, then there is nothing to
> > worry about, right?
>
> It's not a vulnerability unless you define that very extensively. My
> systems don't enable that, distro kernels don't enable that, so there's
> nothing to worry about. Conclusiion is not to assign a CVE, right.
> Otherwise it only increases paperwork.

We don't control random company's need/want for paperwork, sorry. We
are tasked with reporting all fixed vulnerabilities, and as always, we
do not know your use case (nor do we want to.) So, should be an easy
"this does not pertain to us" check box to tick somewhere if what you
say above is true for your systems.

thanks,

greg k-h