CVE-2021-47501 i40e: Fix NULL pointer dereference in i40e_dbg_dump_desc
A local attacker with debugfs access can cause a kernel crash by triggering a NULL pointer dereference in the i40e network driver.
- 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-47501?
CVE-2021-47501 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:
i40e: Fix NULL pointer dereference in i40e_dbg_dump_desc
When trying to dump VFs VSI RX/TX descriptors using debugfs there was a crash due to NULL pointer dereference in i40e_dbg_dump_desc. Added a check to i40e_dbg_dump_desc that checks if VSI type is correct for dumping RX/TX descriptors.
Weakness: CWE-476
Which versions are affected by CVE-2021-47501?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2021-47501?
Apply the vendor's patch.
Is CVE-2021-47501 being exploited?
There is no known exploitation of CVE-2021-47501 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2021-47501, UBUNTU-CVE-2021-47501.