CVE-2026-23257

net: liquidio: Fix off-by-one error in PF setup_nic_devices() cleanup

MEDIUM
5.5
CVSS Score
Published: March 18, 2026 at 05:41 PM UTC
Updated: June 17, 2026 at 10:21 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.2 ≤ v < 5.10.2504.2 ≤ v < 5.15.2004.2 ≤ v < 6.1.1634.2 ≤ v < 6.12.704.2 ≤ v < 6.18.104.2 ≤ v < 6.194.2 ≤ v < 6.6.1245.11 ≤ v < 5.15.2005.16 ≤ v < 6.1.1636.13 ≤ v < 6.18.106.2 ≤ v < 6.6.1246.7 ≤ v < 6.12.704.26.19 rc16.19 rc26.19 rc36.19 rc46.19 rc56.19 rc66.19 rc76.19 rc8f21fb3ed364bb83533c5efe19354e337ea9ecda9
Vendor states this is fixed in 293eaad0d6d6b2a37a458c7deb7be345349cd963 (fixed)
Vendor states this is fixed in 8558aef4e8a1a83049ab906d21d391093cfa7e7f (fixed)
Vendor states this is fixed in a0d2389c8cdc1f05de5eb8663bffe9ed05dca769 (fixed)
Vendor states this is fixed in af38d9a5cb49fe9d0d282b44f17fdc1f3270d99d (fixed)
Vendor states this is fixed in d86c58eb005eb99da402452f3db7a6e0eae32815 (fixed)
Vendor states this is fixed in f1216b80c9040a904d2ad7c8cd24ca0ff1f36932 (fixed)
Vendor states this is fixed in f86bd16280a0f88b538394e0565c56ce4756da99 (fixed)
Vendor states this is fixed in 4.2 (unaffected)
Vendor states this is fixed in 5.10.250 (unaffected)
Vendor states this is fixed in 5.15.200 (unaffected)
Vendor states this is fixed in 6.1.163 (unaffected)
Vendor states this is fixed in 6.12.70 (unaffected)
Vendor states this is fixed in 6.18.10 (unaffected)
Vendor states this is fixed in 6.19 (unaffected)
Vendor states this is fixed in 6.6.124 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-193

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card