CVE-2026-23258

net: liquidio: Initialize netdev pointer before queue setup

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: Initialize netdev pointer before queue setup In setup_nic_devices(), the netdev is allocated using alloc_etherdev_mq(). However, the pointer to this structure is stored in oct->props[i].netdev only after the calls to netif_set_real_num_rx_queues() and netif_set_real_num_tx_queues(). If either of these functions fails, setup_nic_devices() returns an error without freeing the allocated netdev. Since oct->props[i].netdev is still NULL at this point, the cleanup function liquidio_destroy_nic_device() will fail to find and free the netdev, resulting in a memory leak. Fix this by initializing oct->props[i].netdev before calling the queue setup functions. This ensures that the netdev is properly accessible for cleanup in case of errors. Compile tested only. Issue found using a prototype static analysis tool and code review.

Affected

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

4.18 ≤ v < 5.10.2504.18 ≤ v < 5.15.2004.18 ≤ v < 6.1.1634.18 ≤ v < 6.12.704.18 ≤ v < 6.18.104.18 ≤ v < 6.194.18 ≤ 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.186.19 rc16.19 rc26.19 rc36.19 rc46.19 rc56.19 rc66.19 rc76.19 rc8c33c997346c34ea7b89aec99524ad9632a2f1e0c
Vendor states this is fixed in 1d4590fde856cb94bd9a46e795c29d8288c238fc (fixed)
Vendor states this is fixed in 926ede0c85e1e57c97d64d9612455267d597bb2c (fixed)
Vendor states this is fixed in a0e57c0b68c9e6f9a8fd7c1167861a5a730eb2f4 (fixed)
Vendor states this is fixed in be109646cdaecab262f6276303b1763468c94378 (fixed)
Vendor states this is fixed in c0ed6c77ec34050971fd0df2a94dfdea66d09331 (fixed)
Vendor states this is fixed in c81a8515fb8c8fb5d0dbc21f48337494bf1d60df (fixed)
Vendor states this is fixed in d028147ae06407cb355245db1774793600670169 (fixed)
Vendor states this is fixed in 4.18 (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-401

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