CVE-2024-46739 uio_hv_generic: Fix kernel NULL pointer dereference in hv_uio_rescind

Medium 5.5 Published Updated

A NULL pointer dereference in the Linux kernel's uio_hv_generic driver allows attackers to cause a denial of service.

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-46739?

CVE-2024-46739 is a medium-severity vulnerability in Linux kernel, published on 18 Sep 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:

uio_hv_generic: Fix kernel NULL pointer dereference in hv_uio_rescind

For primary VM Bus channels, primary_channel pointer is always NULL. This pointer is valid only for the secondary channels. Also, rescind callback is meant for primary channels only.

Fix NULL pointer dereference by retrieving the device_obj from the parent for the primary channel.

Weakness: CWE-476

Which versions are affected by CVE-2024-46739?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-46739?

Apply the vendor's patch.

Is CVE-2024-46739 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-49398, BELL-CVE-2024-46739, DEBIAN-CVE-2024-46739, GHSA-w44h-95m4-q297, UBUNTU-CVE-2024-46739.

Is CVE-2024-46739 in your software?

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

Check your SBOMs for free