CVE-2024-53165 sh: intc: Fix use-after-free bug in register_intc_controller()

High 7.4 Published Updated

A use-after-free bug in the Linux kernel's SH interrupt controller allows attackers to potentially execute code or escalate privileges.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-53165?

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

sh: intc: Fix use-after-free bug in register_intc_controller()

In the error handling for this function, d is freed without ever removing it from intc_list which would lead to a use after free. To fix this, let's only add it to the list after everything has succeeded.

Weakness: CWE-416

Which versions are affected by CVE-2024-53165?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-53165?

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-53165 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-55521, BELL-CVE-2024-53165, DEBIAN-CVE-2024-53165, GHSA-fpvp-p3gv-cf29, ROOT-OS-DEBIAN-11-CVE-2024-53165, UBUNTU-CVE-2024-53165.

Is CVE-2024-53165 in your software?

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

Check your SBOMs for free