CVE-2026-23257
net: liquidio: Fix off-by-one error in PF setup_nic_devices() cleanup
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: net: liquidio: Corrección de error 'off-by-one' en la limpieza de PF setup_nic_devices() En setup_nic_devices(), el bucle de inicialización salta a la etiqueta setup_nic_dev_free en caso de fallo. El bucle de limpieza actual while(i--) omite el índice 'i' fallido, causando una fuga de memoria. Esto se corrige cambiando el bucle para que itere desde el índice actual 'i' hasta 0. Además, se decrementa 'i' en la ruta de fallo de devlink_alloc para que apunte al último índice asignado con éxito. Probado solo en compilación. Problema encontrado mediante revisión de código.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2026-01-13 CVE Reserved
- 2026-03-18 CVE Published
- 2026-04-19 EPSS Updated
- 2026-05-11 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
CAPEC
References (8)
| URL | Tag | Source |
|---|---|---|
| https://git.kernel.org/stable/c/f21fb3ed364bb83533c5efe19354e337ea9ecda9 | Vuln. Introduced |
| URL | Date | SRC |
|---|
| URL | Date | SRC |
|---|
Affected Vendors, Products, and Versions
| Vendor | Product | Version | Other | Status | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
| Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 4.2 < 5.10.250 Search vendor "Linux" for product "Linux Kernel" and version " >= 4.2 < 5.10.250" | en |
Affected
| ||||||
| Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 4.2 < 5.15.200 Search vendor "Linux" for product "Linux Kernel" and version " >= 4.2 < 5.15.200" | en |
Affected
| ||||||
| Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 4.2 < 6.1.163 Search vendor "Linux" for product "Linux Kernel" and version " >= 4.2 < 6.1.163" | en |
Affected
| ||||||
| Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 4.2 < 6.6.124 Search vendor "Linux" for product "Linux Kernel" and version " >= 4.2 < 6.6.124" | en |
Affected
| ||||||
| Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 4.2 < 6.12.70 Search vendor "Linux" for product "Linux Kernel" and version " >= 4.2 < 6.12.70" | en |
Affected
| ||||||
| Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 4.2 < 6.18.10 Search vendor "Linux" for product "Linux Kernel" and version " >= 4.2 < 6.18.10" | en |
Affected
| ||||||
| Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 4.2 < 6.19 Search vendor "Linux" for product "Linux Kernel" and version " >= 4.2 < 6.19" | en |
Affected
| ||||||
