Skip to content
Heist/ feed
Back to feed
UnratedFix available

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

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: net: liquidio: Fix off-by-one error in VF 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. Compile tested only. Issue found using code review.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.250, 5.15.200, 6.1.163, 6.12.70, 6.18.10, 6.6.124
CVEs
CVE-2026-23256
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 23:11 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 18 Mar 2026, 17:41 UTC

In the Linux kernel, the following vulnerability has been resolved: net: liquidio: Fix off-by-one error in VF 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. Compile tested only. Issue found using code review.

osv:CVE-2026-23256

Kernel

Fixed versions: 5.10.250, 5.15.200, 6.1.163, 6.6.124, 6.12.70, 6.18.10

Complete source record
{
  "id": "9d7954d9a7daca6b2b6288b310a0a4409287474ce6e35e1e06e57fb7d76936d7",
  "url": "https://osv.dev/vulnerability/CVE-2026-23256",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "net: liquidio: Fix off-by-one error in VF setup_nic_devices() cleanup",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: net: liquidio: Fix off-by-one error in VF 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. Compile tested only. Issue found using code review.",
    "evidence": "osv:CVE-2026-23256",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.250",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.200",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.163",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.124",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.70",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.10",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-23256",
      "aliases": [
        "CVE-2026-23256"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "846b46873eeb3baf40f7e6d8fe8f98aec95e7727"
                },
                {
                  "fixed": "bd680e56e316be92c01568be98d85d7a6c9bd92c"
                },
                {
                  "fixed": "01fbca1e93ec3f39f76c31a8f9afa32ce00da48a"
                },
                {
                  "fixed": "71a56b89203ec7e5670d94a61a9b4ae617eca804"
                },
                {
                  "fixed": "3bf519e39b51cb08a93c0599870b35a23db1031e"
                },
                {
                  "fixed": "52b19b3a22306fe452ec9e8ff96063f4bfb77b99"
                },
                {
                  "fixed": "4640fa5ad5e1a0dbd1c2d22323b7d70a8107dcfd"
                },
                {
                  "fixed": "6cbba46934aefdfb5d171e0a95aec06c24f7ca30"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23256.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.10.0"
                },
                {
                  "fixed": "5.10.250"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.200"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.163"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.124"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.70"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.10"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23256.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:40.349662829Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/01fbca1e93ec3f39f76c31a8f9afa32ce00da48a",
        "https://git.kernel.org/stable/c/3bf519e39b51cb08a93c0599870b35a23db1031e",
        "https://git.kernel.org/stable/c/4640fa5ad5e1a0dbd1c2d22323b7d70a8107dcfd",
        "https://git.kernel.org/stable/c/52b19b3a22306fe452ec9e8ff96063f4bfb77b99",
        "https://git.kernel.org/stable/c/6cbba46934aefdfb5d171e0a95aec06c24f7ca30",
        "https://git.kernel.org/stable/c/71a56b89203ec7e5670d94a61a9b4ae617eca804",
        "https://git.kernel.org/stable/c/bd680e56e316be92c01568be98d85d7a6c9bd92c",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23256.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-23256",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23256.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-23256",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 507888,
  "published_at": "2026-03-18T17:41:02.964+00:00"
}