{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "76a2b524a4b1d6dc0f2421f9854a01d55d5e5436"
            },
            {
              "fixed": "1c587f30c6242cc37b3d6ee6d91daef84e51633f"
            },
            {
              "fixed": "13b4d5e055d344e34b864bced0a591ceaac7ad81"
            },
            {
              "fixed": "94344bc7c9d70b04be718d841b92873aa3ea8191"
            },
            {
              "fixed": "50c3c7df4f26d36b30bc950a7d780f7029fd52f8"
            },
            {
              "fixed": "ee717e73ab47253c82c134c342e32fcdfcfccd87"
            },
            {
              "fixed": "21650fe221ea9b72809140b691589dde8bff3eab"
            },
            {
              "fixed": "d88071a6ce091272726bedda26c105b85b23705f"
            },
            {
              "fixed": "ef8c9dacda2871accd64e3eda951fef6b788b1ea"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.16.0"
            },
            {
              "fixed": "5.10.261"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.212"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.178"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.145"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.97"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.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/80xxx/CVE-2026-80652.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: ccp - Treat zero-length cert chain as query for blob lengths\n\nWhen handling a PDH export, treat a zero-length userspace cert chain buffer\nas a request to query the length of the relevant blobs.  Failure to account\nfor the zero-length buffer trips a BUG_ON() when running with\nCONFIG_DEBUG_VIRTUAL=y due to trying to get the physical address of the\nZERO_SIZE_PTR (returned by kzalloc() on the bogus allocation).\n\n   kernel BUG at arch/x86/mm/physaddr.c:28 !\n  Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI\n  CPU: 30 UID: 0 PID: 28580 Comm: syz.2.18 Kdump: loaded\n  Tainted: G        W           6.18.16-smp-DEV #1 NONE\n  Tainted: [W]=WARN\n  Hardware name: Google, Inc. Arcadia_IT_80/Arcadia_IT_80, BIOS 12.62.0-0 11/19/2025\n   RIP: 0010:__phys_addr+0x16a/0x180 arch/x86/mm/physaddr.c:28\n  RSP: 0018:ffffc9008329fc80 EFLAGS: 00010293\n  RAX: ffffffff8179110a RBX: 0000778000000010 RCX: ffff8884e6992600\n  RDX: 0000000000000000 RSI: 0000000080000010 RDI: 0000778000000010\n  RBP: ffffc9008329fdf0 R08: 0000000000000dc0 R09: 00000000ffffffff\n  R10: dffffc0000000000 R11: fffffbfff126d297 R12: dffffc0000000000\n  R13: 1ffff92010653fc8 R14: 0000000080000010 R15: dffffc0000000000\n  FS:  0000555556bec9c0(0000) GS:ffff88aa4ce1c000(0000) knlGS:0000000000000000\n  CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\n  CR2: 00007fd3159e7000 CR3: 00000004fbc44000 CR4: 0000000000350ef0\n  Call Trace:\n   \u003cTASK\u003e\n    [\u003cffffffff853d3869\u003e] sev_ioctl_do_pdh_export+0x559/0x7a0 drivers/crypto/ccp/sev-dev.c:2308\n    [\u003cffffffff853d1fdd\u003e] sev_ioctl+0x2cd/0x480 drivers/crypto/ccp/sev-dev.c:2556\n    [\u003cffffffff82549ebc\u003e] vfs_ioctl fs/ioctl.c:52 [inline]\n    [\u003cffffffff82549ebc\u003e] __do_sys_ioctl fs/ioctl.c:598 [inline]\n    [\u003cffffffff82549ebc\u003e] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:584\n    [\u003cffffffff8630115f\u003e] do_syscall_x64 arch/x86/entry/syscall_64.c:64 [inline]\n    [\u003cffffffff8630115f\u003e] do_syscall_64+0x9f/0xf40 arch/x86/entry/syscall_64.c:98\n   [\u003cffffffff81000136\u003e] entry_SYSCALL_64_after_hwframe+0x76/0x7e\n  RIP: 0033:0x7fd3158eac39\n   \u003c/TASK\u003e\n\nThankfully, the bug is benign outside of CONFIG_DEBUG_VIRTUAL=y as getting\nthe physical address is just arithmetic, and the PSP errors out before\ntrying to write to the garbage address (which it must, otherwise querying\nthe blob lengths would clobber memory at pfn=0).",
  "id": "CVE-2026-80652",
  "modified": "2026-08-30T03:30:49.396723353Z",
  "published": "2026-08-28T06:49:00.093Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/13b4d5e055d344e34b864bced0a591ceaac7ad81"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1c587f30c6242cc37b3d6ee6d91daef84e51633f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/21650fe221ea9b72809140b691589dde8bff3eab"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/50c3c7df4f26d36b30bc950a7d780f7029fd52f8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/94344bc7c9d70b04be718d841b92873aa3ea8191"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d88071a6ce091272726bedda26c105b85b23705f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ee717e73ab47253c82c134c342e32fcdfcfccd87"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ef8c9dacda2871accd64e3eda951fef6b788b1ea"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80652.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-80652"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "crypto: ccp - Treat zero-length cert chain as query for blob lengths"
}