CVE-2024-56725 octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_dcbnl.c

Medium 5.5 Published Updated

A missing error check in the Marvell OcteonTX2 network driver can lead to a null pointer dereference and system crash.

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

CVE-2024-56725 is a medium-severity vulnerability in Linux kernel, published on 29 Dec 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:

octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_dcbnl.c

Add error pointer check after calling otx2_mbox_get_rsp().

Weakness: CWE-754

Which versions are affected by CVE-2024-56725?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-56725?

Apply the vendor's patch.

Is CVE-2024-56725 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-55289, BELL-CVE-2024-56725, DEBIAN-CVE-2024-56725, GHSA-fmfx-vcm3-x4fp, UBUNTU-CVE-2024-56725.

Is CVE-2024-56725 in your software?

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

Check your SBOMs for free