CVE-2026-99220

Source
https://cve.org/CVERecord?id=CVE-2026-99220
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99220.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-99220
Downstream
Related
Published
2026-11-02T16:06:31Z
Modified
2026-11-10T17:27:00Z
Summary
asymmetric_keys: reject trust keys without IDs
Details

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: __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) 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99220.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3c58b2362ba828ee2970c66c6a6fd7b04fde4413
Fixed
889a2293a95f6c2880bf73b67f9b0af23251a128
Fixed
7f0728ba89624e25df2bb80ff59bbfb545060935
Fixed
2a40bdd4409567de4c2a141ac66439dc238af752
Fixed
1aa0c7aa4c2554a5b6d74ae1924508ca4718234b
Fixed
33a078f04e264eb71aa9f209cb334e4010123818
Fixed
57e54b6939c6539d90a81c7e57531901d5991651
Fixed
9695df3b1db4ac4534274d38ee16e3b9b0bf910e

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99220.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
6.1.191
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.161
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.115
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.60
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.14
Type
ECOSYSTEM
Events
Introduced
7.3.0
Fixed
7.3.1

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99220.json"