CVE-2021-47050 memory: renesas-rpc-if: fix possible NULL pointer dereference of resource
A NULL pointer dereference in the Renesas RPC-IF memory driver 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-47050?
CVE-2021-47050 is a medium-severity vulnerability in Linux kernel, published on 28 Feb 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:
memory: renesas-rpc-if: fix possible NULL pointer dereference of resource
The platform_get_resource_byname() can return NULL which would be immediately dereferenced by resource_size(). Instead dereference it after validating the resource.
Addresses-Coverity: Dereference null return value
Weakness: CWE-476
Which versions are affected by CVE-2021-47050?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2021-47050?
Apply the vendor's patch.
Is CVE-2021-47050 being exploited?
There is no known exploitation of CVE-2021-47050 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2021-47050, GHSA-6xgc-32qf-8pxm, UBUNTU-CVE-2021-47050.