What’s Vulnerable › Vulnerabilities
CVE-2021-47525: serial: liteuart: fix use-after-free and memleak on unbind
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-24 · updated 2026-06-17
- Weakness: CWE-416
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 products
- Linux kernel: from 5.11 before 5.15.7 — fixed in 5.15.7
How to fix
Upgrade to a fixed version: Linux kernel 5.15.7. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/05f929b395dec8957b636ff14e66b277ed022ed9
- https://git.kernel.org/stable/c/602824cf9aa9db8830ffe5cfb2cd54365cada4fe
- https://git.kernel.org/stable/c/05f929b395dec8957b636ff14e66b277ed022ed9
- https://git.kernel.org/stable/c/602824cf9aa9db8830ffe5cfb2cd54365cada4fe
Get alerted when CVE-2021-47525 or the next vulnerability affects your stack