7.8high
serial: liteuart: fix use-after-free and memleak on unbind
- Severity
- 7.8high CVSS:3.1 by NVD
- Exploit likelihood
- 0.23% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: serial: liteuart: fix use-after-free and memleak on unbind Deregister the port when unbinding the driver to prevent it from being used after releasing the driver data and leaking memory allocated by serial core.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 1da81e5562fac8286567422cc56a7fbd0dc646d4 before 602824cf9aa9db8830ffe5cfb2cd54365cada4fe, from 1da81e5562fac8286567422cc56a7fbd0dc646d4 before 05f929b395dec8957b636ff14e66b277ed022ed9, 5.11 Not affected: before 5.11, from 5.15.7 up to 5.15.*, from 5.16 up to * | CVE List |
| linux linux_kernel | from 5.11 before 5.15.7 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: serial: liteuart: fix use-after-free and memleak on unbind Deregister the port when unbinding the driver to prevent it from being used after releasing the driver data and leaking memory allocated by serial core.
NVD (es)
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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47525 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2021-47525 changed 2026-06-17 | Public domain |