CVE-2026-23257
Analyzed Analyzed - Analysis Complete

Off-by-One Error in Linux net/liquidio Causes Memory Leak

Vulnerability report for CVE-2026-23257, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-03-18

Last updated on: 2026-05-21

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: net: liquidio: Fix off-by-one error in PF setup_nic_devices() cleanup In setup_nic_devices(), the initialization loop jumps to the label setup_nic_dev_free on failure. The current cleanup loop while(i--) skip the failing index i, causing a memory leak. Fix this by changing the loop to iterate from the current index i down to 0. Also, decrement i in the devlink_alloc failure path to point to the last successfully allocated index. Compile tested only. Issue found using code review.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-03-18
Last Modified
2026-05-21
Generated
2026-07-26
AI Q&A
2026-03-18
EPSS Evaluated
2026-07-25
NVD
EUVD

Affected Vendors & Products

Showing 14 associated CPEs
Vendor Product Version / Range
linux linux_kernel 6.19
linux linux_kernel 6.19
linux linux_kernel 6.19
linux linux_kernel 6.19
linux linux_kernel 6.19
linux linux_kernel From 5.16 (inc) to 6.1.163 (exc)
linux linux_kernel From 6.7 (inc) to 6.12.70 (exc)
linux linux_kernel From 6.2 (inc) to 6.6.124 (exc)
linux linux_kernel 6.19
linux linux_kernel From 6.13 (inc) to 6.18.10 (exc)
linux linux_kernel 6.19
linux linux_kernel 6.19
linux linux_kernel From 5.11 (inc) to 5.15.200 (exc)
linux linux_kernel From 4.2 (inc) to 5.10.250 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-193 A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is an off-by-one error in the Linux kernel's liquidio network driver, specifically in the setup_nic_devices() function. When initializing network interface cards (NICs), if an error occurs, the cleanup loop skips the failing device index, which causes a memory leak. The fix involves changing the cleanup loop to correctly iterate from the current index down to zero, ensuring all allocated resources are properly freed.

Detection Guidance

I don't know

Impact Analysis

The vulnerability can lead to a memory leak in the Linux kernel when the liquidio driver fails to properly clean up after a device initialization error. Over time, this memory leak could degrade system performance or stability, potentially causing resource exhaustion or crashes in systems using the affected driver.

Compliance Impact

I don't know

Mitigation Strategies

I don't know

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-23257. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart