CVE-2021-45486
Linux Kernel vulnerability analysis and mitigation

Overview

In the IPv4 implementation in the Linux kernel before 5.12.4, net/ipv4/route.c has an information leak because the hash table is very small. This vulnerability was discovered in December 2021 and assigned identifier CVE-2021-45486. The vulnerability affects the Linux kernel's IPv4 routing implementation, specifically in the IP ID generation mechanism (Kernel Commit).

Technical details

The vulnerability stems from using a very small hash table for IP ID generation that could be abused by patient attackers to reveal sensitive information. The issue was introduced in commit 73f156a6e8c1 'inetpeer: get rid of ipidcount'. The vulnerability has a CVSS v3.1 Base Score of 3.5 (LOW) with vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N (NVD).

Impact

The small hash table size in the IP ID generation mechanism could allow attackers to leak sensitive information through hash collisions. This could potentially lead to information disclosure, though the impact is considered low given the attack complexity and required privileges (NVD).

Mitigation and workarounds

The vulnerability was fixed in Linux kernel version 5.12.4 by switching to dynamic sizing of the hash table based on RAM size. The fix increases the hash table size by 128x on typical large hosts (to 2MB) and uses alloclargesystem_hash() to spread allocated memory among NUMA nodes. Users should upgrade to kernel version 5.12.4 or later to address this vulnerability (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-2025-40205HIGH7.8
  • Linux KernelLinux Kernel
  • linux-gcp-5.4
NoYesNov 12, 2025
CVE-2025-40211HIGH7.1
  • Linux KernelLinux Kernel
  • linux-gcp-6.8
NoYesNov 21, 2025
CVE-2025-40206MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules-extra
NoYesNov 12, 2025
CVE-2025-40210MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-rt-64k-modules
NoYesNov 21, 2025
CVE-2025-40212N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-6.14
NoYesNov 24, 2025

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