CVE-2023-53170 net: dsa: Removed unneeded of_node_put in felix_parse_ports_node

High 7.8 Published Updated

A double free vulnerability in the Linux kernel DSA driver can lead to resource leaks or system instability, requiring a kernel patch.

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-2023-53170?

CVE-2023-53170 is a high-severity use after free vulnerability in Linux kernel, published on 15 Sep 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: dsa: Removed unneeded of_node_put in felix_parse_ports_node

Remove unnecessary of_node_put from the continue path to prevent child node from being released twice, which could avoid resource leak or other unexpected issues.

Which versions are affected by CVE-2023-53170?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-53170?

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-2023-53170 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-53170, DEBIAN-CVE-2023-53170, GHSA-794c-87f2-rm5g, UBUNTU-CVE-2023-53170.

Is CVE-2023-53170 in your software?

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

Check your SBOMs for free