CVE-2021-47398
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-47398 affects the Linux kernel's RDMA/hfi1 component. The vulnerability was discovered and disclosed in May 2024, involving a kernel pointer leak in the HFI1 driver. The issue occurs when pointers are incorrectly printed using %llx format specifier instead of the secure %p or %px specifiers (NVD).

Technical details

The vulnerability exists in the HFI1 driver's pointer printing implementation where pointers are cast to 'unsigned long long' and printed with %llx format specifier instead of using the secure %p or %px format specifiers. This occurs specifically in the ipoib_tx.c file within the timeout handler for rdma_netdev (Kernel Commit).

Impact

The vulnerability could lead to information disclosure by leaking kernel pointer addresses, which could potentially be used by attackers to bypass kernel address space layout randomization (KASLR) and facilitate further attacks (NVD).

Mitigation and workarounds

The issue has been fixed by changing the format specifier from %llx to %p for printing pointer addresses in the affected code. The fix was implemented in kernel commit 7d5cfafe8b4006a75b55c2f1fdfdb363f9a5cc98 (Kernel Commit).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-93189HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-azure-fips
NoYesSep 17, 2026
CVE-2026-93188MEDIUM6.5
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-tegra-5.15
NoYesSep 17, 2026
CVE-2026-93182NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-fips
NoYesSep 17, 2026
CVE-2026-93181NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-4.15
NoNoSep 17, 2026
CVE-2026-93174NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoYesSep 17, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management