{"id":"CVE-2024-26800","aliases":["CVE-2024-26800"],"related":[],"kind":"vulnerability","state":"published","title":"tls: fix use-after-free on failed backlog decryption","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ntls: fix use-after-free on failed backlog decryption\n\nWhen the decrypt request goes to the backlog and crypto_aead_decrypt\nreturns -EBUSY, tls_do_decryption will wait until all async\ndecryptions have completed. If one of them fails, tls_do_decryption\nwill return -EBADMSG and tls_decrypt_sg jumps to the error path,\nreleasing all the pages. But the pages have been passed to the async\ncallback, and have already been released by tls_decrypt_done.\n\nThe only true async case is when crypto_aead_decrypt returns\n -EINPROGRESS. With -EBUSY, we already waited so we can tell\ntls_sw_recvmsg that the data is available for immediate copy, but we\nneed to notify tls_decrypt_sg (via the new ->async_done flag) that the\nmemory has already been released.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ntls: fix use-after-free on failed backlog decryption\n\nWhen the decrypt request goes to the backlog and crypto_aead_decrypt\nreturns -EBUSY, tls_do_decryption will wait until all async\ndecryptions have completed. If one of them fails, tls_do_decryption\nwill return -EBADMSG and tls_decrypt_sg jumps to the error path,\nreleasing all the pages. But the pages have been passed to the async\ncallback, and have already been released by tls_decrypt_done.\n\nThe only true async case is when crypto_aead_decrypt returns\n -EINPROGRESS. With -EBUSY, we already waited so we can tell\ntls_sw_recvmsg that the data is available for immediate copy, but we\nneed to notify tls_decrypt_sg (via the new ->async_done flag) that the\nmemory has already been released.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: tls: corrige el use-after-free en el descifrado fallido del trabajo pendiente Cuando la solicitud de descifrado va al trabajo pendiente y crypto_aead_decrypt devuelve -EBUSY, tls_do_decryption esperará hasta que se hayan completado todos los descifrados asíncronos. Si uno de ellos falla, tls_do_decryption devolverá -EBADMSG y tls_decrypt_sg salta a la ruta del error, liberando todas las páginas. Pero las páginas se pasaron a la devolución de llamada asíncrona y tls_decrypt_done ya las publicó. El único caso asíncrono verdadero es cuando crypto_aead_decrypt devuelve -EINPROGRESS. Con -EBUSY, ya esperamos para poder decirle a tls_sw_recvmsg que los datos están disponibles para copia inmediata, pero debemos notificar a tls_decrypt_sg (a través del nuevo indicador -&gt;async_done) que la memoria ya ha sido liberada.","source":"nvd"}],"published":"2024-04-04T08:20:28.554Z","modified":"2026-08-05T11:27:21.641Z","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"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"cd1bbca03f3c1d845ce274c0d0a66de8e5929f72","fixed":"f2b85a4cc763841843de693bbd7308fe9a2c4c89","status":"affected"},{"type":"git","introduced":"13eca403876bbea3716e82cdfe6f1e6febb38754","fixed":"81be85353b0f5a7b660635634b655329b429eefe","status":"affected"},{"type":"git","introduced":"ab6397f072e5097f267abf5cb08a8004e6b17694","fixed":"1ac9fb84bc7ecd4bc6428118301d9d864d2a58d1","status":"affected"},{"type":"git","introduced":"8590541473188741055d27b955db0777569438e3","fixed":"13114dc5543069f7b97991e3b79937b6da05f5b0","status":"affected"},{"type":"git","version":"3ade391adc584f17b5570fd205de3ad029090368","status":"affected"},{"type":"semver","introduced":"5.15.160","fixed":"5.16","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"6.6.18","fixed":"6.6.21","status":"affected"},{"type":"semver","introduced":"6.7.6","fixed":"6.7.9","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.15.160","fixed":"5.16"},{"status":"affected","introduced":"6.6.18","fixed":"6.6.21"},{"status":"affected","introduced":"6.7.6","fixed":"6.7.9"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/f2b85a4cc763841843de693bbd7308fe9a2c4c89","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/81be85353b0f5a7b660635634b655329b429eefe","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1ac9fb84bc7ecd4bc6428118301d9d864d2a58d1","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/13114dc5543069f7b97991e3b79937b6da05f5b0","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-07-31T20:01:08.576Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-26800","url":"https://www.cve.org/CVERecord?id=CVE-2024-26800","licence":"CVE Terms of Use","modified":"2026-08-05T11:27:21.641Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-26800","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26800","licence":"Public domain","modified":"2026-08-04T11:17:06.557Z"}],"updatedAt":"2026-11-25T22:58:38.747Z","epss":{"score":0.00745,"percentile":0.55997,"date":"2026-12-01T12:00:22.000Z"}}