{"id":"CVE-2026-99220","aliases":["CVE-2026-99220"],"related":[],"kind":"vulnerability","state":"published","title":"asymmetric_keys: reject trust keys without IDs","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nasymmetric_keys: reject trust keys without IDs\n\nThe PKCS#8 parser deliberately leaves the asym_key_ids payload slot\nempty. key_or_keyring_common() unconditionally dereferences that slot\nwhen a PKCS#8 key is supplied to a key_or_keyring restriction. Both the\nplain and :chain forms reach this branch, allowing an unprivileged caller\nto trigger a NULL pointer dereference through KEYCTL_RESTRICT_KEYRING\nfollowed by add_key().\n\n Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000\n KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]\n RIP: 0010:key_or_keyring_common (crypto/asymmetric_keys/restrict.c:205 crypto/asymmetric_keys/restrict.c:279)\n Call Trace:\n  <TASK>\n  __key_create_or_update (security/keys/key.c:884)\n  key_create_or_update (security/keys/key.c:1021)\n  __do_sys_add_key (security/keys/keyctl.c:134)\n  do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83)\n  entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130)\n  </TASK>\n Kernel panic - not syncing: Fatal exception\n\nReject an asymmetric restriction key without key IDs. A PKCS#8 private\nkey cannot identify the signer of a candidate certificate and is not a\nvalid trust anchor.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nasymmetric_keys: reject trust keys without IDs\n\nThe PKCS#8 parser deliberately leaves the asym_key_ids payload slot\nempty. key_or_keyring_common() unconditionally dereferences that slot\nwhen a PKCS#8 key is supplied to a key_or_keyring restriction. Both the\nplain and :chain forms reach this branch, allowing an unprivileged caller\nto trigger a NULL pointer dereference through KEYCTL_RESTRICT_KEYRING\nfollowed by add_key().\n\n Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000\n KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]\n RIP: 0010:key_or_keyring_common (crypto/asymmetric_keys/restrict.c:205 crypto/asymmetric_keys/restrict.c:279)\n Call Trace:\n  <TASK>\n  __key_create_or_update (security/keys/key.c:884)\n  key_create_or_update (security/keys/key.c:1021)\n  __do_sys_add_key (security/keys/keyctl.c:134)\n  do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83)\n  entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130)\n  </TASK>\n Kernel panic - not syncing: Fatal exception\n\nReject an asymmetric restriction key without key IDs. A PKCS#8 private\nkey cannot identify the signer of a candidate certificate and is not a\nvalid trust anchor.","source":"cvelist"}],"published":"2026-11-02T16:06:31.966Z","modified":"2026-11-23T08:17:31.593Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"3c58b2362ba828ee2970c66c6a6fd7b04fde4413","fixed":"78834a4fa2107c994576a60c51f42471f34dec39","status":"affected"},{"type":"git","introduced":"3c58b2362ba828ee2970c66c6a6fd7b04fde4413","fixed":"0dd657c709df354ddeef1df48fd1e58b5482f932","status":"affected"},{"type":"git","introduced":"3c58b2362ba828ee2970c66c6a6fd7b04fde4413","fixed":"889a2293a95f6c2880bf73b67f9b0af23251a128","status":"affected"},{"type":"git","introduced":"3c58b2362ba828ee2970c66c6a6fd7b04fde4413","fixed":"7f0728ba89624e25df2bb80ff59bbfb545060935","status":"affected"},{"type":"git","introduced":"3c58b2362ba828ee2970c66c6a6fd7b04fde4413","fixed":"2a40bdd4409567de4c2a141ac66439dc238af752","status":"affected"},{"type":"git","introduced":"3c58b2362ba828ee2970c66c6a6fd7b04fde4413","fixed":"1aa0c7aa4c2554a5b6d74ae1924508ca4718234b","status":"affected"},{"type":"git","introduced":"3c58b2362ba828ee2970c66c6a6fd7b04fde4413","fixed":"33a078f04e264eb71aa9f209cb334e4010123818","status":"affected"},{"type":"git","introduced":"3c58b2362ba828ee2970c66c6a6fd7b04fde4413","fixed":"57e54b6939c6539d90a81c7e57531901d5991651","status":"affected"},{"type":"git","introduced":"3c58b2362ba828ee2970c66c6a6fd7b04fde4413","fixed":"9695df3b1db4ac4534274d38ee16e3b9b0bf910e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.20","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.20","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.161","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.115","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.60","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.14","lastAffected":"7.2.*","status":"unaffected"},{"type":"semver","introduced":"7.3.1","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/78834a4fa2107c994576a60c51f42471f34dec39","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0dd657c709df354ddeef1df48fd1e58b5482f932","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/889a2293a95f6c2880bf73b67f9b0af23251a128","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7f0728ba89624e25df2bb80ff59bbfb545060935","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2a40bdd4409567de4c2a141ac66439dc238af752","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1aa0c7aa4c2554a5b6d74ae1924508ca4718234b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/33a078f04e264eb71aa9f209cb334e4010123818","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/57e54b6939c6539d90a81c7e57531901d5991651","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9695df3b1db4ac4534274d38ee16e3b9b0bf910e","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99220","url":"https://www.cve.org/CVERecord?id=CVE-2026-99220","licence":"CVE Terms of Use","modified":"2026-11-23T08:00:42.444Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99220","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99220","licence":"Public domain","modified":"2026-11-23T08:17:31.593Z"}],"updatedAt":"2026-11-25T22:59:48.199Z","epss":{"score":0.00308,"percentile":0.25526,"date":"2026-12-01T12:00:22.000Z"}}