{"id":"CVE-2026-143113","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-12-03T10:17:43.583","lastModified":"2026-12-04T04:17:37.400","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: caam - reject overlong RSA CRT parameters\n\ncaam_read_rsa_crt() right-aligns dP, dQ, and qInv in buffers sized\nfrom the corresponding prime. rsa_parse_priv_key() only bounds these\nintegers against n, so a malformed key can provide, for example, a\ntwo-byte dP with a one-byte p. dstlen - nbytes then underflows and\nmemcpy() writes outside the allocation during set_priv_key(). KASAN\nreports a slab-out-of-bounds write in caam_read_rsa_crt().\n\nReject empty or overlong CRT parameters after stripping leading zeros.\nqInv is consumed by CAAM as a p-sized value, so size it from p rather\nthan q to match the DMA mapping in set_rsa_priv_f3_pdb(). Let the\ntop-level key cleanup handle partial form-3 allocations and return the\nspecific error to the caller.\n\nAlso test nbytes before dereferencing it while stripping zeros, so an\nall-zero integer does not read one byte beyond its input."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/crypto/caam/caampkc.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"4a651b122adb8d3a9cb1c5dddfd63e708ee9bdd2","lessThan":"433f6e7377f62a16287a2720a76e70f56b31b5ba","versionType":"git","status":"affected"},{"version":"4a651b122adb8d3a9cb1c5dddfd63e708ee9bdd2","lessThan":"c1bb0e19f4a96d26f3bc5033defd4934ef5c4521","versionType":"git","status":"affected"},{"version":"4a651b122adb8d3a9cb1c5dddfd63e708ee9bdd2","lessThan":"49915365ba3f6bb99f79bf81052166ea3b1e1cf6","versionType":"git","status":"affected"},{"version":"4a651b122adb8d3a9cb1c5dddfd63e708ee9bdd2","lessThan":"828c3b265b6df877dced3dde56ea41daa2e6181e","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/crypto/caam/caampkc.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"4.13","status":"affected"},{"version":"0","lessThan":"4.13","versionType":"semver","status":"unaffected"},{"version":"6.12.120","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc3","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.0,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.0,"impactScore":5.9}]},"references":[{"url":"https://git.kernel.org/stable/c/433f6e7377f62a16287a2720a76e70f56b31b5ba","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/49915365ba3f6bb99f79bf81052166ea3b1e1cf6","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/828c3b265b6df877dced3dde56ea41daa2e6181e","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c1bb0e19f4a96d26f3bc5033defd4934ef5c4521","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}