CVE-2026-23257 Details
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.
An off-by-one error has been identified in the Linux kernel's handling of Cavium Liquidio Ethernet adapters. This vulnerability occurs in the 'setup_nic_devices()' function, where the cleanup loop improperly skips the failing index, leading to a memory leak. The issue arises because the loop's current implementation bypasses the index of the failed allocation, causing a resource management problem. The vulnerability affects the Linux kernel stable tree.
The vulnerability has been fixed in the Linux kernel. Users should upgrade to the latest version that includes this fix.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/293eaad0d6d6b2a37a458c7deb7be345349cd963 | kernel.org | Patch |
| https://git.kernel.org/stable/c/8558aef4e8a1a83049ab906d21d391093cfa7e7f | kernel.org | Patch |
| https://git.kernel.org/stable/c/a0d2389c8cdc1f05de5eb8663bffe9ed05dca769 | kernel.org | Patch |
| https://git.kernel.org/stable/c/af38d9a5cb49fe9d0d282b44f17fdc1f3270d99d | kernel.org | Patch |
| https://git.kernel.org/stable/c/d86c58eb005eb99da402452f3db7a6e0eae32815 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f1216b80c9040a904d2ad7c8cd24ca0ff1f36932 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f86bd16280a0f88b538394e0565c56ce4756da99 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-193 | Off-by-one Error | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.2, < 5.10.250 >= 5.11, < 5.15.200 >= 5.16, < 6.1.163 >= 6.2, < 6.6.124 >= 6.7, < 6.12.70 >= 6.13, < 6.18.10 6.19 rc1 6.19 rc2 6.19 rc3 6.19 rc4 6.19 rc5 6.19 rc6 6.19 rc7 6.19 rc8 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Modified | kernel.org |
| Nov 5, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| May 21, 2026 | Initial Analysis | [email protected] |
| Mar 18, 2026 | New CVE Received | kernel.org |