Bug 2323948 (CVE-2024-50092) - CVE-2024-50092 kernel: net: netconsole: fix wrong warning
Summary: CVE-2024-50092 kernel: net: netconsole: fix wrong warning
Keywords:
Status: NEW
Alias: CVE-2024-50092
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2324009
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-11-05 18:04 UTC by OSIDB Bzimport
Modified: 2025-02-05 18:43 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-11-05 18:04:00 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.