CVE-2026-23257
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2026-23257 is an off-by-one error (CWE-193) in the Linux kernel's liquidio network driver that causes a memory leak during NIC device initialization failures. The vulnerability exists in the setup_nic_devices() function of the PF (Physical Function) driver, where the cleanup loop while(i--) skips the failing index, leaving allocated memory unreleased. It affects Linux kernel versions from 4.2 up to (but not including) 5.10.250, 5.11–5.15.200, 5.16–6.1.163, 6.2–6.6.124, 6.7–6.12.70, and 6.13–6.18.10, as well as release candidates 6.19-rc1 through 6.19-rc8. Disclosed on March 18, 2026, it carries a CVSS v3.1 base score of 5.5 (Medium) (Red Hat CVE, Feedly).

Technical details

The root cause is an off-by-one error (CWE-193) in the cleanup path of setup_nic_devices() within the Linux kernel's net/ethernet/cavium/liquidio driver. When the initialization loop encounters a failure and jumps to the setup_nic_dev_free label, the cleanup loop while(i--) decrements i before using it, causing it to skip freeing the resources allocated at the current (failing) index. Additionally, the devlink_alloc failure path does not decrement i to point to the last successfully allocated index before entering cleanup, compounding the leak. The issue was discovered through code review rather than dynamic testing, and no proof-of-concept exploit code exists (Red Hat CVE, Linux Kernel CVE Announce).

Impact

Successful exploitation results in incremental memory leaks on systems running affected Linux kernel versions with Cavium LiquidIO network adapters. Each failed NIC device initialization cycle leaks kernel memory, which over time can exhaust available memory, degrading system stability and availability. There is no confidentiality or integrity impact; the vulnerability is limited to availability (denial of service via memory exhaustion), and exploitation requires local access with low privileges (Red Hat CVE, Feedly).

Mitigation and workarounds

Patches are available across multiple Linux kernel stable branches. Users should update to the following fixed versions: 5.10.250, 5.15.200, 6.1.163, 6.6.124, 6.12.70, 6.18.10, or 6.19 (mainline). Reference commits are available in the Linux kernel stable repository. For systems that cannot be immediately patched, limiting device insertion/removal cycles for liquidio adapters and monitoring kernel memory usage (e.g., via /proc/meminfo or dmesg for memory pressure warnings) can help reduce impact (Red Hat CVE, Amazon Linux Advisory).

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-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 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