# CVE-2021-47398: RDMA/hfi1: Fix kernel pointer leak

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2024-05-21T15:03:54.066Z
- Modified: 2026-06-17T04:17:22.777Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 042a00f93aad5874937e00f36e68301f7e3a0af1 before 714bfabe5f2901d96902e271d7217601fe4703e5; from 042a00f93aad5874937e00f36e68301f7e3a0af1 before 7d5cfafe8b4006a75b55c2f1fdfdb363f9a5cc98; 5.13 (not affected: before 5.13; from 5.14.10 up to 5.14.*; from 5.15 up to *)
- linux linux_kernel: from 5.13 before 5.14.10; 5.15

## References

- <https://git.kernel.org/stable/c/714bfabe5f2901d96902e271d7217601fe4703e5> (patch)
- <https://git.kernel.org/stable/c/7d5cfafe8b4006a75b55c2f1fdfdb363f9a5cc98> (patch)

## Sources

- CVE List: [CVE-2021-47398](https://www.cve.org/CVERecord?id=CVE-2021-47398), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-47398](https://nvd.nist.gov/vuln/detail/CVE-2021-47398), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47398 · Whole record: https://cve.day/CVE-2021-47398.json · Rebuilt by cve.day 2026-11-25T22:58:08.835Z
