PT-2026-26118 · Linux · Linux

Published

2026-03-18

·

Updated

2026-03-18

·

CVE-2026-23258

None

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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.

Related Identifiers

CVE-2026-23258

Affected Products

Linux