CVE-2026-90142 (GCVE-0-2026-90142)
Vulnerability from cvelistv5
Published
2026-09-17 16:06
Modified
2026-10-21 12:50
Summary
In the Linux kernel, the following vulnerability has been resolved: virtio_net: Fix resize of the RX ring When a AF_XDP socket is attached, the virtnet_rx_resize should resize the rq->xsk_buffs XSK buffer array. Otherwise, when the size grows, the virtnet_rx_resume() causes a write past the end of the array. This is easily reproducable with ethtool -G ens3 rx 32 ./xdpsock -i eth0 -q 0 -r -z & ethtool -G eth0 rx 256
Impacted products
Vendor Product Version
Linux Linux Version: e9f3962441c0a4d6f16c656e6c8aa02a3ccdd568
Version: e9f3962441c0a4d6f16c656e6c8aa02a3ccdd568
Version: e9f3962441c0a4d6f16c656e6c8aa02a3ccdd568
Version: e9f3962441c0a4d6f16c656e6c8aa02a3ccdd568
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/virtio_net.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "5c941b5d989a15cdaa987a2c602fb168461c6186",
              "status": "affected",
              "version": "e9f3962441c0a4d6f16c656e6c8aa02a3ccdd568",
              "versionType": "git"
            },
            {
              "lessThan": "5235abdb760bbd7a6fcecf1890b5160b7a75a9ce",
              "status": "affected",
              "version": "e9f3962441c0a4d6f16c656e6c8aa02a3ccdd568",
              "versionType": "git"
            },
            {
              "lessThan": "8344c9233c8f77017174d9e280c5a26034d068b6",
              "status": "affected",
              "version": "e9f3962441c0a4d6f16c656e6c8aa02a3ccdd568",
              "versionType": "git"
            },
            {
              "lessThan": "d09c98a6da215bce2173a292e4b95c8de6ea5d51",
              "status": "affected",
              "version": "e9f3962441c0a4d6f16c656e6c8aa02a3ccdd568",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/virtio_net.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.11"
            },
            {
              "lessThan": "6.11",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.114",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.57",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.6",
              "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": "6.12.114",
                  "versionStartIncluding": "6.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.57",
                  "versionStartIncluding": "6.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.6",
                  "versionStartIncluding": "6.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "6.11",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nvirtio_net: Fix resize of the RX ring\n\nWhen a AF_XDP socket is attached, the virtnet_rx_resize\nshould resize the rq-\u003exsk_buffs XSK buffer array. Otherwise,\nwhen the size grows, the virtnet_rx_resume() causes a write\npast the end of the array. This is easily reproducable with\n\n    ethtool -G ens3 rx 32\n    ./xdpsock -i eth0 -q 0 -r -z \u0026\n    ethtool -G eth0 rx 256"
        }
      ],
      "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 - The overflow is driven by ring-\u003erx_pending passed to virtnet_set_ringparam() from SIOCETHTOOL ETHTOOL_SRINGPARAM (ethtool_set_ringparam) or ETHTOOL_MSG_RINGS_SET (ethnl_set_rings), after virtnet_xsk_pool_enable() sized rq-\u003exsk_buffs from AF_XDP bind(); received packets never supply the new vring length.\nAC:L - The reporter\u0027s sequence (ethtool -G rx 32, xdpsock -z, ethtool -G rx 256) deterministically grows the vring while leaving xsk_buffs at the old size; virtnet_rx_resume()-\u003etry_fill_recv()-\u003evirtnet_add_recvbuf_xsk() then passes rq-\u003evq-\u003enum_free to xsk_buff_alloc_batch(). The attacker controls both sizes and the UMEM fill ring; there is no race.\nPR:L - ETHTOOL_MSG_RINGS_SET is GENL_UNS_ADMIN_PERM (netlink_ns_capable CAP_NET_ADMIN) and the ioctl path checks ns_capable(net-\u003euser_ns, CAP_NET_ADMIN); AF_XDP socket() checks ns_capable(net-\u003euser_ns, CAP_NET_RAW) in xsk_create(). Both are available in a user-owned netns that holds the virtio_net device, not init-namespace root.\nUI:N - The attacker themselves issues the ethtool ring-resize ioctl/netlink and bind()s the AF_XDP zero-copy socket (xdpsock -z) that calls virtnet_xsk_pool_enable(); no separate victim action such as mounting media is required.\nS:U - virtnet_add_recvbuf_xsk() overflows rq-\u003exsk_buffs in the same kernel that hosts the virtio_net frontend. That is guest-kernel heap corruption, not a KVM/vhost guest-to-host escape or IOMMU bypass.\nC:H - After virtqueue_resize(), xsk_buff_alloc_batch() writes up to the new vring\u0027s num_free xdp_buff* values past the old xsk_buffs kvzalloc, corrupting adjacent heap objects with kernel pointers that can be turned into an arbitrary read.\nI:H - The same out-of-bounds xdp_buff* write, and the virtqueue_add_inbuf_premapped() loop that then consumes xsk_buffs[i] through that overflowed range, is kernel heap corruption usable for an arbitrary write or control-flow hijack.\nA:H - The heap overflow in virtnet_add_recvbuf_xsk() during virtnet_rx_resume() after virtqueue_resize() is a kernel memory-safety violation that oopses or panics even without a full exploit, matching the commit\u0027s write-past-end."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-21T12:50:02.541Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/5c941b5d989a15cdaa987a2c602fb168461c6186"
        },
        {
          "url": "https://git.kernel.org/stable/c/5235abdb760bbd7a6fcecf1890b5160b7a75a9ce"
        },
        {
          "url": "https://git.kernel.org/stable/c/8344c9233c8f77017174d9e280c5a26034d068b6"
        },
        {
          "url": "https://git.kernel.org/stable/c/d09c98a6da215bce2173a292e4b95c8de6ea5d51"
        }
      ],
      "title": "virtio_net: Fix resize of the RX ring",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-90142",
    "datePublished": "2026-09-17T16:06:39.122Z",
    "dateReserved": "2026-09-11T19:38:34.789Z",
    "dateUpdated": "2026-10-21T12:50:02.541Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…