CVE-2021-47398Published May 21, 2024 · May 21Updated Jun 17
RDMA/hfi1: Fix kernel pointer leak
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s RDMA/hfi1 component prints a kernel pointer using %llx instead of the secured %p format, potentially exposing the pointer value. The input does not specify how an attacker could access the output or whether authentication or user interaction is required.
Anyone running the Linux kernel should check whether their version is affected; affected versions are not specified.