CVE-2023-54307

ptp_qoriq: fix memory leak in probe()

published December 30, 2025

CVSS
—
EPSS
0%
Percentile
10.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00205 · 10.0th percentile
Published
2025-12-30T12:23Z
EPSS history
Timeline
  • 30 DEC 12:23Z
    ptp_qoriq: fix memory leak in probe()
    cvelistv5