CVE-2023-52996
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-52996 is a vulnerability discovered in the Linux kernel's IPv4 implementation, specifically in the fibmetricsmatch() function. The vulnerability was disclosed on March 27, 2025, affecting various Linux kernel versions. The issue involves a potential Spectre v1 gadget that could lead to kernel memory content leakage through CPU speculation (NVD).

Technical details

The vulnerability exists in the IPv4 implementation where the 'type' variable is used as an array index in the fibmetricsmatch() function. The vulnerable code pattern is: if (!type) continue; if (type > RTAX_MAX) return false; ... fi_val = fi->fib_metrics->metrics[type - 1]; This could allow CPU speculation to potentially leak kernel memory content. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with Local attack vector, Low attack complexity, and Low privileges required (Snyk).

Impact

The primary impact of this vulnerability is the potential leakage of kernel memory content through CPU speculation. According to the CVSS metrics, while there is no direct impact on confidentiality and integrity, the vulnerability can result in high availability impact, potentially leading to denial of service conditions (Snyk).

Mitigation and workarounds

Multiple Linux distributions have released patches to address this vulnerability. Ubuntu has fixed the issue in versions 5.15.0-70.77 for 22.04 LTS, 5.4.0-147.164 for 20.04 LTS, and various other kernel versions for different configurations. Red Hat and Debian have also provided fixes for their respective distributions (Ubuntu, Debian).

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-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-iot
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-rt-devel-matched
NoYesDec 09, 2025
CVE-2025-40340MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-hwe
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-core
NoYesDec 09, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • libperf-devel
NoYesDec 09, 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