7.1high
dm-crypt: don't modify the data when using authenticated encryption
- Severity
- 7.1high CVSS:3.1 by Linux
- Exploit likelihood
- 0.29% (higher than 22% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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/
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 before 43a202bd552976497474ae144942e32cc5f34d7e, from ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 before 0dccbb93538fe89a86c6de31d4b1c8c560848eaa, from ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 before 3c652f6fa1e1f9f02c3fbf359d260ad153ec5f90, from ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 before 1a4371db68a31076afbe56ecce34fbbe6c80c529, from ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 before e08c2a8d27e989f0f5b0888792643027d7e691e6, from ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 before 64ba01a365980755732972523600a961c4266b75, from ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 before d9e3763a505e50ba3bd22846f2a8db99429fb857, from ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 before 50c70240097ce41fe6bce6478b80478281e4d0f7 and 1 more Not affected: before 4.12, from 4.19.308 up to 4.19.*, from 5.4.270 up to 5.4.*, from 5.10.211 up to 5.10.*, from 5.15.150 up to 5.15.*, from 6.1.80 up to 6.1.* | CVE List |
| linux linux_kernel | before 4.19.308, from 4.20 before 5.4.270, from 5.5 before 5.10.211, from 5.11 before 5.15.150, from 5.16 before 6.1.80, from 6.2 before 6.6.19, from 6.7 before 6.7.7, 6.8 | NVD |
| debian debian_linux | 10.0 | NVD |
All scores
| Linux | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
| NVD | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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/
NVD (es)
En el kernel de Linux se ha resuelto la siguiente vulnerabilidad: dm-crypt: no modifica los datos cuando se utiliza cifrado autenticado Se dijo que el cifrado autenticado podría producir etiquetas no válidas cuando se modifican los datos que se están cifrando [1]. Entonces, solucione este problema copiando primero los datos en la biografía del clon y luego cifrándolos dentro de la biografía del clon. Esto puede reducir el rendimiento, pero es necesario para evitar que el usuario dañe el dispositivo escribiendo datos con O_DIRECT y modificándolos al mismo tiempo. [1] https://lore.kernel.org/all/20240207004723.GA35324@sol.localdomain/T/
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-26763 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-26763 changed 2026-08-04 | Public domain |