2024-06-11 08:54:15

by Vegard Nossum

[permalink] [raw]
Subject: Re: CVE-2024-26831: net/handshake: Fix handshake_req_destroy_test1


On 17/04/2024 11:44, Greg Kroah-Hartman wrote:
> Description
> ===========
>
> In the Linux kernel, the following vulnerability has been resolved:
>
> net/handshake: Fix handshake_req_destroy_test1
>
> Recently, handshake_req_destroy_test1 started failing:

[...]

> Affected files
> ==============
>
> The file(s) affected by this issue are:
> net/handshake/handshake-test.c

Hi,

This patch
(https://git.kernel.org/torvalds/c/4e1d71cabb19ec2586827adfc60d68689c68c194)
fixes a kunit test; we therefore believe this is not a vulnerability.

Thanks,


Vegard


2024-06-13 14:03:58

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: CVE-2024-26831: net/handshake: Fix handshake_req_destroy_test1

On Tue, Jun 11, 2024 at 10:21:47AM +0200, Vegard Nossum wrote:
>
> On 17/04/2024 11:44, Greg Kroah-Hartman wrote:
> > Description
> > ===========
> >
> > In the Linux kernel, the following vulnerability has been resolved:
> >
> > net/handshake: Fix handshake_req_destroy_test1
> >
> > Recently, handshake_req_destroy_test1 started failing:
>
> [...]
>
> > Affected files
> > ==============
> >
> > The file(s) affected by this issue are:
> > net/handshake/handshake-test.c
>
> Hi,
>
> This patch
> (https://git.kernel.org/torvalds/c/4e1d71cabb19ec2586827adfc60d68689c68c194)
> fixes a kunit test; we therefore believe this is not a vulnerability.

Many systems build kunit tests into the kernels they ship to customers
(hint, a few hundred million phones have them enabled...) So if your
system does build this one, then it is an issue for you.

If you don't build it, wonderful, not a problem! But we can't just not
assign a CVE just because someone might not build this file, again, we
do not know use cases, which is why we have to assign CVEs for all files
that could be built as part of a kernel image (but not for the userspace
test stuff.)

thanks,

greg k-h