CVE-2026-23257

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

No CVSS score yet EPSS 0.13%

Published 18 Mar 2026 Updated 5 Nov 2026 CNA: Linux

Check your servers for CVE-2026-23257

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-23257 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.13%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.13% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from f21fb3ed364bb83533c5efe19354e337ea9ecda9, before af38d9a5cb49fe9d0d282b44f17fdc1f3270d99d
affected from f21fb3ed364bb83533c5efe19354e337ea9ecda9, before d86c58eb005eb99da402452f3db7a6e0eae32815
affected from f21fb3ed364bb83533c5efe19354e337ea9ecda9, before f1216b80c9040a904d2ad7c8cd24ca0ff1f36932
affected from f21fb3ed364bb83533c5efe19354e337ea9ecda9, before a0d2389c8cdc1f05de5eb8663bffe9ed05dca769
affected from f21fb3ed364bb83533c5efe19354e337ea9ecda9, before f86bd16280a0f88b538394e0565c56ce4756da99
affected from f21fb3ed364bb83533c5efe19354e337ea9ecda9, before 293eaad0d6d6b2a37a458c7deb7be345349cd963
affected from f21fb3ed364bb83533c5efe19354e337ea9ecda9, before 8558aef4e8a1a83049ab906d21d391093cfa7e7f
Other versions: unaffected
Linux
affected 4.2
unaffected before 4.2
unaffected from 5.10.250 up to and including 5.10.*
unaffected from 5.15.200 up to and including 5.15.*
unaffected from 6.1.163 up to and including 6.1.*
unaffected from 6.6.124 up to and including 6.6.*
unaffected from 6.12.70 up to and including 6.12.*
unaffected from 6.18.10 up to and including 6.18.*
unaffected 6.19 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-23257 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-23257

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-23257
trivy image --scanners vuln IMAGE | grep CVE-2026-23257

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-23257 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.