# CVE-2024-26585: tls: fix race between tx work scheduling and socket close

- 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.59%, higher than 49% of CVEs (2026-12-01)
- Published: 2024-02-21T14:59:13.088Z
- Modified: 2026-08-05T11:26:04.351Z
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

tls: fix race between tx work scheduling and socket close

Similarly to previous commit, the submitting thread (recvmsg/sendmsg)
may exit as soon as the async crypto handler calls complete().
Reorder scheduling the work before calling complete().
This seems more logical in the first place, as it's
the inverse order of what the submitting thread will do.

(As written by CVE List.)

## Affected

- Linux Linux: from a42055e8d2c30d4decfc13ce943d09c7b9dad221 before dd32621f19243f89ce830919496a5dcc2158aa33; from a42055e8d2c30d4decfc13ce943d09c7b9dad221 before 196f198ca6fce04ba6ce262f5a0e4d567d7d219d; from a42055e8d2c30d4decfc13ce943d09c7b9dad221 before 6db22d6c7a6dc914b12c0469b94eb639b6a8a146; from a42055e8d2c30d4decfc13ce943d09c7b9dad221 before e327ed60bff4a991cd7a709c47c4f0c5b4a4fd57; from a42055e8d2c30d4decfc13ce943d09c7b9dad221 before e01e3934a1b2d122919f73bc6ddbe1cdafc4bbdb; 4.20 (not affected: before 4.20; from 5.15.165 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.20.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 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/dd32621f19243f89ce830919496a5dcc2158aa33>
- <https://git.kernel.org/stable/c/196f198ca6fce04ba6ce262f5a0e4d567d7d219d>
- <https://git.kernel.org/stable/c/6db22d6c7a6dc914b12c0469b94eb639b6a8a146> (patch)
- <https://git.kernel.org/stable/c/e327ed60bff4a991cd7a709c47c4f0c5b4a4fd57> (patch)
- <https://git.kernel.org/stable/c/e01e3934a1b2d122919f73bc6ddbe1cdafc4bbdb> (patch)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EZOU3745CWCDZ7EMKMXB2OEEIB5Q3IWM/>

## Sources

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

---

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