dm-crypt: don't modify the data when using authenticated encryption
Summary
| CVE | CVE-2024-26763 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-04-03 17:15:52 UTC |
| Updated | 2026-08-04 11:17:01 UTC |
| 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/[email protected]/T/ |
Risk And Classification
Primary CVSS: v3.1 7.1 HIGH from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Problem Types: CWE-787
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.1 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 7.1 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
| 3.1 | CNA | DECLARED | 7.1 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 43a202bd552976497474ae144942e32cc5f34d7e git | Not specified |
| CNA | Linux | Linux | affected ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 0dccbb93538fe89a86c6de31d4b1c8c560848eaa git | Not specified |
| CNA | Linux | Linux | affected ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 3c652f6fa1e1f9f02c3fbf359d260ad153ec5f90 git | Not specified |
| CNA | Linux | Linux | affected ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 1a4371db68a31076afbe56ecce34fbbe6c80c529 git | Not specified |
| CNA | Linux | Linux | affected ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 e08c2a8d27e989f0f5b0888792643027d7e691e6 git | Not specified |
| CNA | Linux | Linux | affected ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 64ba01a365980755732972523600a961c4266b75 git | Not specified |
| CNA | Linux | Linux | affected ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 d9e3763a505e50ba3bd22846f2a8db99429fb857 git | Not specified |
| CNA | Linux | Linux | affected ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 50c70240097ce41fe6bce6478b80478281e4d0f7 git | Not specified |
| CNA | Linux | Linux | affected 4.12 | Not specified |
| CNA | Linux | Linux | unaffected 4.12 semver | Not specified |
| CNA | Linux | Linux | unaffected 4.19.308 4.19.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.4.270 5.4.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.211 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.150 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.80 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.19 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.7.7 6.7.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.8 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| lists.debian.org/debian-lts-announce/2024/06/msg00017.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Mailing List |
| dm-crypt: don't modify the data when using authenticated encryption - kernel/git/stable/linux.git - Linux kernel stable tree | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| dm-crypt: don't modify the data when using authenticated encryption - kernel/git/stable/linux.git - Linux kernel stable tree | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| dm-crypt: don't modify the data when using authenticated encryption - kernel/git/stable/linux.git - Linux kernel stable tree | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| dm-crypt: don't modify the data when using authenticated encryption - kernel/git/stable/linux.git - Linux kernel stable tree | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| dm-crypt: don't modify the data when using authenticated encryption - kernel/git/stable/linux.git - Linux kernel stable tree | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| dm-crypt: don't modify the data when using authenticated encryption - kernel/git/stable/linux.git - Linux kernel stable tree | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| lists.debian.org/debian-lts-announce/2024/06/msg00020.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Mailing List |
| dm-crypt: don't modify the data when using authenticated encryption - kernel/git/stable/linux.git - Linux kernel stable tree | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| dm-crypt: don't modify the data when using authenticated encryption - kernel/git/stable/linux.git - Linux kernel stable tree | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 6000567 Debian Security Update for linux (DSA 5658-1)