# CVE-2026-23257: net: liquidio: Fix off-by-one error in PF setup\_nic\_devices() cleanup

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-03-18 · Modified: 2026-11-05
- Aliases: UBUNTU-CVE-2026-23257, DEBIAN-CVE-2026-23257
- Record: https://cvemate.com/vulnerability/CVE-2026-23257 · JSON: https://cvemate.com/vulnerability/CVE-2026-23257/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.134%, percentile 3.101%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 161)

- debian linux (Debian): \< 6.1.164-1 \| \< 6.12.73-1 \| \< 6.18.10-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-185.195 \| \< 6.8.0-117.117
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1111.118 \| \< 6.8.0-1055.58
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1111.118~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1057.60~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1111.118+fips1 \| \< 6.8.0-1055.58+fips1
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1116.125 \| \< 6.8.0-1056.62

## References (first 20 of 26)

- <https://git.kernel.org/stable/c/af38d9a5cb49fe9d0d282b44f17fdc1f3270d99d>
- <https://git.kernel.org/stable/c/d86c58eb005eb99da402452f3db7a6e0eae32815>
- <https://git.kernel.org/stable/c/f1216b80c9040a904d2ad7c8cd24ca0ff1f36932>
- <https://git.kernel.org/stable/c/a0d2389c8cdc1f05de5eb8663bffe9ed05dca769>
- <https://git.kernel.org/stable/c/f86bd16280a0f88b538394e0565c56ce4756da99>
- <https://git.kernel.org/stable/c/293eaad0d6d6b2a37a458c7deb7be345349cd963>
- <https://git.kernel.org/stable/c/8558aef4e8a1a83049ab906d21d391093cfa7e7f>
- <https://ubuntu.com/security/CVE-2026-23257>
- <https://www.cve.org/CVERecord?id=CVE-2026-23257>
- <https://git.kernel.org/linus/8558aef4e8a1a83049ab906d21d391093cfa7e7f>
- <https://ubuntu.com/security/notices/USN-8278-1>
- <https://ubuntu.com/security/notices/USN-8289-1>
- <https://ubuntu.com/security/notices/USN-8296-1>
- <https://ubuntu.com/security/notices/USN-8296-2>
- <https://ubuntu.com/security/notices/USN-8289-2>
- <https://ubuntu.com/security/notices/USN-8278-2>
- <https://ubuntu.com/security/notices/USN-8393-1>
- <https://ubuntu.com/security/notices/USN-8440-1>
- <https://ubuntu.com/security/notices/USN-8493-1>
- <https://ubuntu.com/security/notices/USN-8499-1>

---

Data as of 2026-12-05T05:08:20.608Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
