{"id":"CVE-2021-47525","aliases":["CVE-2021-47525"],"related":[],"kind":"vulnerability","state":"published","title":"serial: liteuart: fix use-after-free and memleak on unbind","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nserial: liteuart: fix use-after-free and memleak on unbind\n\nDeregister the port when unbinding the driver to prevent it from being\nused after releasing the driver data and leaking memory allocated by\nserial core.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nserial: liteuart: fix use-after-free and memleak on unbind\n\nDeregister the port when unbinding the driver to prevent it from being\nused after releasing the driver data and leaking memory allocated by\nserial core.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: serial: liteuart: corrige use-after-free y memleak al desvincular. Cancelar el registro del puerto al desvincular el controlador para evitar que se use después de liberar los datos del controlador y pérdida de memoria asignada por el núcleo serie.","source":"nvd"}],"published":"2024-05-24T15:09:37.355Z","modified":"2026-06-17T04:17:41.590Z","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":"1da81e5562fac8286567422cc56a7fbd0dc646d4","fixed":"602824cf9aa9db8830ffe5cfb2cd54365cada4fe","status":"affected"},{"type":"git","introduced":"1da81e5562fac8286567422cc56a7fbd0dc646d4","fixed":"05f929b395dec8957b636ff14e66b277ed022ed9","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.11","status":"unaffected"},{"type":"semver","introduced":"5.15.7","lastAffected":"5.15.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.16","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.11","fixed":"5.15.7"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/602824cf9aa9db8830ffe5cfb2cd54365cada4fe","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/05f929b395dec8957b636ff14e66b277ed022ed9","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-05-28T15:21:08.763Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-47525","url":"https://www.cve.org/CVERecord?id=CVE-2021-47525","licence":"CVE Terms of Use","modified":"2026-05-11T13:56:20.973Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-47525","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47525","licence":"Public domain","modified":"2026-06-17T04:17:41.590Z"}],"updatedAt":"2026-11-25T22:58:08.899Z","epss":{"score":0.0023,"percentile":0.14748,"date":"2026-12-01T12:00:22.000Z"}}