Constant-Time Key Printing Vulnerability in dm crypt

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1003646: dm crypt: make printing of the key constant-time. Affects Kernel versions < 4617778417d0a8c59f309b5eea21d943877f3c74. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

dm crypt is a disk encryption subsystem in the Linux Kernel that provides transparent encryption of block devices. It is used to protect sensitive data stored on disks by encrypting it with a user-defined key. The vulnerability identified in dm crypt allows an attacker to potentially extract the encryption key by exploiting timing side-channel attacks during the key printing process.

Vulnerability Detail

The vulnerability arises from the lack of constant-time implementation when printing the encryption key in dm crypt. By carefully measuring the time it takes to print each character of the key, an attacker can infer the key's value. This can lead to unauthorized access to encrypted data and compromise the confidentiality of the system. The impact and attack plausibility of this vulnerability have not been proven yet.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability.

Conclusion

The constant-time key printing vulnerability in dm crypt can potentially compromise the confidentiality of encrypted data. It is recommended to update the Linux Kernel to version v5.10.120 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

dm crypt is a disk encryption subsystem in the Linux Kernel that provides transparent encryption of block devices.

The vulnerability allows an attacker to potentially extract the encryption key, leading to unauthorized access to encrypted data and compromising system confidentiality.

To fix this vulnerability, update the Linux Kernel to version v5.10.120 or any subsequent version that includes the fix.

No specific workaround has been mentioned for this vulnerability.

No, the impact and attack plausibility of this vulnerability have not been proven yet.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback