CVE-2024-27433 clk: mediatek: mt7622-apmixedsys: Fix an error handling path in clk_mt8135_apmixed_probe()

High 7.8 Published Updated

A double-free vulnerability in the MediaTek clock driver can cause a kernel crash, 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-27433?

CVE-2024-27433 is a high-severity use after free vulnerability in Linux kernel, published on 17 May 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:

clk: mediatek: mt7622-apmixedsys: Fix an error handling path in clk_mt8135_apmixed_probe()

'clk_data' is allocated with mtk_devm_alloc_clk_data(). So calling mtk_free_clk_data() explicitly in the remove function would lead to a double-free.

Remove the redundant call.

Weakness: CWE-415

Which versions are affected by CVE-2024-27433?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-27433?

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-2024-27433 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-27433, DEBIAN-CVE-2024-27433, GHSA-vj9c-27hg-w432, UBUNTU-CVE-2024-27433.

Is CVE-2024-27433 in your software?

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

Check your SBOMs for free