[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2024110551-CVE-2024-50092-b565@gregkh>
Date: Tue, 5 Nov 2024 18:04:52 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2024-50092: net: netconsole: fix wrong warning
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
net: netconsole: fix wrong warning
A warning is triggered when there is insufficient space in the buffer
for userdata. However, this is not an issue since userdata will be sent
in the next iteration.
Current warning message:
------------[ cut here ]------------
WARNING: CPU: 13 PID: 3013042 at drivers/net/netconsole.c:1122 write_ext_msg+0x3b6/0x3d0
? write_ext_msg+0x3b6/0x3d0
console_flush_all+0x1e9/0x330
The code incorrectly issues a warning when this_chunk is zero, which is
a valid scenario. The warning should only be triggered when this_chunk
is negative.
The Linux kernel CVE team has assigned CVE-2024-50092 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.9 with commit 1ec9daf95093 and fixed in 6.11.4 with commit 712a3af37102
Issue introduced in 6.9 with commit 1ec9daf95093 and fixed in 6.12-rc3 with commit d94785bb46b6
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2024-50092
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/net/netconsole.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/712a3af3710263444217df54e7f337f99df198d2
https://git.kernel.org/stable/c/d94785bb46b6167382b1de3290eccc91fa98df53
Powered by blists - more mailing lists