CVE-2023-54307
ptp_qoriq: fix memory leak in probe()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 7f4399ba405b6201fb318b43091703a34b1489ab, < 46c4993a1514eea3bbc7147d0c81c23cc06c6bed; >= 7f4399ba405b6201fb318b43091703a34b1489ab, < 3907fcb5a439933cf8c10d6dc300bc11eba30de3; >= 7f4399ba405b6201fb318b43091703a34b1489ab, < c0de1a26e6595b0e7969c5b35990a77a2d93104f; >= 7f4399ba405b6201fb318b43091703a34b1489ab, < 43b4331ce0cd88ccba425e0702ba35c1a52daccf; >= 7f4399ba405b6201fb318b43091703a34b1489ab, < c960785c8168d0e572101ed921b9be3934ed0bc9; >= 7f4399ba405b6201fb318b43091703a34b1489ab, < f33642224e38d7e0d59336e10e7b4e370b1c4506
- Anyone running Linux 5.2
Vulnerability facts
- Affected
- Linux >= 7f4399ba405b6201fb318b43091703a34b1489ab, < 46c4993a1514eea3bbc7147d0c81c23cc06c6bed; >= 7f4399ba405b6201fb318b43091703a34b1489ab, < 3907fcb5a439933cf8c10d6dc300bc11eba30de3; >= 7f4399ba405b6201fb318b43091703a34b1489ab, < c0de1a26e6595b0e7969c5b35990a77a2d93104f; >= 7f4399ba405b6201fb318b43091703a34b1489ab, < 43b4331ce0cd88ccba425e0702ba35c1a52daccf; >= 7f4399ba405b6201fb318b43091703a34b1489ab, < c960785c8168d0e572101ed921b9be3934ed0bc9; >= 7f4399ba405b6201fb318b43091703a34b1489ab, < f33642224e38d7e0d59336e10e7b4e370b1c4506; Linux 5.2
- Fixed in
- Linux 46c4993a1514eea3bbc7147d0c81c23cc06c6bed, Linux 3907fcb5a439933cf8c10d6dc300bc11eba30de3, Linux 43b4331ce0cd88ccba425e0702ba35c1a52daccf
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.27% chance of exploitation in 30 days (percentile 11, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 7f4399ba405b6201fb318b43091703a34b1489ab, < 46c4993a1514eea3bbc7147d0c81c23cc06c6bed; >= 7f4399ba405b6201fb318b43091703a34b1489ab, < 3907fcb5a439933cf8c10d6dc300bc11eba30de3; >= 7f4399ba405b6201fb318b43091703a34b1489ab, < c0de1a26e6595b0e7969c5b35990a77a2d93104f; >= 7f4399ba405b6201fb318b43091703a34b1489ab, < 43b4331ce0cd88ccba425e0702ba35c1a52daccf; >= 7f4399ba405b6201fb318b43091703a34b1489ab, < c960785c8168d0e572101ed921b9be3934ed0bc9; >= 7f4399ba405b6201fb318b43091703a34b1489ab, < f33642224e38d7e0d59336e10e7b4e370b1c4506 | — | cvelist |
| Linux | 5.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-54307. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-54307.md Affected: Linux >= 7f4399ba405b6201fb318b43091703a34b1489ab, < 46c4993a1514eea3bbc7147d0c81c23cc06c6bed; >= 7f4399ba405b6201fb318b43091703a34b1489ab, < 3907fcb5a439933cf8c10d6dc300bc11eba30de3; >= 7f4399ba405b6201fb318b43091703a34b1489ab, < c0de1a26e6595b0e7969c5b35990a77a2d93104f; >= 7f4399ba405b6201fb318b4… Fixed in: Linux 46c4993a1514eea3bbc7147d0c81c23cc06c6bed, Linux 3907fcb5a439933cf8c10d6dc300bc11eba30de3, Linux 43b4331ce0cd88ccba425e0702ba35c1a52daccf Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/46c4993a1514eea3bbc7147d0c81c23cc06c6bed
- https://git.kernel.org/stable/c/3907fcb5a439933cf8c10d6dc300bc11eba30de3
- https://git.kernel.org/stable/c/c0de1a26e6595b0e7969c5b35990a77a2d93104f
- https://git.kernel.org/stable/c/43b4331ce0cd88ccba425e0702ba35c1a52daccf
- https://git.kernel.org/stable/c/c960785c8168d0e572101ed921b9be3934ed0bc9
- https://git.kernel.org/stable/c/f33642224e38d7e0d59336e10e7b4e370b1c4506
FAQ
Is CVE-2023-54307 being exploited?
There is no confirmed exploitation: CVE-2023-54307 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-54307?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2023-54307?
Linux >= 7f4399ba405b6201fb318b43091703a34b1489ab, < 46c4993a1514eea3bbc7147d0c81c23cc06c6bed; >= 7f4399ba405b6201fb318b43091703a34b1489ab, < 3907fcb5a439933cf8c10d6dc300bc11eba30de3; >= 7f4399ba405b6201fb318b43091703a34b1489ab, < c0de1a26e6595b0e7969c5b35990a77a2d93104f; >= 7f4399ba405b6201fb318b43091703a34b1489ab, < 43b4331ce0cd88ccba425e0702ba35c1a52daccf; >= 7f4399ba405b6201fb318b43091703a34b1489ab, < c960785c8168d0e572101ed921b9be3934ed0bc9; >= 7f4399ba405b6201fb318b43091703a34b1489ab, < f33642224e38d7e0d59336e10e7b4e370b1c4506; Linux 5.2.
Is there a fix for CVE-2023-54307?
Yes. Fixed in Linux 46c4993a1514eea3bbc7147d0c81c23cc06c6bed, Linux 3907fcb5a439933cf8c10d6dc300bc11eba30de3, Linux 43b4331ce0cd88ccba425e0702ba35c1a52daccf. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2023-54307?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.