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.
Published: 2026-11-02
Score: n/a
EPSS: n/a
KEV: No
Impact: Denial of Service (Kernel Crash)
Action: Immediate Patch
AI Analysis

Impact

The Linux kernel’s asymmetric key handling allows an unprivileged process to supply a PKCS#8 private key that lacks a key identifier to the key restriction interface. Because the parse routine does not populate an ID, the subsequent key_or_keyring_common function dereferences a NULL pointer, causing a general protection fault and kernel panic. The likely attack vector is the KEYCTL_RESTRICT_KEYRING interface, which an unprivileged user can invoke to supply a malicious PKCS#8 key. This vulnerability results in a denial‑of‑service because the system can abruptly crash without any escalation of privileges.

Affected Systems

The flaw affects all Linux kernels that contain the asymmetric_keys implementation before the patch was applied. Any Linux distribution shipping a kernel version that does not yet include the mitigation commit (e.g., commit 1aa0c7aa4c2554a5b6d74ae1924508ca4718234b) is vulnerable. The vendor impact therefore covers the Linux kernel as a whole, including standard builds used by most distributions.

Risk and Exploitability

Based on the description, it is inferred that the attack requires local unprivileged access through the KEYCTL_RESTRICT_KEYRING interface. The exploitability is high because an attacker can trigger a kernel panic with minimal effort by submitting a malformed PKCS#8 key. No CVSS score is listed, but the kernel panic caused by this flaw constitutes a critical denial‑of‑service vector. The vulnerability is not listed in the CISA KEV catalog, and EPSS data is unavailable; however, the attack path is simple and does not rely on uncommon conditions.

Generated by OpenCVE AI on November 2, 2026 at 18:11 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the mitigation commit (1aa0c7aa4c2554a5b6d74ae1924508ca4718234b or later).
  • If an immediate kernel upgrade is not possible, temporarily restrict or disable the use of KEYCTL_RESTRICT_KEYRING for unprivileged users until the patch is deployed.
  • After applying the update, reboot the system to ensure the corrected code is active.

Generated by OpenCVE AI on November 2, 2026 at 18:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 02 Nov 2026 18:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Mon, 02 Nov 2026 18:00:00 +0000

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux

Mon, 02 Nov 2026 16:15:00 +0000

Type Values Removed Values Added
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.
Title asymmetric_keys: reject trust keys without IDs
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-11-02T16:06:31.966Z

Reserved: 2026-09-25T10:25:14.401Z

Link: CVE-2026-99220

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-02T16:17:46.113

Modified: 2026-11-02T16:17:46.113

Link: CVE-2026-99220

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-02T18:15:14Z

Weaknesses