# CVE-2024-26584: net: tls: handle backlogging of crypto requests

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.75%, higher than 56% of CVEs (2026-12-01)
- Published: 2024-02-21T14:59:12.452Z
- Modified: 2026-08-05T11:26:03.272Z
- Weaknesses: CWE-755
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: tls: handle backlogging of crypto requests

Since we're setting the CRYPTO_TFM_REQ_MAY_BACKLOG flag on our
requests to the crypto API, crypto_aead_{encrypt,decrypt} can return
 -EBUSY instead of -EINPROGRESS in valid situations. For example, when
the cryptd queue for AESNI is full (easy to trigger with an
artificially low cryptd.cryptd_max_cpu_qlen), requests will be enqueued
to the backlog but still processed. In that case, the async callback
will also be called twice: first with err == -EINPROGRESS, which it
seems we can just ignore, then with err == 0.

Compared to Sabrina's original patch this version uses the new
tls_*crypt_async_wait() helpers and converts the EBUSY to
EINPROGRESS to avoid having to modify all the error handling
paths. The handling is identical.

(As written by CVE List.)

## Affected

- Linux Linux: from a54667f6728c2714a400f3c884727da74b6d1717 before 3ade391adc584f17b5570fd205de3ad029090368; from a54667f6728c2714a400f3c884727da74b6d1717 before cd1bbca03f3c1d845ce274c0d0a66de8e5929f72; from a54667f6728c2714a400f3c884727da74b6d1717 before 13eca403876bbea3716e82cdfe6f1e6febb38754; from a54667f6728c2714a400f3c884727da74b6d1717 before ab6397f072e5097f267abf5cb08a8004e6b17694; from a54667f6728c2714a400f3c884727da74b6d1717 before 8590541473188741055d27b955db0777569438e3; 4.16 (not affected: before 4.16; from 5.15.160 up to 5.15.*; from 6.1.84 up to 6.1.*; from 6.6.18 up to 6.6.*; from 6.7.6 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: from 4.16.0 before 6.1.84; from 6.2.0 before 6.6.18; from 6.7.0 before 6.7.6

## Every score

- Linux: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/3ade391adc584f17b5570fd205de3ad029090368>
- <https://git.kernel.org/stable/c/cd1bbca03f3c1d845ce274c0d0a66de8e5929f72> (patch)
- <https://git.kernel.org/stable/c/13eca403876bbea3716e82cdfe6f1e6febb38754> (patch)
- <https://git.kernel.org/stable/c/ab6397f072e5097f267abf5cb08a8004e6b17694> (patch)
- <https://git.kernel.org/stable/c/8590541473188741055d27b955db0777569438e3> (patch)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EZOU3745CWCDZ7EMKMXB2OEEIB5Q3IWM/>

## Sources

- CVE List: [CVE-2024-26584](https://www.cve.org/CVERecord?id=CVE-2024-26584), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-26584](https://nvd.nist.gov/vuln/detail/CVE-2024-26584), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-26584 · Whole record: https://cve.day/CVE-2024-26584.json · Rebuilt by cve.day 2026-11-25T22:58:36.960Z
