CVE-2024-55639 net: renesas: rswitch: avoid use-after-put for a device tree node

High 8.4 Published Updated

A use-after-free vulnerability in the Renesas rswitch network driver allows attackers to cause denial of service or potentially execute code.

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

CVE-2024-55639 is a high-severity use after free vulnerability in Linux kernel, published on 11 Jan 2025. 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: renesas: rswitch: avoid use-after-put for a device tree node

The device tree node saved in the rswitch_device structure is used at several driver locations. So passing this node to of_node_put() after the first use is wrong.

Move of_node_put() for this node to exit paths.

Which versions are affected by CVE-2024-55639?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-55639?

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

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-55639, DEBIAN-CVE-2024-55639, GHSA-ff8h-hp46-6356, UBUNTU-CVE-2024-55639.

Is CVE-2024-55639 in your software?

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

Check your SBOMs for free