CVE-2023-53308
NoneCVSS
—
EPSS
0.2%
Published
Sep 16, 2025
CISA due date
—
Cloudanix analysis
A rare error-handling mistake in the Linux kernel's network driver could let the system crash when a network device is being removed.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- High
- Impact
- Denial Of Service
- Component
- OS kernel
- Class
- Use After Free
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
In the Linux kernel FEC driver, pm_runtime_resume_and_get() failure in the remove callback returns an error that the driver core ignores, allowing devm-managed resources such as register mappings to be freed while callbacks may still execute, resulting in use-after-free and potential kernel crash.
Why it matters to the business
Linux systems using the affected FEC driver may experience kernel crashes or instability during device removal or power management events, causing operational downtime for network-dependent workloads; the bug affects the widely deployed Linux kernel.
How an attack unfolds
An attacker with local privileges triggers device removal or a failing pm_runtime condition in the FEC driver; the ignored error permits continued removal and freeing of resources, after which a subsequent callback dereferences the freed mapping to induce a crash or potentially escalate privileges.
How to fix it
Upgrade the Linux kernel to version 4.14.316 or later, or apply the fix from commit d52a0cca591e899d4e5c8ab19e067b4c6b7d104f in the stable repository; rebuild and reboot with the patched kernel.
How to confirm the fix worked
Confirm the running kernel version is at least 4.14.316 or contains commit d52a0cca591e899d4e5c8ab19e067b4c6b7d104f; inspect dmesg or kernel logs after simulated device removal for absence of use-after-free warnings in the FEC driver.
Typical attack path
- Obtain local access to a system using the FEC driver
- Trigger device removal or power management failure causing pm_runtime_get to return an error
- Driver returns error from remove while driver core continues teardown
- devm resources are released while driver callbacks remain active
- Later callback accesses freed register mapping causing use-after-free and crash or code execution
How to detect it
Review kernel logs and crash dumps for oops or panic messages referencing the FEC driver during remove or pm_runtime operations; correlate with device hotplug or suspend/resume events.
What your security team should do
- Prioritize kernel upgrade to a fixed version within standard patch cycles given low EPSS and no KEV listing
- Monitor kernel oops and crash reports for FEC-related use-after-free signatures
- Test power-management and hotplug scenarios on FEC-equipped systems before broad deployment
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | linux | 0 | 5.10.191-1 |
| Debian:12 | linux | 0 | 6.1.37-1 |
| Debian:13 | linux | 0 | 6.3.7-1 |
| Debian:14 | linux | 0 | 6.3.7-1 |
| Linux | Kernel | 0 | 4.14.316 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kernel-default | 0 | 4.12.14-122.275.1 |
| SUSE:Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_73 | 0 | 1-8.3.1 |
| SUSE:Linux Enterprise Server 12 SP5-LTSS | kernel-default | 0 | 4.12.14-122.275.1 |
| SUSE:Linux Enterprise Server 12 SP5-LTSS | kernel-source | 0 | 4.12.14-122.275.1 |
| SUSE:Linux Enterprise Server 12 SP5-LTSS | kernel-syms | 0 | 4.12.14-122.275.1 |
| SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | kernel-default | 0 | 4.12.14-122.275.1 |
| SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | kernel-source | 0 | 4.12.14-122.275.1 |
| SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | kernel-syms | 0 | 4.12.14-122.275.1 |
Related vulnerabilities
- CVE-2025-39885 In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix recursive… Also affects linux
- CVE-2025-39883 In the Linux kernel, the following vulnerability has been resolved: mm/memory-failure… Also affects linux
- CVE-2025-39876 In the Linux kernel, the following vulnerability has been resolved: net: fec: Fix… Also affects linux
- CVE-2025-39869 In the Linux kernel, the following vulnerability has been resolved: dmaengine: ti: edma… Also affects linux
- CVE-2025-39873 In the Linux kernel, the following vulnerability has been resolved: can: xilinx_can… Also affects linux
- CVE-2025-39863 In the Linux kernel, the following vulnerability has been resolved: wifi: brcmfmac: fix… Also affects linux
- CVE-2025-39865 In the Linux kernel, the following vulnerability has been resolved: tee: fix NULL pointer… Also affects linux
- CVE-2025-39866 In the Linux kernel, the following vulnerability has been resolved: fs: writeback: fix… Also affects linux