CVE-2026-90142 (GCVE-0-2026-90142)

Vulnerability from cvelistv5 – Published: 2026-09-17 16:06 – Updated: 2026-09-18 17:53
VLAI
Title
virtio_net: Fix resize of the RX ring
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 CPE status
Linux Linux Affected: e9f3962441c0a4d6f16c656e6c8aa02a3ccdd568 , < 8344c9233c8f77017174d9e280c5a26034d068b6 (git)
Affected: e9f3962441c0a4d6f16c656e6c8aa02a3ccdd568 , < d09c98a6da215bce2173a292e4b95c8de6ea5d51 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.11
Unaffected: 0 , < 6.11 (semver)
Unaffected: 7.2.6 , ≤ 7.2.* (semver)
Unaffected: 7.3-rc1 , ≤ * (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/virtio_net.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "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": "7.2.*",
              "status": "unaffected",
              "version": "7.2.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "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-rc1",
                  "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-09-18T17:53:19.794Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "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-09-18T17:53:19.794Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-90142",
      "date": "2026-09-25",
      "epss": "0.00165",
      "percentile": "0.05085"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "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": "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": "7.2.*",
                    "status": "unaffected",
                    "version": "7.2.6",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.3-rc1",
                    "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\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"
          }
        ],
        "id": "CVE-2026-90142",
        "lastModified": "2026-09-18T18:17:43.567",
        "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-09-17T17:17:06.990",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/8344c9233c8f77017174d9e280c5a26034d068b6"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/d09c98a6da215bce2173a292e4b95c8de6ea5d51"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

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.

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.


Loading…