CVE-2021-47601 tee: amdtee: fix an IS_ERR() vs NULL bug
A NULL pointer dereference in the AMD TEE 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-47601?
CVE-2021-47601 is a medium-severity vulnerability in Linux kernel, published on 19 Jun 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:
tee: amdtee: fix an IS_ERR() vs NULL bug
The __get_free_pages() function does not return error pointers it returns NULL so fix this condition to avoid a NULL dereference.
Weakness: CWE-476
Which versions are affected by CVE-2021-47601?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2021-47601?
Apply the vendor's patch.
Is CVE-2021-47601 being exploited?
There is no known exploitation of CVE-2021-47601 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2021-47601, GHSA-hwf6-8434-65rv, UBUNTU-CVE-2021-47601.