{"id":"CVE-2025-68726","aliases":["CVE-2025-68726"],"related":[],"kind":"vulnerability","state":"published","title":"crypto: aead - Fix reqsize handling","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: aead - Fix reqsize handling\n\nCommit afddce13ce81d (\"crypto: api - Add reqsize to crypto_alg\")\nintroduced cra_reqsize field in crypto_alg struct to replace type\nspecific reqsize fields. It looks like this was introduced specifically\nfor ahash and acomp from the commit description as subsequent commits\nadd necessary changes in these alg frameworks.\n\nHowever, this is being recommended for use in all crypto algs\ninstead of setting reqsize using crypto_*_set_reqsize(). Using\ncra_reqsize in aead algorithms, hence, causes memory corruptions and\ncrashes as the underlying functions in the algorithm framework have not\nbeen updated to set the reqsize properly from cra_reqsize. [1]\n\nAdd proper set_reqsize calls in the aead init function to properly\ninitialize reqsize for these algorithms in the framework.\n\n[1]: https://gist.github.com/Pratham-T/24247446f1faf4b7843e4014d5089f6b","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: aead - Fix reqsize handling\n\nCommit afddce13ce81d (\"crypto: api - Add reqsize to crypto_alg\")\nintroduced cra_reqsize field in crypto_alg struct to replace type\nspecific reqsize fields. It looks like this was introduced specifically\nfor ahash and acomp from the commit description as subsequent commits\nadd necessary changes in these alg frameworks.\n\nHowever, this is being recommended for use in all crypto algs\ninstead of setting reqsize using crypto_*_set_reqsize(). Using\ncra_reqsize in aead algorithms, hence, causes memory corruptions and\ncrashes as the underlying functions in the algorithm framework have not\nbeen updated to set the reqsize properly from cra_reqsize. [1]\n\nAdd proper set_reqsize calls in the aead init function to properly\ninitialize reqsize for these algorithms in the framework.\n\n[1]: https://gist.github.com/Pratham-T/24247446f1faf4b7843e4014d5089f6b","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ncrypto: aead - Corrección del manejo de reqsize\n\nEl commit afddce13ce81d ('crypto: api - Añadir reqsize a crypto_alg') introdujo el campo cra_reqsize en la estructura crypto_alg para reemplazar los campos reqsize específicos del tipo. Parece que esto se introdujo específicamente para ahash y acomp según la descripción del commit, ya que los commits posteriores añaden los cambios necesarios en estos frameworks de algoritmos.\n\nSin embargo, se está recomendando su uso en todos los algoritmos criptográficos en lugar de establecer reqsize usando crypto_*_set_reqsize(). El uso de cra_reqsize en algoritmos aead, por lo tanto, causa corrupciones de memoria y fallos, ya que las funciones subyacentes en el framework del algoritmo no se han actualizado para establecer reqsize correctamente desde cra_reqsize. [1]\n\nAñadir llamadas set_reqsize adecuadas en la función de inicialización de aead para inicializar correctamente reqsize para estos algoritmos en el framework.\n\n[1]: https://gist.github.com/Pratham-T/24247446f1faf4b7843e4014d5089f6b","source":"nvd"}],"published":"2025-12-24T10:33:10.364Z","modified":"2026-10-13T11:10:00.203Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"afddce13ce81d52a13898fa0700917835c71acd6","fixed":"64377e66e187164bd6737112d07257f5f0feb681","status":"affected"},{"type":"git","introduced":"afddce13ce81d52a13898fa0700917835c71acd6","fixed":"12b413f5460c393d1151a37f591140693eca0f84","status":"affected"},{"type":"git","introduced":"afddce13ce81d52a13898fa0700917835c71acd6","fixed":"9b04d8f00569573796dd05397f5779135593eb24","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.16","status":"unaffected"},{"type":"semver","introduced":"6.17.13","lastAffected":"6.17.*","status":"unaffected"},{"type":"semver","introduced":"6.18.2","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/64377e66e187164bd6737112d07257f5f0feb681","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/12b413f5460c393d1151a37f591140693eca0f84","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9b04d8f00569573796dd05397f5779135593eb24","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68726","url":"https://www.cve.org/CVERecord?id=CVE-2025-68726","licence":"CVE Terms of Use","modified":"2026-08-05T12:11:09.299Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68726","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68726","licence":"Public domain","modified":"2026-10-13T11:10:00.203Z"}],"updatedAt":"2026-11-25T22:59:09.877Z","epss":{"score":0.00442,"percentile":0.40195,"date":"2026-12-01T12:00:22.000Z"}}