# CVE-2024-58239: tls: stop recv() if initial process_rx_list gave us non-DATA

- Severity: High 8.2 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/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.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2025-08-22T13:01:17.440Z
- Modified: 2026-10-15T22:18:06.467Z
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Linux

## Description

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

tls: stop recv() if initial process_rx_list gave us non-DATA

If we have a non-DATA record on the rx_list and another record of the
same type still on the queue, we will end up merging them:
 - process_rx_list copies the non-DATA record
 - we start the loop and process the first available record since it's
   of the same type
 - we break out of the loop since the record was not DATA

Just check the record type and jump to the end in case process_rx_list
did some work.

(As written by CVE List.)

## Affected

- Linux Linux: from 692d7b5d1f9125a1cf0595e979e3b5fb7210547e before f310143961e2d9a0479fca117ce869f8aaecc140; from 692d7b5d1f9125a1cf0595e979e3b5fb7210547e before 31e10d6cb0c9532ff070cf50da1657c3acee9276; from 692d7b5d1f9125a1cf0595e979e3b5fb7210547e before 4338032aa90bd1d5b33a4274e8fa8347cda5ee09; from 692d7b5d1f9125a1cf0595e979e3b5fb7210547e before 6756168add1c6c3ef1c32c335bb843a5d1f99a75; from 692d7b5d1f9125a1cf0595e979e3b5fb7210547e before 3b952d8fdfcf6fd8ea0b8954bc9277642cf0977f; from 692d7b5d1f9125a1cf0595e979e3b5fb7210547e before a4ed943882a8fc057ea5a67643314245e048bbdd; from 692d7b5d1f9125a1cf0595e979e3b5fb7210547e before fdfbaec5923d9359698cbb286bc0deadbb717504; 5.1 (not affected: before 5.1; from 5.4.270 up to 5.4.*; from 5.10.211 up to 5.10.*; from 5.15.150 up to 5.15.*; from 6.1.80 up to 6.1.*; from 6.6.19 up to 6.6.*; from 6.7.7 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: from 5.1 before 5.4.270; from 5.5 before 5.10.211; from 5.11 before 5.15.150; from 5.16 before 6.1.80; from 6.2 before 6.6.19; from 6.7 before 6.7.7; 6.8

## Every score

- Linux: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/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/f310143961e2d9a0479fca117ce869f8aaecc140> (patch)
- <https://git.kernel.org/stable/c/31e10d6cb0c9532ff070cf50da1657c3acee9276> (patch)
- <https://git.kernel.org/stable/c/4338032aa90bd1d5b33a4274e8fa8347cda5ee09> (patch)
- <https://git.kernel.org/stable/c/6756168add1c6c3ef1c32c335bb843a5d1f99a75> (patch)
- <https://git.kernel.org/stable/c/3b952d8fdfcf6fd8ea0b8954bc9277642cf0977f> (patch)
- <https://git.kernel.org/stable/c/a4ed943882a8fc057ea5a67643314245e048bbdd> (patch)
- <https://git.kernel.org/stable/c/fdfbaec5923d9359698cbb286bc0deadbb717504> (patch)

## Sources

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

---

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