{"id":"CVE-2026-64304","published":"2026-07-25T08:49:38Z","modified":"2026-10-19T20:38:22Z","title":"crypto: qat - validate RSA CRT component lengths","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: qat - validate RSA CRT component lengths\n\nThe generic RSA key parser (rsa_helper.c) bounds each CRT component (p,\nq, dp, dq, qinv) by the modulus size n_sz, but qat_rsa_setkey_crt()\nallocates half-size DMA buffers (key_sz / 2) and right-aligns each\ncomponent with:\n\n    memcpy(dst + half_key_sz - len, src, len)\n\nWhen a CRT component is larger than half_key_sz the subtraction\nunderflows and memcpy writes past the DMA buffer, causing memory\ncorruption.\n\nAdd a len > half_key_sz check next to the existing !len check for each\nof the five CRT components so the driver falls back to the non-CRT path\ninstead of writing out of bounds.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00169,"percentile":0.06452,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://git.kernel.org/stable/c/6d99c5fadd2df488103f64d6475b63ba6852202b","tags":[]},{"url":"https://git.kernel.org/stable/c/c34369473bfe92a0b46ec78d6358e30341c7f481","tags":[]},{"url":"https://git.kernel.org/stable/c/1002719d13072a5e4be1e993aa61dffb4a604e82","tags":[]},{"url":"https://git.kernel.org/stable/c/500319830d76911c120dc0b9605f8c16d7702844","tags":[]},{"url":"https://git.kernel.org/stable/c/3d61a214fdcda41f1ebfabbb483404032a7b4d91","tags":[]},{"url":"https://git.kernel.org/stable/c/6fb62b767f3e27661e8f8d2f7b85f4e098fcdb1a","tags":[]},{"url":"https://git.kernel.org/stable/c/ce42224487c504aee4b7ff3a7342e7b4d7e28cc9","tags":[]},{"url":"https://git.kernel.org/stable/c/b3ac78756588059729b9195fcc9f4b37d54057a5","tags":[]}],"priority":{"score":6.8,"factors":[{"name":"EPSS percentile","points":1.29},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 879f77e9071f029e1c9bd5a75814ecf51370f846, < 6d99c5fadd2df488103f64d6475b63ba6852202b",">= 879f77e9071f029e1c9bd5a75814ecf51370f846, < c34369473bfe92a0b46ec78d6358e30341c7f481",">= 879f77e9071f029e1c9bd5a75814ecf51370f846, < 1002719d13072a5e4be1e993aa61dffb4a604e82",">= 879f77e9071f029e1c9bd5a75814ecf51370f846, < 500319830d76911c120dc0b9605f8c16d7702844",">= 879f77e9071f029e1c9bd5a75814ecf51370f846, < 3d61a214fdcda41f1ebfabbb483404032a7b4d91",">= 879f77e9071f029e1c9bd5a75814ecf51370f846, < 6fb62b767f3e27661e8f8d2f7b85f4e098fcdb1a",">= 879f77e9071f029e1c9bd5a75814ecf51370f846, < ce42224487c504aee4b7ff3a7342e7b4d7e28cc9",">= 879f77e9071f029e1c9bd5a75814ecf51370f846, < b3ac78756588059729b9195fcc9f4b37d54057a5"]},{"vendor":"Linux","product":"Linux","versions":["4.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-16T15:38:47.574944Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-49016","exploited":false,"provenance":"source"}}