CVE-2026-98381 (GCVE-0-2026-98381)

Vulnerability from cvelistv5 – Published: 2026-10-09 07:34 – Updated: 2026-10-24 14:08
VLAI
Title
veth: manage XDP program pointers during channel resize
Summary
In the Linux kernel, the following vulnerability has been resolved: veth: manage XDP program pointers during channel resize veth_set_channels() tears down XDP resources for removed RX queues without clearing rq->xdp_prog. If the program is then detached or replaced, those queues keep the old pointer after bpf_prog_put(). A later channel increase can re-enable NAPI and run the freed program. BUG: unable to handle page fault for address: ffffc90000256048 Oops: Oops: 0000 [#1] SMP KASAN NOPTI RIP: veth_xdp_rcv_skb (include/linux/filter.h:779 include/net/xdp.h:696 drivers/net/veth.c:820) Call Trace: veth_xdp_rcv (drivers/net/veth.c:941) veth_poll (drivers/net/veth.c:986) __napi_poll (net/core/dev.c:7787) net_rx_action (net/core/dev.c:7850 net/core/dev.c:8007) handle_softirqs (kernel/softirq.c:645) Kernel panic - not syncing: Fatal exception in interrupt
Assigner
Linux CNA under the mitre root
CNA scorecard D 53/100 over 7018 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 4752eeb3d891c27905a8fdf4d80e899c0efd4ec7 , < 7a8e143109ff2736dc79e41dcd55af7ceab7520a (git)
Affected: 4752eeb3d891c27905a8fdf4d80e899c0efd4ec7 , < 1a5c5b9c64ba5f39dba55da6e12561ca56eeb758 (git)
Affected: 4752eeb3d891c27905a8fdf4d80e899c0efd4ec7 , < f0e8dba8c224981e53c792c6b3dbb7604fb2c2c6 (git)
Affected: 4752eeb3d891c27905a8fdf4d80e899c0efd4ec7 , < 3c10a5dd0d38f506f671dbb59e9d0ee4c72076f9 (git)
Affected: 4752eeb3d891c27905a8fdf4d80e899c0efd4ec7 , < 25bb7c36225220d30f404d7e29d2e052bc5f4b99 (git)
Affected: 4752eeb3d891c27905a8fdf4d80e899c0efd4ec7 , < 43f6b647f209591b1e3f726bb16b8dcba6b95908 (git)
Affected: 4752eeb3d891c27905a8fdf4d80e899c0efd4ec7 , < 7104a370714346b667712913dc16abf14bbc97ed (git)
guessed Create a notification for this product.
Linux Linux Affected: 5.15
Unaffected: 0 , < 5.15 (semver)
Unaffected: 5.15.222 , ≤ 5.15.* (semver)
Unaffected: 6.1.189 , ≤ 6.1.* (semver)
Unaffected: 6.6.158 , ≤ 6.6.* (semver)
Unaffected: 6.12.112 , ≤ 6.12.* (semver)
Unaffected: 6.18.55 , ≤ 6.18.* (semver)
Unaffected: 7.2.9 , ≤ 7.2.* (semver)
Unaffected: 7.3 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/veth.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "7a8e143109ff2736dc79e41dcd55af7ceab7520a",
              "status": "affected",
              "version": "4752eeb3d891c27905a8fdf4d80e899c0efd4ec7",
              "versionType": "git"
            },
            {
              "lessThan": "1a5c5b9c64ba5f39dba55da6e12561ca56eeb758",
              "status": "affected",
              "version": "4752eeb3d891c27905a8fdf4d80e899c0efd4ec7",
              "versionType": "git"
            },
            {
              "lessThan": "f0e8dba8c224981e53c792c6b3dbb7604fb2c2c6",
              "status": "affected",
              "version": "4752eeb3d891c27905a8fdf4d80e899c0efd4ec7",
              "versionType": "git"
            },
            {
              "lessThan": "3c10a5dd0d38f506f671dbb59e9d0ee4c72076f9",
              "status": "affected",
              "version": "4752eeb3d891c27905a8fdf4d80e899c0efd4ec7",
              "versionType": "git"
            },
            {
              "lessThan": "25bb7c36225220d30f404d7e29d2e052bc5f4b99",
              "status": "affected",
              "version": "4752eeb3d891c27905a8fdf4d80e899c0efd4ec7",
              "versionType": "git"
            },
            {
              "lessThan": "43f6b647f209591b1e3f726bb16b8dcba6b95908",
              "status": "affected",
              "version": "4752eeb3d891c27905a8fdf4d80e899c0efd4ec7",
              "versionType": "git"
            },
            {
              "lessThan": "7104a370714346b667712913dc16abf14bbc97ed",
              "status": "affected",
              "version": "4752eeb3d891c27905a8fdf4d80e899c0efd4ec7",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/veth.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.15"
            },
            {
              "lessThan": "5.15",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.222",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.189",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.158",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.112",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.55",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.9",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.222",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.189",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.158",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.112",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.55",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.9",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "5.15",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nveth: manage XDP program pointers during channel resize\n\nveth_set_channels() tears down XDP resources for removed RX queues\nwithout clearing rq-\u003exdp_prog.  If the program is then detached or\nreplaced, those queues keep the old pointer after bpf_prog_put().\nA later channel increase can re-enable NAPI and run the freed program.\n\n  BUG: unable to handle page fault for address: ffffc90000256048\n  Oops: Oops: 0000 [#1] SMP KASAN NOPTI\n  RIP: veth_xdp_rcv_skb (include/linux/filter.h:779\n                         include/net/xdp.h:696 drivers/net/veth.c:820)\n  Call Trace:\n   veth_xdp_rcv (drivers/net/veth.c:941)\n   veth_poll (drivers/net/veth.c:986)\n   __napi_poll (net/core/dev.c:7787)\n   net_rx_action (net/core/dev.c:7850 net/core/dev.c:8007)\n   handle_softirqs (kernel/softirq.c:645)\n  Kernel panic - not syncing: Fatal exception in interrupt"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - ETHTOOL_MSG_CHANNELS_SET enters ethnl_set_channels() -\u003e veth_set_channels() -\u003e veth_disable_range_safe()/veth_enable_range_safe() -\u003e the patched veth_napi_del_range()/__veth_napi_enable_range(); this is local netlink configuration, and final traffic comes from the veth peer, not a remote protocol message.\nAC:L - The same attacker can resize down, replace XDP so veth_xdp_set() calls bpf_prog_put(), resize up, and transmit on the restored queue. RTNL serialization makes this a deterministic sequence rather than a race or victim-dependent condition.\nPR:L - ETHTOOL_MSG_CHANNELS_SET is GENL_UNS_ADMIN_PERM and RTM_SETLINK checks CAP_NET_ADMIN in the target network namespace; BPF_PROG_LOAD uses bpf_token_capable() to accept CAP_BPF/CAP_NET_ADMIN in a delegated token\u0027s user namespace, so init-namespace root is not required.\nUI:N - The attacker performs the XDP replacement, both channel resizes, and the peer transmission; no victim must mount, open, or otherwise act on attacker-supplied data.\nS:U - The stale rq-\u003exdp_prog is consumed by veth_xdp_rcv_skb() inside the same host kernel that owns the veth device; it does not cross a VM, IOMMU, or separate security authority.\nC:H - The removed rq retains a freed vmalloc-backed struct bpf_prog; reclaiming it controls fields read by __bpf_prog_run(), including insnsi and bpf_func, enabling kernel code execution and arbitrary kernel reads.\nI:H - veth_xdp_rcv_skb() passes the stale program to bpf_prog_run_xdp(), and __bpf_prog_run() performs an indirect call through freed prog-\u003ebpf_func; controlled reuse can redirect kernel control flow.\nA:H - The reported restored-queue packet reaches veth_xdp_rcv_skb() through veth_poll() and faults on the freed program, producing an oops and fatal kernel panic."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-24T14:08:38.193Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/7a8e143109ff2736dc79e41dcd55af7ceab7520a"
        },
        {
          "url": "https://git.kernel.org/stable/c/1a5c5b9c64ba5f39dba55da6e12561ca56eeb758"
        },
        {
          "url": "https://git.kernel.org/stable/c/f0e8dba8c224981e53c792c6b3dbb7604fb2c2c6"
        },
        {
          "url": "https://git.kernel.org/stable/c/3c10a5dd0d38f506f671dbb59e9d0ee4c72076f9"
        },
        {
          "url": "https://git.kernel.org/stable/c/25bb7c36225220d30f404d7e29d2e052bc5f4b99"
        },
        {
          "url": "https://git.kernel.org/stable/c/43f6b647f209591b1e3f726bb16b8dcba6b95908"
        },
        {
          "url": "https://git.kernel.org/stable/c/7104a370714346b667712913dc16abf14bbc97ed"
        }
      ],
      "title": "veth: manage XDP program pointers during channel resize",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98381",
    "datePublished": "2026-10-09T07:34:21.029Z",
    "dateReserved": "2026-09-25T10:25:14.345Z",
    "dateUpdated": "2026-10-24T14:08:38.193Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-98381",
      "date": "2026-11-01",
      "epss": "0.00125",
      "percentile": "0.02172"
    },
    "microsoft_vex": {
      "current_release_date": "2026-10-21T18:41:39.000Z",
      "cve": "CVE-2026-98381",
      "id": "msrc_CVE-2026-98381",
      "initial_release_date": "2026-10-10T01:12:10.000Z",
      "product_status:fixed": "1",
      "product_status:known_affected": "1",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "veth: manage XDP program pointers during channel resize",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-98381.json",
      "version": "4"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/net/veth.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "7a8e143109ff2736dc79e41dcd55af7ceab7520a",
                    "status": "affected",
                    "version": "4752eeb3d891c27905a8fdf4d80e899c0efd4ec7",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "1a5c5b9c64ba5f39dba55da6e12561ca56eeb758",
                    "status": "affected",
                    "version": "4752eeb3d891c27905a8fdf4d80e899c0efd4ec7",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "f0e8dba8c224981e53c792c6b3dbb7604fb2c2c6",
                    "status": "affected",
                    "version": "4752eeb3d891c27905a8fdf4d80e899c0efd4ec7",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "3c10a5dd0d38f506f671dbb59e9d0ee4c72076f9",
                    "status": "affected",
                    "version": "4752eeb3d891c27905a8fdf4d80e899c0efd4ec7",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "25bb7c36225220d30f404d7e29d2e052bc5f4b99",
                    "status": "affected",
                    "version": "4752eeb3d891c27905a8fdf4d80e899c0efd4ec7",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "43f6b647f209591b1e3f726bb16b8dcba6b95908",
                    "status": "affected",
                    "version": "4752eeb3d891c27905a8fdf4d80e899c0efd4ec7",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "7104a370714346b667712913dc16abf14bbc97ed",
                    "status": "affected",
                    "version": "4752eeb3d891c27905a8fdf4d80e899c0efd4ec7",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/net/veth.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "5.15"
                  },
                  {
                    "lessThan": "5.15",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.222",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.189",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.158",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.112",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.55",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.2.*",
                    "status": "unaffected",
                    "version": "7.2.9",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.3",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nveth: manage XDP program pointers during channel resize\n\nveth_set_channels() tears down XDP resources for removed RX queues\nwithout clearing rq-\u003exdp_prog.  If the program is then detached or\nreplaced, those queues keep the old pointer after bpf_prog_put().\nA later channel increase can re-enable NAPI and run the freed program.\n\n  BUG: unable to handle page fault for address: ffffc90000256048\n  Oops: Oops: 0000 [#1] SMP KASAN NOPTI\n  RIP: veth_xdp_rcv_skb (include/linux/filter.h:779\n                         include/net/xdp.h:696 drivers/net/veth.c:820)\n  Call Trace:\n   veth_xdp_rcv (drivers/net/veth.c:941)\n   veth_poll (drivers/net/veth.c:986)\n   __napi_poll (net/core/dev.c:7787)\n   net_rx_action (net/core/dev.c:7850 net/core/dev.c:8007)\n   handle_softirqs (kernel/softirq.c:645)\n  Kernel panic - not syncing: Fatal exception in interrupt"
          }
        ],
        "id": "CVE-2026-98381",
        "lastModified": "2026-10-24T14:16:40.037",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-10-09T08:16:56.547",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/1a5c5b9c64ba5f39dba55da6e12561ca56eeb758"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/25bb7c36225220d30f404d7e29d2e052bc5f4b99"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/3c10a5dd0d38f506f671dbb59e9d0ee4c72076f9"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/43f6b647f209591b1e3f726bb16b8dcba6b95908"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/7104a370714346b667712913dc16abf14bbc97ed"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/7a8e143109ff2736dc79e41dcd55af7ceab7520a"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/f0e8dba8c224981e53c792c6b3dbb7604fb2c2c6"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-10-24T14:27:31+00:00",
      "cve": "CVE-2026-98381",
      "id": "CVE-2026-98381",
      "initial_release_date": "2026-10-09T00:00:00+00:00",
      "product_status:known_affected": "250",
      "product_status:known_not_affected": "28",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: veth: manage XDP program pointers during channel resize",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98381.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.