{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0623c759276885c3ae88197ba6fb5c9c6ba8612f"
            },
            {
              "fixed": "79366023aa891ca31376021a7bccff6384ca1ff1"
            },
            {
              "fixed": "aebebd1e9d70b650fc9e877082e0134edcf511da"
            },
            {
              "fixed": "548d2208455f14e6121404c6e30e997bfe0cd264"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.16.0"
            },
            {
              "fixed": "6.18.40"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.1.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74311.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nvirtio: rtc: tear down old virtqueues before restore\n\nvirtio_device_restore() resets the device and restores the negotiated\nfeatures before calling -\u003erestore(). viortc_freeze() intentionally\nleaves the existing virtqueues in place so the alarm queue can still\nwake the system, but viortc_restore() immediately calls\nviortc_init_vqs() without first deleting those old queues.\n\nIf virtqueue reinitialization fails on virtio-pci, the transport error\npath can run vp_del_vqs() against a newly allocated vp_dev-\u003evqs array\nwhile vdev-\u003evqs still contains the old virtqueues. vp_del_vqs() then\nlooks up queue state through the new array and can dereference a NULL\ninfo pointer in vp_del_vq(), crashing the guest kernel during restore.\n\nThis can also happen during a non-faulty reinitialization, when one of\nthe vp_find_vqs_msix() attempts is unsuccessful before a later attempt\nwould succeed.\n\nDelete the stale virtqueues before rebuilding them. If restore fails\nbefore virtio_device_ready(), reuse the remove path to stop the device.\nOnce the device is ready, return errors directly instead of deleting the\nvirtqueues again.",
  "id": "CVE-2026-74311",
  "modified": "2026-08-16T03:31:19.241570052Z",
  "published": "2026-08-15T05:58:10.711Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/548d2208455f14e6121404c6e30e997bfe0cd264"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/79366023aa891ca31376021a7bccff6384ca1ff1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/aebebd1e9d70b650fc9e877082e0134edcf511da"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74311.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-74311"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "virtio: rtc: tear down old virtqueues before restore"
}