CVE-2026-23256
Analyzed Analyzed - Analysis Complete
Off-by-One Error in Linux liquidio VF Causes Memory Leak

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 VF 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. 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-06-16
AI Q&A
2026-03-18
EPSS Evaluated
2026-06-15
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.10 (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
Mitigation Strategies

I don't know

Executive Summary

This vulnerability is an off-by-one error in the Linux kernel's liquidio driver, specifically in the function setup_nic_devices().

During the initialization loop, if a failure occurs, the code jumps to a cleanup label. However, the cleanup loop incorrectly skips the failing index, which causes a memory leak.

The fix involves changing the cleanup loop to iterate correctly from the current index down to zero, ensuring all allocated resources are properly freed.

Impact Analysis

This vulnerability can lead to a memory leak in the Linux kernel's liquidio driver during network device initialization failures.

Memory leaks can degrade system performance over time and potentially lead to resource exhaustion, which might cause system instability or crashes.

Compliance Impact

I don't know

Detection Guidance

I don't know

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