{"id":"CVE-2023-52457","aliases":["CVE-2023-52457"],"related":[],"kind":"vulnerability","state":"published","title":"serial: 8250: omap: Don't skip resource freeing if pm_runtime_resume_and_get() failed","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nserial: 8250: omap: Don't skip resource freeing if pm_runtime_resume_and_get() failed\n\nReturning an error code from .remove() makes the driver core emit the\nlittle helpful error message:\n\n\tremove callback returned a non-zero value. This will be ignored.\n\nand then remove the device anyhow. So all resources that were not freed\nare leaked in this case. Skipping serial8250_unregister_port() has the\npotential to keep enough of the UART around to trigger a use-after-free.\n\nSo replace the error return (and with it the little helpful error\nmessage) by a more useful error message and continue to cleanup.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nserial: 8250: omap: Don't skip resource freeing if pm_runtime_resume_and_get() failed\n\nReturning an error code from .remove() makes the driver core emit the\nlittle helpful error message:\n\n\tremove callback returned a non-zero value. This will be ignored.\n\nand then remove the device anyhow. So all resources that were not freed\nare leaked in this case. Skipping serial8250_unregister_port() has the\npotential to keep enough of the UART around to trigger a use-after-free.\n\nSo replace the error return (and with it the little helpful error\nmessage) by a more useful error message and continue to cleanup.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: serial: 8250: omap: no omita la liberación de recursos si pm_runtime_resume_and_get() falla. Devolver un código de error desde .remove() hace que el núcleo del controlador emita el pequeño y útil mensaje de error: eliminar la devolución de llamada devolvió un valor distinto de cero. Esto será ignorado. y luego retire el dispositivo de todos modos. Entonces, en este caso, todos los recursos que no fueron liberados se filtran. Omitir serial8250_unregister_port() tiene el potencial de mantener suficiente UART disponible para desencadenar un use-after-free. Así que reemplace el retorno de error (y con él el pequeño mensaje de error útil) por un mensaje de error más útil y continúe con la limpieza.","source":"nvd"}],"published":"2024-02-23T14:46:19.772Z","modified":"2026-06-17T06:42:44.677Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"2d66412563ef8953e2bac2d98d2d832b3f3f49cd","fixed":"b502fb43f7fb55aaf07f6092ab44657595214b93","status":"affected"},{"type":"git","introduced":"d833cba201adf9237168e19f0d76e4d7aa69f303","fixed":"bc57f3ef8a9eb0180606696f586a6dcfaa175ed0","status":"affected"},{"type":"git","introduced":"e0db709a58bdeb8966890882261a3f8438c5c9b7","fixed":"828cd829483f0cda920710997aed79130b0af690","status":"affected"},{"type":"git","introduced":"e3f0c638f428fd66b5871154b62706772045f91a","fixed":"d74173bda29aba58f822175d983d07c8ed335494","status":"affected"},{"type":"git","introduced":"e3f0c638f428fd66b5871154b62706772045f91a","fixed":"887a558d0298d36297daea039954c39940228d9b","status":"affected"},{"type":"git","introduced":"e3f0c638f428fd66b5871154b62706772045f91a","fixed":"95e4e0031effad9837af557ecbfd4294a4d8aeee","status":"affected"},{"type":"git","introduced":"e3f0c638f428fd66b5871154b62706772045f91a","fixed":"ad90d0358bd3b4554f243a425168fc7cebe7d04e","status":"affected"},{"type":"git","version":"02eed6390dbe61115f3e3f63829c95c611aee67b","status":"affected"},{"type":"semver","introduced":"5.4.225","fixed":"5.4.268","status":"affected"},{"type":"semver","introduced":"5.10.156","fixed":"5.10.209","status":"affected"},{"type":"semver","introduced":"5.15.80","fixed":"5.15.148","status":"affected"},{"type":"semver","introduced":"6.0.10","fixed":"6.1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.1","status":"unaffected"},{"type":"semver","introduced":"5.4.268","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.209","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.148","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.75","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.14","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.7.2","lastAffected":"6.7.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.8","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.4.225","fixed":"5.4.268"},{"status":"affected","introduced":"5.10.156","fixed":"5.10.209"},{"status":"affected","introduced":"5.15.80","fixed":"5.15.148"},{"status":"affected","introduced":"6.0.10","fixed":"6.1.75"},{"status":"affected","introduced":"6.2","fixed":"6.6.14"},{"status":"affected","introduced":"6.7","fixed":"6.7.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/b502fb43f7fb55aaf07f6092ab44657595214b93","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bc57f3ef8a9eb0180606696f586a6dcfaa175ed0","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/828cd829483f0cda920710997aed79130b0af690","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d74173bda29aba58f822175d983d07c8ed335494","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/887a558d0298d36297daea039954c39940228d9b","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/95e4e0031effad9837af557ecbfd4294a4d8aeee","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ad90d0358bd3b4554f243a425168fc7cebe7d04e","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html","tags":["x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T16:02:36.778Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-52457","url":"https://www.cve.org/CVERecord?id=CVE-2023-52457","licence":"CVE Terms of Use","modified":"2026-05-23T15:25:32.671Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-52457","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52457","licence":"Public domain","modified":"2026-06-17T06:42:44.677Z"}],"updatedAt":"2026-11-25T22:58:33.065Z","epss":{"score":0.00231,"percentile":0.14924,"date":"2026-12-01T12:00:22.000Z"}}