asymmetric_keys: reject trust keys without IDs

Summary

CVECVE-2026-99220
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-02 16:17:46 UTC
Updated2026-11-03 20:18:27 UTC
DescriptionIn 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.

Risk And Classification

EPSS: 0.001150000 probability, percentile 0.015650000 (date 2026-11-03)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 3c58b2362ba828ee2970c66c6a6fd7b04fde4413 889a2293a95f6c2880bf73b67f9b0af23251a128 git Not specified
CNA Linux Linux affected 3c58b2362ba828ee2970c66c6a6fd7b04fde4413 7f0728ba89624e25df2bb80ff59bbfb545060935 git Not specified
CNA Linux Linux affected 3c58b2362ba828ee2970c66c6a6fd7b04fde4413 2a40bdd4409567de4c2a141ac66439dc238af752 git Not specified
CNA Linux Linux affected 3c58b2362ba828ee2970c66c6a6fd7b04fde4413 1aa0c7aa4c2554a5b6d74ae1924508ca4718234b git Not specified
CNA Linux Linux affected 3c58b2362ba828ee2970c66c6a6fd7b04fde4413 33a078f04e264eb71aa9f209cb334e4010123818 git Not specified
CNA Linux Linux affected 3c58b2362ba828ee2970c66c6a6fd7b04fde4413 57e54b6939c6539d90a81c7e57531901d5991651 git Not specified
CNA Linux Linux affected 3c58b2362ba828ee2970c66c6a6fd7b04fde4413 9695df3b1db4ac4534274d38ee16e3b9b0bf910e git Not specified
CNA Linux Linux affected 4.20 Not specified
CNA Linux Linux unaffected 4.20 semver Not specified
CNA Linux Linux unaffected 6.1.191 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.161 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.115 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.60 6.18.* semver Not specified
CNA Linux Linux unaffected 7.2.14 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3.1 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/7f0728ba89624e25df2bb80ff59bbfb545060935 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/9695df3b1db4ac4534274d38ee16e3b9b0bf910e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1aa0c7aa4c2554a5b6d74ae1924508ca4718234b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/2a40bdd4409567de4c2a141ac66439dc238af752 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/33a078f04e264eb71aa9f209cb334e4010123818 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/57e54b6939c6539d90a81c7e57531901d5991651 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/889a2293a95f6c2880bf73b67f9b0af23251a128 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report