CVE-2026-99684 (GCVE-0-2026-99684)

Vulnerability from cvelistv5 – Published: 2026-11-20 05:50 – Updated: 2026-11-23 08:05
VLAI
Title
hwrng: virtio - prevent use-after-free after a failed restore
Summary
In the Linux kernel, the following vulnerability has been resolved: hwrng: virtio - prevent use-after-free after a failed restore remove_common() frees the driver data during freeze, but does not clear vdev->priv, which points to freed memory. If probe_common() then fails during restore, a later remove or freeze can dereference the dangling pointer. Clear vdev->priv on the probe_common() error cleanup path and before freeing the driver data in remove_common(). Also reset the device and return early from remove_common() if vdev->priv is already NULL for a safe teardown after a failed restore.
Severity
No CVSS data available.
Impacted products
Vendor Product Version
Linux Linux Affected: 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce , < 4e16413f7bf306947c81b913330d54ed75646808 (git)
Affected: 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce , < 2aecdb2c490384618057535d461a4fcd19f64b7c (git)
Affected: 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce , < e8a75bd0e3c3270076cdf8d841ffe49c35516096 (git)
Affected: 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce , < eb07306b576b6545323abb806e2f840d2de67dd4 (git)
Affected: 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce , < ec81f97c6b13b839e5800cdade1e5b187b9b2738 (git)
Affected: 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce , < 42f2f4ee9d6e75b8b55b9108f6f5cf254425db64 (git)
Affected: 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce , < b18bda055c0d3e44fdf419e2739d92ea92a6f1d2 (git)
Affected: 08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce , < 0f7bf47f5a0cc26320aa4b14f4504d03a07f4b74 (git)
Create a notification for this product.
Linux Linux Affected: 3.16
Unaffected: 0 , < 3.16 (semver)
Unaffected: 5.10.275 , ≤ 5.10.* (semver)
Unaffected: 5.15.226 , ≤ 5.15.* (semver)
Unaffected: 6.1.193 , ≤ 6.1.* (semver)
Unaffected: 6.6.163 , ≤ 6.6.* (semver)
Unaffected: 6.12.118 , ≤ 6.12.* (semver)
Unaffected: 6.18.64 , ≤ 6.18.* (semver)
Unaffected: 7.3.5 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc2 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/char/hw_random/virtio-rng.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "4e16413f7bf306947c81b913330d54ed75646808",
              "status": "affected",
              "version": "08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce",
              "versionType": "git"
            },
            {
              "lessThan": "2aecdb2c490384618057535d461a4fcd19f64b7c",
              "status": "affected",
              "version": "08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce",
              "versionType": "git"
            },
            {
              "lessThan": "e8a75bd0e3c3270076cdf8d841ffe49c35516096",
              "status": "affected",
              "version": "08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce",
              "versionType": "git"
            },
            {
              "lessThan": "eb07306b576b6545323abb806e2f840d2de67dd4",
              "status": "affected",
              "version": "08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce",
              "versionType": "git"
            },
            {
              "lessThan": "ec81f97c6b13b839e5800cdade1e5b187b9b2738",
              "status": "affected",
              "version": "08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce",
              "versionType": "git"
            },
            {
              "lessThan": "42f2f4ee9d6e75b8b55b9108f6f5cf254425db64",
              "status": "affected",
              "version": "08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce",
              "versionType": "git"
            },
            {
              "lessThan": "b18bda055c0d3e44fdf419e2739d92ea92a6f1d2",
              "status": "affected",
              "version": "08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce",
              "versionType": "git"
            },
            {
              "lessThan": "0f7bf47f5a0cc26320aa4b14f4504d03a07f4b74",
              "status": "affected",
              "version": "08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/char/hw_random/virtio-rng.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.16"
            },
            {
              "lessThan": "3.16",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.275",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.226",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.193",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.118",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.64",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.275",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.226",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.193",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.163",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.118",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.64",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.5",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc2",
                  "versionStartIncluding": "3.16",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nhwrng: virtio - prevent use-after-free after a failed restore\n\nremove_common() frees the driver data during freeze, but does not clear\nvdev-\u003epriv, which points to freed memory. If probe_common() then fails\nduring restore, a later remove or freeze can dereference the dangling\npointer.\n\nClear vdev-\u003epriv on the probe_common() error cleanup path and before\nfreeing the driver data in remove_common(). Also reset the device and\nreturn early from remove_common() if vdev-\u003epriv is already NULL for a\nsafe teardown after a failed restore."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-23T08:05:59.308Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/4e16413f7bf306947c81b913330d54ed75646808"
        },
        {
          "url": "https://git.kernel.org/stable/c/2aecdb2c490384618057535d461a4fcd19f64b7c"
        },
        {
          "url": "https://git.kernel.org/stable/c/e8a75bd0e3c3270076cdf8d841ffe49c35516096"
        },
        {
          "url": "https://git.kernel.org/stable/c/eb07306b576b6545323abb806e2f840d2de67dd4"
        },
        {
          "url": "https://git.kernel.org/stable/c/ec81f97c6b13b839e5800cdade1e5b187b9b2738"
        },
        {
          "url": "https://git.kernel.org/stable/c/42f2f4ee9d6e75b8b55b9108f6f5cf254425db64"
        },
        {
          "url": "https://git.kernel.org/stable/c/b18bda055c0d3e44fdf419e2739d92ea92a6f1d2"
        },
        {
          "url": "https://git.kernel.org/stable/c/0f7bf47f5a0cc26320aa4b14f4504d03a07f4b74"
        }
      ],
      "title": "hwrng: virtio - prevent use-after-free after a failed restore",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99684",
    "datePublished": "2026-11-20T05:50:30.317Z",
    "dateReserved": "2026-09-25T10:25:14.428Z",
    "dateUpdated": "2026-11-23T08:05:59.308Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99684",
      "date": "2026-11-24",
      "epss": "0.00177",
      "percentile": "0.0723"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-25T01:08:20.000Z",
      "cve": "CVE-2026-99684",
      "id": "msrc_CVE-2026-99684",
      "initial_release_date": "2026-11-20T18:10:31.000Z",
      "product_status:fixed": "2",
      "product_status:known_affected": "2",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "hwrng: virtio - prevent use-after-free after a failed restore",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99684.json",
      "version": "4"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/char/hw_random/virtio-rng.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "4e16413f7bf306947c81b913330d54ed75646808",
                    "status": "affected",
                    "version": "08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "2aecdb2c490384618057535d461a4fcd19f64b7c",
                    "status": "affected",
                    "version": "08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "e8a75bd0e3c3270076cdf8d841ffe49c35516096",
                    "status": "affected",
                    "version": "08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "eb07306b576b6545323abb806e2f840d2de67dd4",
                    "status": "affected",
                    "version": "08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "ec81f97c6b13b839e5800cdade1e5b187b9b2738",
                    "status": "affected",
                    "version": "08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "42f2f4ee9d6e75b8b55b9108f6f5cf254425db64",
                    "status": "affected",
                    "version": "08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "b18bda055c0d3e44fdf419e2739d92ea92a6f1d2",
                    "status": "affected",
                    "version": "08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "0f7bf47f5a0cc26320aa4b14f4504d03a07f4b74",
                    "status": "affected",
                    "version": "08e53fbdb85c0f6f45c0f7c1ea3defc1752a95ce",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/char/hw_random/virtio-rng.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "3.16"
                  },
                  {
                    "lessThan": "3.16",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.10.*",
                    "status": "unaffected",
                    "version": "5.10.275",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.226",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.193",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.163",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.118",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.64",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.5",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc2",
                    "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\nhwrng: virtio - prevent use-after-free after a failed restore\n\nremove_common() frees the driver data during freeze, but does not clear\nvdev-\u003epriv, which points to freed memory. If probe_common() then fails\nduring restore, a later remove or freeze can dereference the dangling\npointer.\n\nClear vdev-\u003epriv on the probe_common() error cleanup path and before\nfreeing the driver data in remove_common(). Also reset the device and\nreturn early from remove_common() if vdev-\u003epriv is already NULL for a\nsafe teardown after a failed restore."
          }
        ],
        "id": "CVE-2026-99684",
        "lastModified": "2026-11-23T08:18:09.257",
        "metrics": {},
        "published": "2026-11-20T06:18:03.367",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/0f7bf47f5a0cc26320aa4b14f4504d03a07f4b74"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/2aecdb2c490384618057535d461a4fcd19f64b7c"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/42f2f4ee9d6e75b8b55b9108f6f5cf254425db64"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/4e16413f7bf306947c81b913330d54ed75646808"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/b18bda055c0d3e44fdf419e2739d92ea92a6f1d2"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/e8a75bd0e3c3270076cdf8d841ffe49c35516096"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/eb07306b576b6545323abb806e2f840d2de67dd4"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/ec81f97c6b13b839e5800cdade1e5b187b9b2738"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-24T23:44:28+00:00",
      "cve": "CVE-2026-99684",
      "id": "CVE-2026-99684",
      "initial_release_date": "2026-11-20T05:50:30.317000+00:00",
      "product_status:known_affected": "280",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of Service via use-after-free in virtio-rng",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99684.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-11-20T17:42:32Z",
      "cve": "CVE-2026-99684",
      "id": "CVE-2026-99684",
      "initial_release_date": "2026-11-20T17:42:32Z",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-99684",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-99684.json",
      "version": "2"
    }
  }
}



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…