CVE-2021-47398 RDMA/hfi1: Fix kernel pointer leak
An attacker can read kernel memory addresses via RDMA hfi1 driver logs, potentially aiding further exploits.
- 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-47398?
CVE-2021-47398 is a medium-severity vulnerability in Linux kernel, published on 21 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:
RDMA/hfi1: Fix kernel pointer leak
Pointers should be printed with %p or %px rather than cast to 'unsigned long long' and printed with %llx. Change %llx to %p to print the secured pointer.
Weakness: CWE-401
Which versions are affected by CVE-2021-47398?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2021-47398?
Apply the vendor's patch.
Is CVE-2021-47398 being exploited?
There is no known exploitation of CVE-2021-47398 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2021-47398, GHSA-qh8g-p933-67r9, UBUNTU-CVE-2021-47398.