{"id":"CVE-2023-54307","summary":"ptp_qoriq: fix memory leak in probe()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nptp_qoriq: fix memory leak in probe()\n\nSmatch complains that:\ndrivers/ptp/ptp_qoriq.c ptp_qoriq_probe()\nwarn: 'base' from ioremap() not released.\n\nFix this by revising the parameter from 'ptp_qoriq-\u003ebase' to 'base'.\nThis is only a bug if ptp_qoriq_init() returns on the\nfirst -ENODEV error path.\nFor other error paths ptp_qoriq-\u003ebase and base are the same.\nAnd this change makes the code more readable.","modified":"2026-08-12T03:51:35.721498329Z","published":"2025-12-30T12:23:40.491Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54307.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3907fcb5a439933cf8c10d6dc300bc11eba30de3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/43b4331ce0cd88ccba425e0702ba35c1a52daccf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/46c4993a1514eea3bbc7147d0c81c23cc06c6bed"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c0de1a26e6595b0e7969c5b35990a77a2d93104f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c960785c8168d0e572101ed921b9be3934ed0bc9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f33642224e38d7e0d59336e10e7b4e370b1c4506"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54307.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54307"},{"type":"PACKAGE","url":"https://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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.9.0"}