{"id":"CVE-2023-54307","aliases":["CVE-2023-54307"],"related":[],"kind":"vulnerability","state":"published","title":"ptp_qoriq: fix memory leak in probe()","summary":"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->base' to 'base'.\nThis is only a bug if ptp_qoriq_init() returns on the\nfirst -ENODEV error path.\nFor other error paths ptp_qoriq->base and base are the same.\nAnd this change makes the code more readable.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->base' to 'base'.\nThis is only a bug if ptp_qoriq_init() returns on the\nfirst -ENODEV error path.\nFor other error paths ptp_qoriq->base and base are the same.\nAnd this change makes the code more readable.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nptp_qoriq: corrige una fuga de memoria en probe()\n\nSmatch se queja de que:\ndrivers/ptp/ptp_qoriq.c ptp_qoriq_probe()\nadvertencia: 'base' de ioremap() no liberada.\n\nSoluciona esto revisando el parámetro de 'ptp_qoriq-&gt;base' a 'base'.\nEsto es solo un error si ptp_qoriq_init() retorna en la\nprimera ruta de error -ENODEV.\nPara otras rutas de error, ptp_qoriq-&gt;base y base son lo mismo.\nY este cambio hace el código más legible.","source":"nvd"}],"published":"2025-12-30T12:23:40.491Z","modified":"2026-06-17T06:47:11.807Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"7f4399ba405b6201fb318b43091703a34b1489ab","fixed":"46c4993a1514eea3bbc7147d0c81c23cc06c6bed","status":"affected"},{"type":"git","introduced":"7f4399ba405b6201fb318b43091703a34b1489ab","fixed":"3907fcb5a439933cf8c10d6dc300bc11eba30de3","status":"affected"},{"type":"git","introduced":"7f4399ba405b6201fb318b43091703a34b1489ab","fixed":"c0de1a26e6595b0e7969c5b35990a77a2d93104f","status":"affected"},{"type":"git","introduced":"7f4399ba405b6201fb318b43091703a34b1489ab","fixed":"43b4331ce0cd88ccba425e0702ba35c1a52daccf","status":"affected"},{"type":"git","introduced":"7f4399ba405b6201fb318b43091703a34b1489ab","fixed":"c960785c8168d0e572101ed921b9be3934ed0bc9","status":"affected"},{"type":"git","introduced":"7f4399ba405b6201fb318b43091703a34b1489ab","fixed":"f33642224e38d7e0d59336e10e7b4e370b1c4506","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.2","status":"unaffected"},{"type":"semver","introduced":"5.4.240","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.177","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.106","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.23","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.2.10","lastAffected":"6.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/46c4993a1514eea3bbc7147d0c81c23cc06c6bed","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3907fcb5a439933cf8c10d6dc300bc11eba30de3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c0de1a26e6595b0e7969c5b35990a77a2d93104f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/43b4331ce0cd88ccba425e0702ba35c1a52daccf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c960785c8168d0e572101ed921b9be3934ed0bc9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f33642224e38d7e0d59336e10e7b4e370b1c4506","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-54307","url":"https://www.cve.org/CVERecord?id=CVE-2023-54307","licence":"CVE Terms of Use","modified":"2026-05-11T19:59:26.208Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-54307","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54307","licence":"Public domain","modified":"2026-06-17T06:47:11.807Z"}],"updatedAt":"2026-11-25T22:58:35.268Z","epss":{"score":0.00285,"percentile":0.13595,"date":"2026-11-30T12:00:22.000Z"}}