CVE-2024-26763·Kernel vulnerability
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
- high
- Software
- Kernel
- Fixed in
- 6.7.7
- Published
- 2024-04-03
Affected versions
From: 6.7
Until: 6.7.7
Fixed in: 6.7.7
How to fix this CVE
Update your Linux kernel to version 6.7.7 or later to resolve this dm-crypt data corruption vulnerability. Systems using authenticated encryption modes (such as AES-GCM) with direct I/O writes are at risk of generating invalid authentication tags when data is modified concurrently. Apply the kernel update and reboot your system to activate the fix, which implements proper data isolation between user-space buffers and encrypted clone buffers.
sudo dnf check-update kernel && sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Run 'uname -r' to check your current kernel version and confirm if it is between 6.7 and 6.7.6 (vulnerable range)
- Execute 'dmsetup table' and grep for 'crypt' targets to identify if dm-crypt is actively configured on the system
- Check for authenticated encryption cipher modes in dm-crypt targets using 'dmsetup status' and look for entries containing 'aes-gcm' or similar AEAD modes
- Verify kernel patch application by checking 'cat /proc/version' post-update to confirm version is 6.7.7 or higher
FAQ
What is CVE-2024-26763?
CVE-2024-26763 is a Linux kernel vulnerability in the dm-crypt subsystem where concurrent modification of user-space data during encryption operations with authenticated encryption modes can result in invalid authentication tags, potentially corrupting encrypted data on disk.
Is CVE-2024-26763 being actively exploited?
No, CVE-2024-26763 is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are available. However, it remains a high-severity issue due to its potential for data corruption.
What versions of Kernel are affected by CVE-2024-26763?
Linux kernel versions 6.7 through 6.7.6 are affected. Version 6.7.7 and later contain the necessary fix.
How do I check if my server is vulnerable to CVE-2024-26763?
Run 'uname -r' and check if the output shows version 6.7.0 through 6.7.6. Additionally, verify dm-crypt is in use by running 'dmsetup table | grep crypt'. If both conditions are true, your system is vulnerable.
Does Defensia detect CVE-2024-26763?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server and falls within the vulnerable version range, CVE-2024-26763 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/0dccbb93538fe89a86c6de31d4b1c8c560848eaa
- https://git.kernel.org/stable/c/1a4371db68a31076afbe56ecce34fbbe6c80c529
- https://git.kernel.org/stable/c/3c652f6fa1e1f9f02c3fbf359d260ad153ec5f90
- https://git.kernel.org/stable/c/43a202bd552976497474ae144942e32cc5f34d7e
- https://git.kernel.org/stable/c/50c70240097ce41fe6bce6478b80478281e4d0f7
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-26763. Free for 1 server.
Get started free