CVE-2024-50206 net: ethernet: mtk_eth_soc: fix memory corruption during fq dma init

Critical 9.8 Published Updated

A memory corruption vulnerability in the Linux kernel's MediaTek Ethernet driver allows attackers to cause denial of service or execute arbitrary code.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-50206?

CVE-2024-50206 is a critical memory corruption vulnerability in Linux kernel, published on 8 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

net: ethernet: mtk_eth_soc: fix memory corruption during fq dma init

The loop responsible for allocating up to MTK_FQ_DMA_LENGTH buffers must only touch as many descriptors, otherwise it ends up corrupting unrelated memory. Fix the loop iteration count accordingly.

Weakness: CWE-787

Which versions are affected by CVE-2024-50206?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-50206?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-50206 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-50206, DEBIAN-CVE-2024-50206, GHSA-w2hm-jj7v-qvjx, UBUNTU-CVE-2024-50206.

Is CVE-2024-50206 in your software?

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

Check your SBOMs for free