{"id":"CVE-2024-26800","published":"2024-04-04T08:20:28Z","modified":"2026-08-05T11:27:21Z","title":"tls: fix use-after-free on failed backlog decryption","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0091,"percentile":0.58085,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/f2b85a4cc763841843de693bbd7308fe9a2c4c89","tags":[]},{"url":"https://git.kernel.org/stable/c/81be85353b0f5a7b660635634b655329b429eefe","tags":[]},{"url":"https://git.kernel.org/stable/c/1ac9fb84bc7ecd4bc6428118301d9d864d2a58d1","tags":[]},{"url":"https://git.kernel.org/stable/c/13114dc5543069f7b97991e3b79937b6da05f5b0","tags":[]}],"priority":{"score":18.5,"factors":[{"name":"EPSS percentile","points":11.62},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= cd1bbca03f3c1d845ce274c0d0a66de8e5929f72, < f2b85a4cc763841843de693bbd7308fe9a2c4c89",">= 13eca403876bbea3716e82cdfe6f1e6febb38754, < 81be85353b0f5a7b660635634b655329b429eefe",">= ab6397f072e5097f267abf5cb08a8004e6b17694, < 1ac9fb84bc7ecd4bc6428118301d9d864d2a58d1",">= 8590541473188741055d27b955db0777569438e3, < 13114dc5543069f7b97991e3b79937b6da05f5b0","3ade391adc584f17b5570fd205de3ad029090368",">= 5.15.160, < 5.16"]},{"vendor":"Linux","product":"Linux","versions":[">= 6.6.18, < 6.6.21",">= 6.7.6, < 6.7.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-07-31T20:01:08.576744Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-24062","exploited":false,"provenance":"source"}}