# CVE-2024-26800: tls: fix use-after-free on failed backlog decryption

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.91% (percentile 58, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-04-04T08:20:28.554Z
- **Modified:** 2026-08-05T11:27:21.641Z

## Who should check

- Anyone running Linux \>= cd1bbca03f3c1d845ce274c0d0a66de8e5929f72, \< f2b85a4cc763841843de693bbd7308fe9a2c4c89; \>= 13eca403876bbea3716e82cdfe6f1e6febb38754, \< 81be85353b0f5a7b660635634b655329b429eefe; \>= ab6397f072e5097f267abf5cb08a8004e6b17694, \< 1ac9fb84bc7ecd4bc6428118301d9d864d2a58d1; \>= 8590541473188741055d27b955db0777569438e3, \< 13114dc5543069f7b97991e3b79937b6da05f5b0; 3ade391adc584f17b5570fd205de3ad029090368; \>= 5.15.160, \< 5.16
- Anyone running Linux \>= 6.6.18, \< 6.6.21; \>= 6.7.6, \< 6.7.9

## Description

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

tls: fix use-after-free on failed backlog decryption

When the decrypt request goes to the backlog and crypto\_aead\_decrypt
returns -EBUSY, tls\_do\_decryption will wait until all async
decryptions have completed. If one of them fails, tls\_do\_decryption
will return -EBADMSG and tls\_decrypt\_sg jumps to the error path,
releasing all the pages. But the pages have been passed to the async
callback, and have already been released by tls\_decrypt\_done.

The only true async case is when crypto\_aead\_decrypt returns
 -EINPROGRESS. With -EBUSY, we already waited so we can tell
tls\_sw\_recvmsg that the data is available for immediate copy, but we
need to notify tls\_decrypt\_sg (via the new -\>async\_done flag) that the
memory has already been released.

## Affected and fixed versions

- Linux: \>= cd1bbca03f3c1d845ce274c0d0a66de8e5929f72, \< f2b85a4cc763841843de693bbd7308fe9a2c4c89; \>= 13eca403876bbea3716e82cdfe6f1e6febb38754, \< 81be85353b0f5a7b660635634b655329b429eefe; \>= ab6397f072e5097f267abf5cb08a8004e6b17694, \< 1ac9fb84bc7ecd4bc6428118301d9d864d2a58d1; \>= 8590541473188741055d27b955db0777569438e3, \< 13114dc5543069f7b97991e3b79937b6da05f5b0; 3ade391adc584f17b5570fd205de3ad029090368; \>= 5.15.160, \< 5.16 (cvelist)
- Linux: \>= 6.6.18, \< 6.6.21; \>= 6.7.6, \< 6.7.9 (cvelist)

## Mitigation

- Upgrade Linux to 5.16 or later.
- Upgrade Linux to 6.7.9 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-26800. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26800.md
Affected: Linux >= cd1bbca03f3c1d845ce274c0d0a66de8e5929f72, < f2b85a4cc763841843de693bbd7308fe9a2c4c89; >= 13eca403876bbea3716e82cdfe6f1e6febb38754, < 81be85353b0f5a7b660635634b655329b429eefe; >= ab6397f072e5097f267abf5cb08a8004e6b17694, < 1ac9fb84bc7ecd4bc6428118301d9d864d2a58d1; >= 8590541473188741055d27b…
Fixed in: Linux 81be85353b0f5a7b660635634b655329b429eefe, Linux 1ac9fb84bc7ecd4bc6428118301d9d864d2a58d1, Linux 13114dc5543069f7b97991e3b79937b6da05f5b0, Linux 5.16, Linux 6.6.21, Linux 6.7.9

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-26800 being exploited?

There is no confirmed exploitation: CVE-2024-26800 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.91% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-26800?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-26800?

Linux \>= cd1bbca03f3c1d845ce274c0d0a66de8e5929f72, \< f2b85a4cc763841843de693bbd7308fe9a2c4c89; \>= 13eca403876bbea3716e82cdfe6f1e6febb38754, \< 81be85353b0f5a7b660635634b655329b429eefe; \>= ab6397f072e5097f267abf5cb08a8004e6b17694, \< 1ac9fb84bc7ecd4bc6428118301d9d864d2a58d1; \>= 8590541473188741055d27b955db0777569438e3, \< 13114dc5543069f7b97991e3b79937b6da05f5b0; 3ade391adc584f17b5570fd205de3ad029090368; \>= 5.15.160, \< 5.16; Linux \>= 6.6.18, \< 6.6.21; \>= 6.7.6, \< 6.7.9.

### Is there a fix for CVE-2024-26800?

Yes. Fixed in Linux 81be85353b0f5a7b660635634b655329b429eefe, Linux 1ac9fb84bc7ecd4bc6428118301d9d864d2a58d1, Linux 13114dc5543069f7b97991e3b79937b6da05f5b0, Linux 5.16, Linux 6.6.21, Linux 6.7.9. Upgrade Linux to 5.16 or later. Upgrade Linux to 6.7.9 or later.

### How do I check if I'm affected by CVE-2024-26800?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/f2b85a4cc763841843de693bbd7308fe9a2c4c89>
- patch: <https://git.kernel.org/stable/c/81be85353b0f5a7b660635634b655329b429eefe>
- patch: <https://git.kernel.org/stable/c/1ac9fb84bc7ecd4bc6428118301d9d864d2a58d1>
- patch: <https://git.kernel.org/stable/c/13114dc5543069f7b97991e3b79937b6da05f5b0>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-26800>

HTML: <https://flawdb.com/CVE-2024-26800> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-26800>
