CVE-2021-47526 serial: liteuart: Fix NULL pointer dereference in ->remove()
A NULL pointer dereference in the liteuart serial driver's remove function can cause a kernel crash, leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-47526?
CVE-2021-47526 is a medium-severity vulnerability in Linux kernel, published on 24 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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().
Weakness: CWE-476
Which versions are affected by CVE-2021-47526?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2021-47526?
Apply the vendor's patch.
Is CVE-2021-47526 being exploited?
There is no known exploitation of CVE-2021-47526 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2021-47526, UBUNTU-CVE-2021-47526.