# CVE-2026-99220: asymmetric_keys: reject trust keys without IDs

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2026-11-02T16:06:31.966Z
- Modified: 2026-11-23T08:17:31.593Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

asymmetric_keys: reject trust keys without IDs

The PKCS#8 parser deliberately leaves the asym_key_ids payload slot
empty. key_or_keyring_common() unconditionally dereferences that slot
when a PKCS#8 key is supplied to a key_or_keyring restriction. Both the
plain and :chain forms reach this branch, allowing an unprivileged caller
to trigger a NULL pointer dereference through KEYCTL_RESTRICT_KEYRING
followed by add_key().

 Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000
 KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
 RIP: 0010:key_or_keyring_common (crypto/asymmetric_keys/restrict.c:205 crypto/asymmetric_keys/restrict.c:279)
 Call Trace:
  <TASK>
  __key_create_or_update (security/keys/key.c:884)
  key_create_or_update (security/keys/key.c:1021)
  __do_sys_add_key (security/keys/keyctl.c:134)
  do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83)
  entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130)
  </TASK>
 Kernel panic - not syncing: Fatal exception

Reject an asymmetric restriction key without key IDs. A PKCS#8 private
key cannot identify the signer of a candidate certificate and is not a
valid trust anchor.

(As written by CVE List.)

## Affected

- Linux Linux: from 3c58b2362ba828ee2970c66c6a6fd7b04fde4413 before 78834a4fa2107c994576a60c51f42471f34dec39; from 3c58b2362ba828ee2970c66c6a6fd7b04fde4413 before 0dd657c709df354ddeef1df48fd1e58b5482f932; from 3c58b2362ba828ee2970c66c6a6fd7b04fde4413 before 889a2293a95f6c2880bf73b67f9b0af23251a128; from 3c58b2362ba828ee2970c66c6a6fd7b04fde4413 before 7f0728ba89624e25df2bb80ff59bbfb545060935; from 3c58b2362ba828ee2970c66c6a6fd7b04fde4413 before 2a40bdd4409567de4c2a141ac66439dc238af752; from 3c58b2362ba828ee2970c66c6a6fd7b04fde4413 before 1aa0c7aa4c2554a5b6d74ae1924508ca4718234b; from 3c58b2362ba828ee2970c66c6a6fd7b04fde4413 before 33a078f04e264eb71aa9f209cb334e4010123818; from 3c58b2362ba828ee2970c66c6a6fd7b04fde4413 before 57e54b6939c6539d90a81c7e57531901d5991651; from 3c58b2362ba828ee2970c66c6a6fd7b04fde4413 before 9695df3b1db4ac4534274d38ee16e3b9b0bf910e; 4.20 (not affected: before 4.20; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.191 up to 6.1.*; from 6.6.161 up to 6.6.*; from 6.12.115 up to 6.12.*; from 6.18.60 up to 6.18.*; from 7.2.14 up to 7.2.*; from 7.3.1 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/78834a4fa2107c994576a60c51f42471f34dec39>
- <https://git.kernel.org/stable/c/0dd657c709df354ddeef1df48fd1e58b5482f932>
- <https://git.kernel.org/stable/c/889a2293a95f6c2880bf73b67f9b0af23251a128>
- <https://git.kernel.org/stable/c/7f0728ba89624e25df2bb80ff59bbfb545060935>
- <https://git.kernel.org/stable/c/2a40bdd4409567de4c2a141ac66439dc238af752>
- <https://git.kernel.org/stable/c/1aa0c7aa4c2554a5b6d74ae1924508ca4718234b>
- <https://git.kernel.org/stable/c/33a078f04e264eb71aa9f209cb334e4010123818>
- <https://git.kernel.org/stable/c/57e54b6939c6539d90a81c7e57531901d5991651>
- <https://git.kernel.org/stable/c/9695df3b1db4ac4534274d38ee16e3b9b0bf910e>

## Sources

- CVE List: [CVE-2026-99220](https://www.cve.org/CVERecord?id=CVE-2026-99220), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-99220](https://nvd.nist.gov/vuln/detail/CVE-2026-99220), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-99220 · Whole record: https://cve.day/CVE-2026-99220.json · Rebuilt by cve.day 2026-11-25T22:59:48.199Z
