{"id":"CVE-2026-31719","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-05-01T14:16:22.077","lastModified":"2026-11-11T21:10:00.200","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["crypto/krb5enc.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"d1775a177f7f38156d541c8a3e3c91eaa6e69699","lessThan":"07cbb1bd424370671814a862913c99a6e1441588","versionType":"git","status":"affected"},{"version":"d1775a177f7f38156d541c8a3e3c91eaa6e69699","lessThan":"e51f42114abbdf47f29dda43e7826be28907fcd2","versionType":"git","status":"affected"},{"version":"d1775a177f7f38156d541c8a3e3c91eaa6e69699","lessThan":"3bfbf5f0a99c991769ec562721285df7ab69240b","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["crypto/krb5enc.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.15","status":"affected"},{"version":"0","lessThan":"6.15","versionType":"semver","status":"unaffected"},{"version":"6.18.25","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.0.2","lessThanOrEqual":"7.0.*","versionType":"semver","status":"unaffected"},{"version":"7.1","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:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":3.9,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-10-16T15:12:50.260721Z","id":"CVE-2026-31719","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"NVD-CWE-noinfo"}]},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","description":[{"lang":"en","value":"CWE-354"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.18.25","matchCriteriaId":"F2D3B79E-3EFA-4203-9F11-FF77FD2FBA79"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.0.2","matchCriteriaId":"1BD58F1E-7C20-4C0D-92A2-FAC5CBFBE8A8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*","matchCriteriaId":"B1EF7059-E670-45F4-B422-54C40FA86390"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/07cbb1bd424370671814a862913c99a6e1441588","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/3bfbf5f0a99c991769ec562721285df7ab69240b","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/e51f42114abbdf47f29dda43e7826be28907fcd2","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]}]}