CVE-2024-26763
dm-crypt: don't modify the data when using authenticated encryption
Check your servers for CVE-2024-26763
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-26763 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
dm-crypt: don't modify the data when using authenticated encryption
It was said that authenticated encryption could produce invalid tag when the data that is being encrypted is modified [1]. So, fix this problem by copying the data into the clone bio first and then encrypt them inside the clone bio.
This may reduce performance, but it is needed to prevent the user from corrupting the device by writing data with O_DIRECT and modifying them at the same time.
[1] https://lore.kernel.org/all/20240207004723.GA35324@sol.localdomain/T/
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.29%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 22.5% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from ef43aa38063a6b2b3c6618e28ab35794f4f1fe29, before 43a202bd552976497474ae144942e32cc5f34d7e affected from ef43aa38063a6b2b3c6618e28ab35794f4f1fe29, before 0dccbb93538fe89a86c6de31d4b1c8c560848eaa affected from ef43aa38063a6b2b3c6618e28ab35794f4f1fe29, before 3c652f6fa1e1f9f02c3fbf359d260ad153ec5f90 affected from ef43aa38063a6b2b3c6618e28ab35794f4f1fe29, before 1a4371db68a31076afbe56ecce34fbbe6c80c529 affected from ef43aa38063a6b2b3c6618e28ab35794f4f1fe29, before e08c2a8d27e989f0f5b0888792643027d7e691e6 affected from ef43aa38063a6b2b3c6618e28ab35794f4f1fe29, before 64ba01a365980755732972523600a961c4266b75 affected from ef43aa38063a6b2b3c6618e28ab35794f4f1fe29, before d9e3763a505e50ba3bd22846f2a8db99429fb857 affected from ef43aa38063a6b2b3c6618e28ab35794f4f1fe29, before 50c70240097ce41fe6bce6478b80478281e4d0f7
Other versions: unaffected
|
| Linux |
affected 4.12 unaffected before 4.12 unaffected from 4.19.308 up to and including 4.19.* unaffected from 5.4.270 up to and including 5.4.* unaffected from 5.10.211 up to and including 5.10.* unaffected from 5.15.150 up to and including 5.15.* unaffected from 6.1.80 up to and including 6.1.* unaffected from 6.6.19 up to and including 6.6.* unaffected from 6.7.7 up to and including 6.7.* unaffected 6.8 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-26763 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-26763
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-26763
trivy image --scanners vuln IMAGE | grep CVE-2024-26763
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/43a202bd552976497474ae144942e32cc5f34d7e git.kernel.org
- https://git.kernel.org/stable/c/0dccbb93538fe89a86c6de31d4b1c8c560848eaa git.kernel.org
- https://git.kernel.org/stable/c/3c652f6fa1e1f9f02c3fbf359d260ad153ec5f90 git.kernel.org
- https://git.kernel.org/stable/c/1a4371db68a31076afbe56ecce34fbbe6c80c529 git.kernel.org
- https://git.kernel.org/stable/c/e08c2a8d27e989f0f5b0888792643027d7e691e6 git.kernel.org
- https://git.kernel.org/stable/c/64ba01a365980755732972523600a961c4266b75 git.kernel.org
- https://git.kernel.org/stable/c/d9e3763a505e50ba3bd22846f2a8db99429fb857 git.kernel.org
- https://git.kernel.org/stable/c/50c70240097ce41fe6bce6478b80478281e4d0f7 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html lists.debian.org
Source: the record CVE-2024-26763 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse