CVE-2023-54307

Linux Kernel - Memory Leak in ptp_qoriq Probe Function

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: ptp_qoriq: fix memory leak in probe() Smatch complains that: drivers/ptp/ptp_qoriq.c ptp_qoriq_probe() warn: 'base' from ioremap() not released. Fix this by revising the parameter from 'ptp_qoriq->base' to 'base'. This is only a bug if ptp_qoriq_init() returns on the first -ENODEV error path. For other error paths ptp_qoriq->base and base are the same. And this change makes the code more readable.

Scores

EPSS 0.0018
EPSS Percentile 7.8%

Details

Status published
Products (19)
linux/Kernel 5.11.0 - 5.15.106linux
linux/Kernel 5.16.0 - 6.1.23linux
linux/Kernel 5.2.0 - 5.4.240linux
linux/Kernel 5.5.0 - 5.10.177linux
linux/Kernel 6.2.0 - 6.2.10linux
Linux/Linux < 5.2
Linux/Linux 5.10.177 - 5.10.*
Linux/Linux 5.15.106 - 5.15.*
Linux/Linux 5.2
Linux/Linux 5.4.240 - 5.4.*
... and 9 more
Published Dec 30, 2025
Tracked Since Feb 18, 2026