CVE-2023-39194
Linux Kernel vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2023-39194) was discovered in the XFRM subsystem of the Linux kernel. The flaw was found within the processing of state filters, which can result in a read past the end of an allocated buffer. This vulnerability was discovered by Lucas Leong of Trend Micro Zero Day Initiative and was publicly disclosed on September 29, 2023. The issue affects Linux kernel versions up to (excluding) 6.5 (NVD, ZDI).

Technical details

The vulnerability exists in the _xfrmstatefiltermatch() function within the XFRM subsystem. The issue stems from the lack of proper validation of user-supplied data, which can result in an out-of-bounds read past the end of an allocated buffer. The vulnerability has been assigned a CVSS v3.1 base score of 4.4 (Medium) by NIST and 3.2 (Low) by Red Hat, with the vector string CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N (NVD, ZDI).

Impact

The vulnerability allows local privileged attackers with CAPNETADMIN capability to trigger an out-of-bounds read, potentially leading to information disclosure. An attacker can leverage this vulnerability in conjunction with other vulnerabilities to escalate privileges and potentially execute arbitrary code in the context of the kernel (ZDI).

Mitigation and workarounds

The vulnerability has been fixed in Linux kernel version 6.5-rc7 through a patch that addresses the validation issue. The fix was committed to the mainline kernel via commit dfa73c17d55b. Various Linux distributions have also released security updates to address this vulnerability, including Red Hat Enterprise Linux, Debian, and Ubuntu (Debian, Red Hat).

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