Skip to content
Heist/ feed
Back to feed
UnratedFix available

octeon_ep_vf: add NULL check for napi_build_skb()

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: octeon_ep_vf: add NULL check for napi_build_skb() napi_build_skb() can return NULL on allocation failure. In __octep_vf_oq_process_rx(), the result is used directly without a NULL check in both the single-buffer and multi-fragment paths, leading to a NULL pointer dereference. Add NULL checks after both napi_build_skb() calls, properly advancing descriptors and consuming remaining fragments on failure.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.88, 6.18.30, 7.0.7
CVEs
CVE-2026-46188
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 11:20 UTC · Revision 1

Source evidence

octeon_ep_vf: add NULL check for napi_build_skb()

core-osv · Original source

Published 28 May 2026, 09:36 UTC

In the Linux kernel, the following vulnerability has been resolved: octeon_ep_vf: add NULL check for napi_build_skb() napi_build_skb() can return NULL on allocation failure. In __octep_vf_oq_process_rx(), the result is used directly without a NULL check in both the single-buffer and multi-fragment paths, leading to a NULL pointer dereference. Add NULL checks after both napi_build_skb() calls, properly advancing descriptors and consuming remaining fragments on failure.

osv:CVE-2026-46188

Kernel

Fixed versions: 6.12.88, 6.18.30, 7.0.7

Complete source record
{
  "id": "05ba60e627ce078c3ca97a3f553fb81880685c9800aa1121470a16ad8154ac7d",
  "url": "https://osv.dev/vulnerability/CVE-2026-46188",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "octeon_ep_vf: add NULL check for napi_build_skb()",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: octeon_ep_vf: add NULL check for napi_build_skb() napi_build_skb() can return NULL on allocation failure. In __octep_vf_oq_process_rx(), the result is used directly without a NULL check in both the single-buffer and multi-fragment paths, leading to a NULL pointer dereference. Add NULL checks after both napi_build_skb() calls, properly advancing descriptors and consuming remaining fragments on failure.",
    "evidence": "osv:CVE-2026-46188",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.12.88",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.30",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.0.7",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-46188",
      "aliases": [
        "CVE-2026-46188"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "1cd3b407977c3ab1d2ddc26cb7113e7fb1509cd1"
                },
                {
                  "fixed": "60246cdd4c515ea7d920cddf48932efcb990773e"
                },
                {
                  "fixed": "b0f4711b426a06fb4c4be85c36b9f5588d5140d3"
                },
                {
                  "fixed": "6fef6640bbf360e254cc0174365ed30ce3a07572"
                },
                {
                  "fixed": "dd66b42854705e4e4ee7f14d260f86c578bed3e3"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46188.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.9.0"
                },
                {
                  "fixed": "6.12.88"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.30"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.0.7"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46188.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.745673027Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/60246cdd4c515ea7d920cddf48932efcb990773e",
        "https://git.kernel.org/stable/c/6fef6640bbf360e254cc0174365ed30ce3a07572",
        "https://git.kernel.org/stable/c/b0f4711b426a06fb4c4be85c36b9f5588d5140d3",
        "https://git.kernel.org/stable/c/dd66b42854705e4e4ee7f14d260f86c578bed3e3",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46188.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-46188",
        "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/46xxx/CVE-2026-46188.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-46188",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 519113,
  "published_at": "2026-05-28T09:36:42.251+00:00"
}