CVE-2023-53308 net: fec: Better handle pm_runtime_get() failing in .remove()

High 7.8 Published Updated

A flaw in the Linux kernel FEC network driver causes a crash when device removal fails, 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-2023-53308?

CVE-2023-53308 is a high-severity vulnerability in Linux kernel, published on 16 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: fec: Better handle pm_runtime_get() failing in .remove()

In the (unlikely) event that pm_runtime_get() (disguised as pm_runtime_resume_and_get()) fails, the remove callback returned an error early. The problem with this is that the driver core ignores the error value and continues removing the device. This results in a resource leak. Worse the devm allocated resources are freed and so if a callback of the driver is called later the register mapping is already gone which probably results in a crash.

Weakness: CWE-415

Which versions are affected by CVE-2023-53308?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-53308?

Apply the vendor's patch.

Is CVE-2023-53308 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-53308, DEBIAN-CVE-2023-53308, GHSA-jfrx-9667-j4w3, UBUNTU-CVE-2023-53308.

Is CVE-2023-53308 in your software?

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

Check your SBOMs for free