{"id":"CVE-2022-49566","aliases":["CVE-2022-49566"],"related":[],"kind":"vulnerability","state":"published","title":"crypto: qat - fix memory leak in RSA","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: qat - fix memory leak in RSA\n\nWhen an RSA key represented in form 2 (as defined in PKCS #1 V2.1) is\nused, some components of the private key persist even after the TFM is\nreleased.\nReplace the explicit calls to free the buffers in qat_rsa_exit_tfm()\nwith a call to qat_rsa_clear_ctx() which frees all buffers referenced in\nthe TFM context.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: qat - fix memory leak in RSA\n\nWhen an RSA key represented in form 2 (as defined in PKCS #1 V2.1) is\nused, some components of the private key persist even after the TFM is\nreleased.\nReplace the explicit calls to free the buffers in qat_rsa_exit_tfm()\nwith a call to qat_rsa_clear_ctx() which frees all buffers referenced in\nthe TFM context.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: crypto: qat - reparar pérdida de memoria en RSA Cuando se utiliza una clave RSA representada en formato 2 (como se define en PKCS #1 V2.1), algunos componentes de la clave privada persisten incluso después de que se libere el TFM. Reemplace las llamadas explícitas para liberar los búferes en qat_rsa_exit_tfm() con una llamada a qat_rsa_clear_ctx() que libera todos los búferes a los que se hace referencia en el contexto del TFM.","source":"nvd"}],"published":"2025-02-26T02:23:11.749Z","modified":"2026-06-17T05:18:28.090Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"879f77e9071f029e1c9bd5a75814ecf51370f846","fixed":"a843925e0287eebb4aa808666bf22c664dfe4c53","status":"affected"},{"type":"git","introduced":"879f77e9071f029e1c9bd5a75814ecf51370f846","fixed":"0f967fdc09955221a1951a279481b0bf4d359941","status":"affected"},{"type":"git","introduced":"879f77e9071f029e1c9bd5a75814ecf51370f846","fixed":"80a52e1ee7757b742f96bfb0d58f0c14eb6583d0","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.8","status":"unaffected"},{"type":"semver","introduced":"5.15.58","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.18.15","lastAffected":"5.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.8","fixed":"5.15.58"},{"status":"affected","introduced":"5.16","fixed":"5.18.15"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/a843925e0287eebb4aa808666bf22c664dfe4c53","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0f967fdc09955221a1951a279481b0bf4d359941","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/80a52e1ee7757b742f96bfb0d58f0c14eb6583d0","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T19:37:03.443Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49566","url":"https://www.cve.org/CVERecord?id=CVE-2022-49566","licence":"CVE Terms of Use","modified":"2026-05-11T19:02:25.754Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49566","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49566","licence":"Public domain","modified":"2026-06-17T05:18:28.090Z"}],"updatedAt":"2026-11-25T22:58:20.735Z","epss":{"score":0.00264,"percentile":0.196,"date":"2026-12-02T12:00:21.000Z"}}