CVE-2023-54307

Source
https://cve.org/CVERecord?id=CVE-2023-54307
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54307.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-54307
Downstream
Published
2025-12-30T12:23:40.491Z
Modified
2026-04-02T09:46:50.735749Z
Summary
ptp_qoriq: fix memory leak in probe()
Details

In the Linux kernel, the following vulnerability has been resolved:

ptp_qoriq: fix memory leak in probe()

Smatch complains that: drivers/ptp/ptpqoriq.c ptpqoriq_probe() warn: 'base' from ioremap() not released.

Fix this by revising the parameter from 'ptpqoriq->base' to 'base'. This is only a bug if ptpqoriqinit() returns on the first -ENODEV error path. For other error paths ptpqoriq->base and base are the same. And this change makes the code more readable.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54307.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7f4399ba405b6201fb318b43091703a34b1489ab
Fixed
46c4993a1514eea3bbc7147d0c81c23cc06c6bed
Fixed
3907fcb5a439933cf8c10d6dc300bc11eba30de3
Fixed
c0de1a26e6595b0e7969c5b35990a77a2d93104f
Fixed
43b4331ce0cd88ccba425e0702ba35c1a52daccf
Fixed
c960785c8168d0e572101ed921b9be3934ed0bc9
Fixed
f33642224e38d7e0d59336e10e7b4e370b1c4506

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54307.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.2.0
Fixed
5.4.240
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.177
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.106
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.23
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.2.10

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54307.json"