CVE-2024-58240 in the critical feed json
tls: separate no-async decryption request handling from async
published 2025-08-28 14 mo ago modified 2026-11-09 4 h ago also EUVD-2024-54920
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 27%
- public exploits
- 0
- none known
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 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.
Patch / fix
- Linux Linux 5.10.265, 5.15.216, 6.1.149, 6.6.21, 6.7.9, 6.8
- Siemens SIMATIC CN 4100 V5.0
- linux Debian 12 6.1.153-1
- linux Debian 14, Debian 13 6.7.9-1
debian advisories DEBIAN-CVE-2024-58240
- linux Ubuntu 20.04 LTS 5.4.0-200.220
- linux Ubuntu 22.04 LTS 5.15.0-125.135
- linux-aws Ubuntu 20.04 LTS 5.4.0-1135.145
- linux-aws Ubuntu 22.04 LTS 5.15.0-1072.78
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1139.148
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1071.79
- linux-gke Ubuntu 22.04 LTS 5.15.0-1069.75
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1082.87
ubuntu advisories UBUNTU-CVE-2024-58240
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 8.4 EUS_LONG_LIFE, RHEL 8.4 AUS 4.18.0-305.179.1.el8_4
- perf RHEL 8.4 EUS_LONG_LIFE, RHEL 8.4 AUS 4.18.0-305.179.1.el8_4
- bpftool RHEL 8.4 EUS_LONG_LIFE, RHEL 8.4 AUS 4.18.0-305.179.1.el8_4
- kernel-core RHEL 8.4 EUS_LONG_LIFE, RHEL 8.4 AUS 4.18.0-305.179.1.el8_4
- kernel-tools RHEL 8.4 EUS_LONG_LIFE, RHEL 8.4 AUS 4.18.0-305.179.1.el8_4
- python3-perf RHEL 8.4 EUS_LONG_LIFE, RHEL 8.4 AUS 4.18.0-305.179.1.el8_4
- kernel-modules RHEL 8.4 EUS_LONG_LIFE, RHEL 8.4 AUS 4.18.0-305.179.1.el8_4
- kernel-debug-core RHEL 8.4 EUS_LONG_LIFE, RHEL 8.4 AUS 4.18.0-305.179.1.el8_4
red hat advisories RHSA-2025:22752RHSA-2025:21667RHSA-2025:19492RHSA-2025:19268
- kernel-rt Real Time Module 15 SP7 6.4.0-150700.7.22.1
- kernel-syms-rt Real Time Module 15 SP7 6.4.0-150700.7.22.1
- kernel-source-rt Real Time Module 15 SP7 6.4.0-150700.7.22.1
- kernel-azure SLE Module for Public Cloud 15 SP7 6.4.0-150700.20.18.1
- kernel-syms-azure SLE Module for Public Cloud 15 SP7 6.4.0-150700.20.18.1
- kernel-source-azure SLE Module for Public Cloud 15 SP7 6.4.0-150700.20.18.1
- kernel-64kb SLE Module for Basesystem 15 SP7 6.4.0-150700.53.22.1
- kernel-syms SLE Module for Development Tools 15 SP7 6.4.0-150700.53.22.1
suse advisories SUSE-SU-2025:4141-1SUSE-SU-2025:4132-1SUSE-SU-2025:4057-1SUSE-SU-2025:20870-1SUSE-SU-2025:3761-1SUSE-SU-2025:20898-1
- git.kernel.org/stable/c/f32ab6cb544d01cdc150de5df389ac685aa507b0 commit
- git.kernel.org/stable/c/5f7761c94b1db7570cab328c9f940a33284509b7 commit
- git.kernel.org/stable/c/48905146d11dbf1ddbb2967319016a83976953f5 commit
- git.kernel.org/stable/c/dec5b6e7b211e405d3bcb504562ab21aa7e5a64d commit
- git.kernel.org/stable/c/999115298017a675d8ddf61414fc7a85c89f1186 commit
- git.kernel.org/stable/c/41532b785e9d79636b3815a64ddf6a096647d011 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-58240 updated cvss 7.3
kernel: tls: separate no-async decryption request handling from async
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 moreaffected: workaround, no fix available “To mitigate this issue, prevent module tls from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.”
-
Red Hat Enterprise Linux AppStream E4S (v.9.0) perf 5.14.0-70.151.1.el9_0, kernel-devel-matched 5.14.0-70.151.1.el9_0, kernel-debug-devel-matched 5.14.0-70.151.1.el9_0, kernel-debuginfo-common-s390x 5.14.0-70.151.1.el9_0, kernel-zfcpdump-devel-matched 5.14.0-70.151.1.el9_0, kernel-debuginfo-common-x86_64 5.14.0-70.151.1.el9_0, +2 morefixed: vendor fix “To mitigate this issue, prevent module tls from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:19492
-
Red Hat Enterprise Linux BaseOS AUS (v. 8.2) perf 4.18.0-193.173.1.el8_2, kernel 4.18.0-193.173.1.el8_2, bpftool 4.18.0-193.173.1.el8_2, kernel-core 4.18.0-193.173.1.el8_2, kernel-tools 4.18.0-193.173.1.el8_2, python3-perf 4.18.0-193.173.1.el8_2, +8 morefixed: vendor fix “To mitigate this issue, prevent module tls from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:21667
-
Red Hat Enterprise Linux BaseOS AUS (v.8.4) perf 4.18.0-305.179.1.el8_4, kernel 4.18.0-305.179.1.el8_4, bpftool 4.18.0-305.179.1.el8_4, kernel-core 4.18.0-305.179.1.el8_4, kernel-tools 4.18.0-305.179.1.el8_4, python3-perf 4.18.0-305.179.1.el8_4, +8 morefixed: vendor fix “To mitigate this issue, prevent module tls from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:22752
-
Red Hat Enterprise Linux BaseOS E4S (v.9.0) kernel 5.14.0-70.151.1.el9_0, bpftool 5.14.0-70.151.1.el9_0, kernel-core 5.14.0-70.151.1.el9_0, kernel-tools 5.14.0-70.151.1.el9_0, python3-perf 5.14.0-70.151.1.el9_0, kernel-modules 5.14.0-70.151.1.el9_0, +14 morefixed: vendor fix “To mitigate this issue, prevent module tls from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:19492
-
Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) perf 4.18.0-305.179.1.el8_4, kernel 4.18.0-305.179.1.el8_4, bpftool 4.18.0-305.179.1.el8_4, kernel-core 4.18.0-305.179.1.el8_4, kernel-tools 4.18.0-305.179.1.el8_4, python3-perf 4.18.0-305.179.1.el8_4, +8 morefixed: vendor fix “To mitigate this issue, prevent module tls from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:22752
-
Red Hat Enterprise Linux NFV E4S (v.9.0) kernel-rt 5.14.0-70.151.1.rt21.223.el9_0, kernel-rt-kvm 5.14.0-70.151.1.rt21.223.el9_0, kernel-rt-core 5.14.0-70.151.1.rt21.223.el9_0, kernel-rt-modules 5.14.0-70.151.1.rt21.223.el9_0, kernel-rt-debug-kvm 5.14.0-70.151.1.rt21.223.el9_0, kernel-rt-debug-core 5.14.0-70.151.1.rt21.223.el9_0, +4 more Red Hat Enterprise Linux Real Time E4S (v.9.0) kernel-rt 5.14.0-70.151.1.rt21.223.el9_0, kernel-rt-core 5.14.0-70.151.1.rt21.223.el9_0, kernel-rt-modules 5.14.0-70.151.1.rt21.223.el9_0, kernel-rt-debug-core 5.14.0-70.151.1.rt21.223.el9_0, kernel-rt-debug-modules 5.14.0-70.151.1.rt21.223.el9_0, kernel-rt-modules-extra 5.14.0-70.151.1.rt21.223.el9_0, +2 morefixed: vendor fix “To mitigate this issue, prevent module tls from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.” RHSA-2025:19268
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-26-134-10 updated cvss 7.3
Siemens SIMATIC
-
Siemens SIMATIC CN 4100 < 5.0affected: fixed in V5.0 support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 24 d ago
Exploit prediction
0.34% chance of exploitation in the next 30 days, higher than 27% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
- Siemens SIMATIC CN 4100
Classification
- Weakness
-
- CWE-416 Use After Free
- Technology feeds
References
- git.kernel.org /stable/c/f32ab6cb544d01cdc150de5df389ac685aa507b0
- git.kernel.org /stable/c/5f7761c94b1db7570cab328c9f940a33284509b7
-
git.kernel.org
/stable/c/48905146d11dbf1ddbb2967319016a83976953f5
patch
-
git.kernel.org
/stable/c/dec5b6e7b211e405d3bcb504562ab21aa7e5a64d
patch
-
git.kernel.org
/stable/c/999115298017a675d8ddf61414fc7a85c89f1186
patch
-
git.kernel.org
/stable/c/41532b785e9d79636b3815a64ddf6a096647d011
patch
-
lists.debian.org
/debian-lts-announce/2025/10/msg00008.html
third-party-advisory
- cert-portal.siemens.com /productcert/html/ssa-032379.html
Sources
- CVE List CVE-2024-58240
- NVD CVE-2024-58240
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.