CVE-2024-26763

dm-crypt: don't modify the data when using authenticated encryption

State
Published
Severity
7.1 High
Published
Apr 3, 2024
Updated
Aug 5, 2026
Reserved
Feb 19, 2024

Read the record on cve.org

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/

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 to before 43a202bd552976497474ae144942e32cc5f34d7eAffected
  • ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 to before 0dccbb93538fe89a86c6de31d4b1c8c560848eaaAffected
  • ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 to before 3c652f6fa1e1f9f02c3fbf359d260ad153ec5f90Affected
  • ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 to before 1a4371db68a31076afbe56ecce34fbbe6c80c529Affected
  • ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 to before e08c2a8d27e989f0f5b0888792643027d7e691e6Affected
  • ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 to before 64ba01a365980755732972523600a961c4266b75Affected
  • ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 to before d9e3763a505e50ba3bd22846f2a8db99429fb857Affected
  • ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 to before 50c70240097ce41fe6bce6478b80478281e4d0f7Affected
LinuxLinux
  • 4.12Affected
  • before 4.12Not affected
  • 4.19.308 through 4.19.*Not affected
  • 5.4.270 through 5.4.*Not affected
  • 5.10.211 through 5.10.*Not affected
  • 5.15.150 through 5.15.*Not affected
  • 6.1.80 through 6.1.*Not affected
  • 6.6.19 through 6.6.*Not affected
  • 6.7.7 through 6.7.*Not affected
  • 6.8 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.