{"id":"CVE-2024-26800","summary":"tls: fix use-after-free on failed backlog decryption","details":"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 -\u003easync_done flag) that the\nmemory has already been released.","modified":"2026-04-02T10:05:58.539456Z","published":"2024-04-04T08:20:28.554Z","related":["SUSE-SU-2024:2893-1","SUSE-SU-2024:2894-1","SUSE-SU-2024:2902-1","SUSE-SU-2024:2929-1","SUSE-SU-2024:2939-1","SUSE-SU-2024:2947-1","SUSE-SU-2024:2948-1","SUSE-SU-2024:3249-1","SUSE-SU-2024:3499-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26800.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/13114dc5543069f7b97991e3b79937b6da05f5b0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1ac9fb84bc7ecd4bc6428118301d9d864d2a58d1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/81be85353b0f5a7b660635634b655329b429eefe"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f2b85a4cc763841843de693bbd7308fe9a2c4c89"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26800.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26800"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"cd1bbca03f3c1d845ce274c0d0a66de8e5929f72"},{"fixed":"f2b85a4cc763841843de693bbd7308fe9a2c4c89"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"13eca403876bbea3716e82cdfe6f1e6febb38754"},{"fixed":"81be85353b0f5a7b660635634b655329b429eefe"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ab6397f072e5097f267abf5cb08a8004e6b17694"},{"fixed":"1ac9fb84bc7ecd4bc6428118301d9d864d2a58d1"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"8590541473188741055d27b955db0777569438e3"},{"fixed":"13114dc5543069f7b97991e3b79937b6da05f5b0"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"3ade391adc584f17b5570fd205de3ad029090368"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26800.json"}}],"schema_version":"1.7.5"}