What’s Vulnerable › Vulnerabilities
CVE-2021-47526: serial: liteuart: Fix NULL pointer dereference in ->remove()
- Severity: medium (CVSS 5.5 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-476
Description
In the Linux kernel, the following vulnerability has been resolved: serial: liteuart: Fix NULL pointer dereference in ->remove() drvdata has to be set in _probe() - otherwise platform_get_drvdata() causes null pointer dereference BUG in _remove().
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/0f55f89d98c8b3e12b4f55f71c127a173e29557c
- https://git.kernel.org/stable/c/189c99c629bbf85916c02c153f904649cc0a9d7f
- https://git.kernel.org/stable/c/0f55f89d98c8b3e12b4f55f71c127a173e29557c
- https://git.kernel.org/stable/c/189c99c629bbf85916c02c153f904649cc0a9d7f
Get alerted when CVE-2021-47526 or the next vulnerability affects your stack