---
id: CVE-2024-58240
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  tls: separate no-async decryption request handling from async

  If we're not doing async, the handling is much simpler
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  tls: separate no-async decryption request handling from async

  If we're not doing async, the handling is much simpler. There's no
  reference counting, we just need to wa…
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-416
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 4.13, < 6.1.149'
  - 'linux_kernel >= 6.2, < 6.6.21'
  - 'linux_kernel >= 6.7, < 6.7.9'
  - linux_kernel = 6.8
  - debian_linux = 11.0
patched:
  - linux_kernel 6.7.9
published: '2025-08-28'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T22:18:06.660'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-58240'
references:
  - url: 'https://git.kernel.org/stable/c/41532b785e9d79636b3815a64ddf6a096647d011'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/48905146d11dbf1ddbb2967319016a83976953f5'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/5f7761c94b1db7570cab328c9f940a33284509b7'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/999115298017a675d8ddf61414fc7a85c89f1186'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/dec5b6e7b211e405d3bcb504562ab21aa7e5a64d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/f32ab6cb544d01cdc150de5df389ac685aa507b0'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-032379.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00331
epssPercentile: 0.26082
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: total
  timestamp: '2026-10-15T21:42:32.212758Z'
ingestedAt: '2026-10-15T22:48:25.465Z'
---

## Overview

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

tls: separate no-async decryption request handling from async

If we're not doing async, the handling is much simpler. There's no
reference counting, we just need to wait for the completion to wake us
up and return its result.

We should preferably also use a separate crypto_wait. I'm not seeing a
UAF as I did in the past, I think aec7961916f3 ("tls: fix race between
async notify and socket close") took care of it.

This will make the next fix easier.

## Affected

- `linux_kernel >= 4.13, < 6.1.149`
- `linux_kernel >= 6.2, < 6.6.21`
- `linux_kernel >= 6.7, < 6.7.9`
- `linux_kernel = 6.8`
- `debian_linux = 11.0`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.7.9`
