CVE-2024-26718 json
dm-crypt, dm-verity: disable tasklets
published 2024-04-03 2 y ago modified 2026-08-05 3 mo ago also EUVD-2024-23980
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 14%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
dm-crypt, dm-verity: disable tasklets
Tasklets have an inherent problem with memory corruption. The function tasklet_action_common calls tasklet_trylock, then it calls the tasklet callback and then it calls tasklet_unlock. If the tasklet callback frees the structure that contains the tasklet or if it calls some code that may free it, tasklet_unlock will write into free memory.
The commits 8e14f610159d and d9a02e016aaf try to fix it for dm-crypt, but it is not a sufficient fix and the data corruption can still happen [1]. There is no fix for dm-verity and dm-verity will write into free memory with every tasklet-processed bio.
There will be atomic workqueues implemented in the kernel 6.9 [2]. They will have better interface and they will not suffer from the memory corruption problem.
But we need something that stops the memory corruption now and that can be backported to the stable kernels. So, I'm proposing this commit that disables tasklets in both dm-crypt and dm-verity. This commit doesn't remove the tasklet support, because the tasklet code will be reused when atomic workqueues will be implemented.
[1] https://lore.kernel.org/all/d390d7ee-f142-44d3-822a-87949e14608b@suse.de/T/ [2] https://lore.kernel.org/lkml/20240130091300.2968534-1-tj@kernel.org/
Patch / fix
- Linux Linux 5.15.169, 6.1.79, 6.6.18, 6.7.6, 6.8
- linux Debian 12 6.1.82-1
- linux Debian 14, Debian 13 6.7.7-1
debian advisories DEBIAN-CVE-2024-26718
- linux Ubuntu 22.04 LTS 5.15.0-133.144
- linux-aws Ubuntu 22.04 LTS 5.15.0-1078.85
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1077.86
- linux-gke Ubuntu 22.04 LTS 5.15.0-1075.81
- linux-ibm Ubuntu 22.04 LTS 5.15.0-1070.73
- linux-kvm Ubuntu 22.04 LTS 5.15.0-1076.81
- linux-azure Ubuntu 22.04 LTS 5.15.0-1081.90
- linux-gkeop Ubuntu 22.04 LTS 5.15.0-1060.68
ubuntu advisories UBUNTU-CVE-2024-26718
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-rt SLE Micro 5.5, Real Time Module 15 SP5, openSUSE Leap 15.5 5.14.21-150500.13.52.1
- kernel-syms-rt Real Time Module 15 SP5, openSUSE Leap 15.5 5.14.21-150500.13.52.1
- kernel-rt_debug Real Time Module 15 SP5, openSUSE Leap 15.5 5.14.21-150500.13.52.1
- kernel-source-rt SLE Micro 5.5, Real Time Module 15 SP5, openSUSE Leap 15.5 5.14.21-150500.13.52.1
- dtb-aarch64 openSUSE Leap 15.5 5.14.21-150500.55.62.1
- kernel-64kb SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.62.2
- kernel-syms SLE Module for Development Tools 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.62.1
- kernel-obs-qa openSUSE Leap 15.5 5.14.21-150500.55.62.1
suse advisories SUSE-SU-2024:1663-1SUSE-SU-2024:1659-1SUSE-SU-2024:1490-1
- git.kernel.org/stable/c/b825e0f9d68c178072bffd32dd34c39e3d2d597a commit
- git.kernel.org/stable/c/30884a44e0cedc3dfda8c22432f3ba4078ec2d94 commit
- git.kernel.org/stable/c/5735a2671ffb70ea29ca83969fe01316ee2ed6fc commit
- git.kernel.org/stable/c/0c45a20cbe68bc4d681734f5c03891124a274257 commit
- git.kernel.org/stable/c/0a9bab391e336489169b95cb0d4553d921302189 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-26718 updated cvss 4.4
kernel: dm-crypt, dm-verity: disable tasklets
-
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 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 moreaffected: no fix available
-
Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot 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 SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.24% chance of exploitation in the next 30 days, higher than 14% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
- Technology feeds
References
-
git.kernel.org
/stable/c/b825e0f9d68c178072bffd32dd34c39e3d2d597a
patch
-
git.kernel.org
/stable/c/30884a44e0cedc3dfda8c22432f3ba4078ec2d94
patch
-
git.kernel.org
/stable/c/5735a2671ffb70ea29ca83969fe01316ee2ed6fc
patch
-
git.kernel.org
/stable/c/0c45a20cbe68bc4d681734f5c03891124a274257
patch
-
git.kernel.org
/stable/c/0a9bab391e336489169b95cb0d4553d921302189
patch
Sources
- CVE List CVE-2024-26718
- NVD CVE-2024-26718
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.