CVE-2024-42113 net: txgbe: initialize num_q_vectors for MSI/INTx interrupts

Medium 5.5 Published Updated

An uninitialized variable in the txgbe network driver causes a kernel panic when using MSI or INTx interrupts, leading to 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-42113?

CVE-2024-42113 is a medium-severity vulnerability in Linux kernel, published on 30 Jul 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: txgbe: initialize num_q_vectors for MSI/INTx interrupts

When using MSI/INTx interrupts, wx->num_q_vectors is uninitialized. Thus there will be kernel panic in wx_alloc_q_vectors() to allocate queue vectors.

Weakness: CWE-908

Which versions are affected by CVE-2024-42113?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-42113?

Apply the vendor's patch.

Is CVE-2024-42113 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-42113, DEBIAN-CVE-2024-42113, GHSA-6995-2c6p-5jpr, UBUNTU-CVE-2024-42113.

Is CVE-2024-42113 in your software?

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

Check your SBOMs for free