CVE-2026-143113

Not scored yetLast modified Dec 3, 2026

Description

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

crypto: caam - reject overlong RSA CRT parameters

caam_read_rsa_crt() right-aligns dP, dQ, and qInv in buffers sized from the corresponding prime. rsa_parse_priv_key() only bounds these integers against n, so a malformed key can provide, for example, a two-byte dP with a one-byte p. dstlen - nbytes then underflows and memcpy() writes outside the allocation during set_priv_key(). KASAN reports a slab-out-of-bounds write in caam_read_rsa_crt().

Reject empty or overlong CRT parameters after stripping leading zeros. qInv is consumed by CAAM as a p-sized value, so size it from p rather than q to match the DMA mapping in set_rsa_priv_f3_pdb(). Let the top-level key cleanup handle partial form-3 allocations and return the specific error to the caller.

Also test nbytes before dereferencing it while stripping zeros, so an all-zero integer does not read one byte beyond its input.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-143114In the Linux kernel, the following vulnerability has been resolved: cgroup: arm the notify timer only while the file exists cgroup_rm_fileCVE-2026-143115In the Linux kernel, the following vulnerability has been resolved: cgroup/freezer: Fix exiting tasks left frozen forever after rmdir SincCVE-2026-143116In the Linux kernel, the following vulnerability has been resolved: cgroup/freezer: walk exiting tasks in the v1 freezer An exiting task cCVE-2026-143117In the Linux kernel, the following vulnerability has been resolved: cgroup/cpuset: Don't revive invalid partition without active CPU on hotCVE-2026-143118In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: Keep recvmsg from resuming a closed channel Reading CVE-2026-143119In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_qca: fix use-after-free in ibs debugfs files qca_debugfCVE-2026-143120In the Linux kernel, the following vulnerability has been resolved: Bluetooth: btusb: fix use-after-free in force_poll_sync The force_pollCVE-2026-143121In the Linux kernel, the following vulnerability has been resolved: power: sequencing: pcie-m2: fix use-after-free in pwrseq_pcie_m2_vregs_CVE-2026-143122In the Linux kernel, the following vulnerability has been resolved: perf/core: Do not resurrect cpuctx->cgrp after last cgroup event exit CVE-2026-143123In the Linux kernel, the following vulnerability has been resolved: openvswitch: advance by the real header length in get_ipv6_ext_hdrs() CVE-2026-143124In the Linux kernel, the following vulnerability has been resolved: ntfs: open the index allocation before reading or writing an index blocCVE-2026-143125In the Linux kernel, the following vulnerability has been resolved: ntfs: do not read an index block outside $INDEX_ALLOCATION A directory
CVE-2026-143113: Unscored | Vulnix