CVE-2023-3439 Use after free in Linux Kernel (mctp)

Medium 4.7 Published Updated

A use-after-free flaw in the Linux kernel MCTP protocol allows attackers to cause a denial of service when a network card detaches.

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-2023-3439?

CVE-2023-3439 is a medium-severity use after free vulnerability in Linux kernel, published on 28 Jun 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A flaw was found in the MCTP protocol in the Linux kernel. The function mctp_unregister() reclaims the device's relevant resource when a netcard detaches. However, a running routine may be unaware of this and cause the use-after-free of the mdev->addrs object, potentially leading to a denial of service.

Weakness: CWE-416

Which versions are affected by CVE-2023-3439?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-3439?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2023-3439 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-27329, AZL-27348, DEBIAN-CVE-2023-3439, GHSA-wh7q-2hgq-2xj7, UBUNTU-CVE-2023-3439.

Is CVE-2023-3439 in your software?

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

Check your SBOMs for free