CVE Database›CVE-2026-23256

CVE-2026-23256

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

Loading…

Severity

Low

Red Hat Product Security

3.3

CVSS 3.1

Review impact separately from score.

Published · March 18, 2026

Updated · June 28, 2026

Description

A memory leak was found in the Linux kernel's LiquidIO network driver for Virtual Functions (VF). In setup_nic_devices(), when initialization fails, the cleanup loop uses while(i--) which skips freeing resources at the failing index i due to an off-by-one error. This causes memory to leak on each initialization failure.

Statement

This flaw affects systems using Cavium LiquidIO network adapters with SR-IOV Virtual Functions. The memory leak occurs only in error handling paths during VF device setup. The issue was found through code review and compile-tested only, indicating it may be difficult to trigger in practice. Repeated VF initialization failures could gradually consume kernel memory.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

To mitigate this issue, prevent the liquidio_vf module from being loaded. See https://access.redhat.com/solutions/41278 for instructions.

CVSS / CWE

CVSS 3.1 · 3.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

CWE-193 · Off-by-one Error