{"id":"CVE-2026-31719","aliases":["CVE-2026-31719"],"related":[],"kind":"vulnerability","state":"published","title":"crypto: krb5enc - fix async decrypt skipping hash verification","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: krb5enc - fix async decrypt skipping hash verification\n\nkrb5enc_dispatch_decrypt() sets req->base.complete as the skcipher\ncallback, which is the caller's own completion handler. When the\nskcipher completes asynchronously, this signals \"done\" to the caller\nwithout executing krb5enc_dispatch_decrypt_hash(), completely bypassing\nthe integrity verification (hash check).\n\nCompare with the encrypt path which correctly uses\nkrb5enc_encrypt_done as an intermediate callback to chain into the\nhash computation on async completion.\n\nFix by adding krb5enc_decrypt_done as an intermediate callback that\nchains into krb5enc_dispatch_decrypt_hash() upon async skcipher\ncompletion, matching the encrypt path's callback pattern.\n\nAlso fix EBUSY/EINPROGRESS handling throughout: remove\nkrb5enc_request_complete() which incorrectly swallowed EINPROGRESS\nnotifications that must be passed up to callers waiting on backlogged\nrequests, and add missing EBUSY checks in krb5enc_encrypt_ahash_done\nfor the dispatch_encrypt return value.\n\n\nUnset MAY_BACKLOG on the async completion path so the user won't\nsee back-to-back EINPROGRESS notifications.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: krb5enc - fix async decrypt skipping hash verification\n\nkrb5enc_dispatch_decrypt() sets req->base.complete as the skcipher\ncallback, which is the caller's own completion handler. When the\nskcipher completes asynchronously, this signals \"done\" to the caller\nwithout executing krb5enc_dispatch_decrypt_hash(), completely bypassing\nthe integrity verification (hash check).\n\nCompare with the encrypt path which correctly uses\nkrb5enc_encrypt_done as an intermediate callback to chain into the\nhash computation on async completion.\n\nFix by adding krb5enc_decrypt_done as an intermediate callback that\nchains into krb5enc_dispatch_decrypt_hash() upon async skcipher\ncompletion, matching the encrypt path's callback pattern.\n\nAlso fix EBUSY/EINPROGRESS handling throughout: remove\nkrb5enc_request_complete() which incorrectly swallowed EINPROGRESS\nnotifications that must be passed up to callers waiting on backlogged\nrequests, and add missing EBUSY checks in krb5enc_encrypt_ahash_done\nfor the dispatch_encrypt return value.\n\n\nUnset MAY_BACKLOG on the async completion path so the user won't\nsee back-to-back EINPROGRESS notifications.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ncripto: krb5enc - corrige el descifrado asíncrono que omite la verificación de hash\n\nkrb5enc_dispatch_decrypt() establece req  ->  base.complete como la devolución de llamada de skcipher, que es el propio gestor de finalización del llamador. Cuando el skcipher finaliza asíncronamente, esto señala ’hecho’ al llamador sin ejecutar krb5enc_dispatch_decrypt_hash(), omitiendo completamente la verificación de integridad (comprobación de hash).\n\nComparar con la ruta de cifrado que utiliza correctamente krb5enc_encrypt_done como una devolución de llamada intermedia para encadenar en el cálculo de hash en la finalización asíncrona.\n\nSolución añadiendo krb5enc_decrypt_done como una devolución de llamada intermedia que encadena en krb5enc_dispatch_decrypt_hash() tras la finalización asíncrona de skcipher, coincidiendo con el patrón de devolución de llamada de la ruta de cifrado.\n\nTambién corrige el manejo de EBUSY/EINPROGRESS en todo el código: elimina krb5enc_request_complete() que incorrectamente ’tragaba’ las notificaciones de EINPROGRESS que deben pasarse a los llamadores que esperan solicitudes en cola, y añade comprobaciones de EBUSY faltantes en krb5enc_encrypt_ahash_done para el valor de retorno de dispatch_encrypt.\n\nDesestablece MAY_BACKLOG en la ruta de finalización asíncrona para que el usuario no vea notificaciones de EINPROGRESS consecutivas.","source":"nvd"}],"published":"2026-05-01T13:56:13.385Z","modified":"2026-11-11T21:10:00.200Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-354"],"affected":[{"ranges":[{"type":"git","introduced":"d1775a177f7f38156d541c8a3e3c91eaa6e69699","fixed":"07cbb1bd424370671814a862913c99a6e1441588","status":"affected"},{"type":"git","introduced":"d1775a177f7f38156d541c8a3e3c91eaa6e69699","fixed":"e51f42114abbdf47f29dda43e7826be28907fcd2","status":"affected"},{"type":"git","introduced":"d1775a177f7f38156d541c8a3e3c91eaa6e69699","fixed":"3bfbf5f0a99c991769ec562721285df7ab69240b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.15","status":"unaffected"},{"type":"semver","introduced":"6.18.25","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.2","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","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":"6.15","fixed":"6.18.25"},{"status":"affected","introduced":"6.19","fixed":"7.0.2"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/07cbb1bd424370671814a862913c99a6e1441588","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e51f42114abbdf47f29dda43e7826be28907fcd2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3bfbf5f0a99c991769ec562721285df7ab69240b","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-16T15:12:50.260Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31719","url":"https://www.cve.org/CVERecord?id=CVE-2026-31719","licence":"CVE Terms of Use","modified":"2026-10-19T19:06:07.136Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31719","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31719","licence":"Public domain","modified":"2026-11-11T21:10:00.200Z"}],"updatedAt":"2026-11-25T22:59:20.348Z","epss":{"score":0.00178,"percentile":0.0774,"date":"2026-12-01T12:00:22.000Z"}}