CVE-2023-54307 json
ptp_qoriq: fix memory leak in probe()
published 2025-12-30 10 mo ago modified 2026-06-17 4 mo ago also EUVD-2023-60497
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 10%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.4.240, 5.10.177, 5.15.106, 6.1.23, 6.2.10, 6.3
- linux Debian 14, Debian 13, Debian 12 6.1.25-1
debian advisories DEBIAN-CVE-2023-54307
- linux Ubuntu 20.04 LTS 5.4.0-156.173
- linux Ubuntu 22.04 LTS 5.15.0-79.86
- linux-aws Ubuntu 20.04 LTS 5.4.0-1107.115
- linux-aws Ubuntu 22.04 LTS 5.15.0-1042.47
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1110.119
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1039.47
- linux-gke Ubuntu 22.04 LTS 5.15.0-1039.44
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1054.59
ubuntu advisories UBUNTU-CVE-2023-54307
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- git.kernel.org/stable/c/46c4993a1514eea3bbc7147d0c81c23cc06c6bed commit
- git.kernel.org/stable/c/3907fcb5a439933cf8c10d6dc300bc11eba30de3 commit
- git.kernel.org/stable/c/c0de1a26e6595b0e7969c5b35990a77a2d93104f commit
- git.kernel.org/stable/c/43b4331ce0cd88ccba425e0702ba35c1a52daccf commit
- git.kernel.org/stable/c/c960785c8168d0e572101ed921b9be3934ed0bc9 commit
- git.kernel.org/stable/c/f33642224e38d7e0d59336e10e7b4e370b1c4506 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-54307 updated
kernel: ptp_qoriq: fix memory leak in probe()
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.21% chance of exploitation in the next 30 days, higher than 10% of all scored CVEs (FIRST EPSS, 2026-11-08).
Affected products
- Linux Linux
Classification
- Technology feeds
References
- git.kernel.org /stable/c/46c4993a1514eea3bbc7147d0c81c23cc06c6bed
- git.kernel.org /stable/c/3907fcb5a439933cf8c10d6dc300bc11eba30de3
- git.kernel.org /stable/c/c0de1a26e6595b0e7969c5b35990a77a2d93104f
- git.kernel.org /stable/c/43b4331ce0cd88ccba425e0702ba35c1a52daccf
- git.kernel.org /stable/c/c960785c8168d0e572101ed921b9be3934ed0bc9
- git.kernel.org /stable/c/f33642224e38d7e0d59336e10e7b4e370b1c4506
Sources
- CVE List CVE-2023-54307
- NVD CVE-2023-54307
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.