CVE-2024-50092 net: netconsole: fix wrong warning

Low 3.3 Published Updated

A logic error in the Linux kernel netconsole driver triggers unnecessary warnings, potentially causing log spam or system instability.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-50092?

CVE-2024-50092 is a low-severity denial of service vulnerability in Linux kernel, published on 5 Nov 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2024-50092?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-50092?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-50092 being exploited?

There is no known exploitation of CVE-2024-50092 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-50092, DEBIAN-CVE-2024-50092, GHSA-4pq4-59v5-5mpm, UBUNTU-CVE-2024-50092.

Is CVE-2024-50092 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free