# CVE-2021-47525: serial: liteuart: fix use-after-free and memleak on unbind

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-05-24T15:09:37.355Z
- Modified: 2026-06-17T04:17:41.590Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- 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 *)
- linux linux_kernel: from 5.11 before 5.15.7

## References

- <https://git.kernel.org/stable/c/602824cf9aa9db8830ffe5cfb2cd54365cada4fe> (patch)
- <https://git.kernel.org/stable/c/05f929b395dec8957b636ff14e66b277ed022ed9> (patch)

## Sources

- CVE List: [CVE-2021-47525](https://www.cve.org/CVERecord?id=CVE-2021-47525), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-47525](https://nvd.nist.gov/vuln/detail/CVE-2021-47525), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47525 · Whole record: https://cve.day/CVE-2021-47525.json · Rebuilt by cve.day 2026-11-25T22:58:08.899Z
