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

CVE-2024-26763
HIGH 7.1

At a glance

Source
NVD
EPSS
EPSS 0.29 % · percentile 21 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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/

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:HLinux
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 < 43a202bd552976497474ae144942e32cc5f34d7e ; affected ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 < 0dccbb93538fe89a86c6de31d4b1c8c560848eaa ; affected ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 < 3c652f6fa1e1f9f02c3fbf359d260ad153ec5f90 ; affected ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 < 1a4371db68a31076afbe56ecce34fbbe6c80c529 ; affected ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 < e08c2a8d27e989f0f5b0888792643027d7e691e6 ; affected ef43aa38063a6b2b3c6618e28ab35794f4f1fe29 < 64ba01a365980755732972523600a961c4266b75
Linux · Linuxaffected 4.12 ; unaffected 0 < 4.12 ; unaffected 4.19.308 ≤ 4.19.* ; unaffected 5.4.270 ≤ 5.4.* ; unaffected 5.10.211 ≤ 5.10.* ; unaffected 5.15.150 ≤ 5.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD