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

Published Mar 18, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

In setupnicdevices(), the initialization loop jumps to the label setupnicdevfree 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 devlinkalloc failure path to point to the last successfully allocated index.

Compile tested only. Issue found using code review.

Affected Software

15 affected components
Linux Linux kernel
Linux Linux kernel>=4.2<5.10.250
Linux Linux kernel>=5.11<5.15.200
Linux Linux kernel>=5.16<6.1.163
Linux Linux kernel>=6.2<6.6.124
Linux Linux kernel>=6.7<6.12.70
Linux Linux kernel>=6.13<6.18.10
Linux Linux kernel=6.19-rc1
Linux Linux kernel=6.19-rc2
Linux Linux kernel=6.19-rc3
Linux Linux kernel=6.19-rc4
Linux Linux kernel=6.19-rc5
Linux Linux kernel=6.19-rc6
Linux Linux kernel=6.19-rc7
Linux Linux kernel=6.19-rc8

Event History

Mar 18, 2026
CVE Published
via MITRE·05:41 PM
Data Sourced
via MITRE·05:41 PM
Description
Data Sourced
via NVD·06:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-23257?

CVE-2026-23257 has been classified as a medium severity vulnerability.

2

How do I fix CVE-2026-23257?

To fix CVE-2026-23257, update your Linux kernel to the latest patched version that resolves the vulnerability.

3

What impact does CVE-2026-23257 have on my system?

CVE-2026-23257 can lead to a potential denial of service due to an off-by-one error.

4

Which versions of Linux kernel are affected by CVE-2026-23257?

CVE-2026-23257 affects the Linux kernel prior to the application of the relevant fix.

5

Is CVE-2026-23257 likely to be exploited?

While the exploitability of CVE-2026-23257 is not explicitly stated, vulnerabilities with off-by-one errors can often be exploited if not patched.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203