VDB

CVE-2026-23258

CVE-2026-23258 PUBLISHED

net: liquidio: Initialize netdev pointer before queue setup

Reported by linux · Published March 18, 2026

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 products

VendorProductVersions
LinuxLinuxc33c997346c34ea7b89aec99524ad9632a2f1e0c, c33c997346c34ea7b89aec99524ad9632a2f1e0c, c33c997346c34ea7b89aec99524ad9632a2f1e0c
LinuxLinux4.18, 0, 5.10.250
linuxlinux_kernel4.18, 4.18, 4.18
LinuxLinux*, *, *

Timeline

  • Mar 18, 2026 CVE Published
  • Mar 19, 2026 EPSS Score (29 in total, the first dated here)
  • Mar 22, 2026 Coalition ESS Score (2 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (91 in total, the first dated here)
  • May 28, 2026 Distribution Patch (86 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-23258
vulnetix vdb fixes CVE-2026-23258

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-23258/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›