CVE-2024-45004
KEYS: trusted: dcp: fix leak of blob encryption key
Mitigation
- Upgrade Linux to 0e28bf61a5f9ab30be3f3b4eafb8d097e39446bb or later.
Who should check
- Anyone running Linux >= 2e8a0f40a39cc253002f21c54e1b5b995e5ec510, < 9e3b266afcfe4294e84496f50f006f029d3100db; >= 2e8a0f40a39cc253002f21c54e1b5b995e5ec510, < 0e28bf61a5f9ab30be3f3b4eafb8d097e39446bb
- Anyone running Linux 6.10
Vulnerability facts
- Affected
- Linux >= 2e8a0f40a39cc253002f21c54e1b5b995e5ec510, < 9e3b266afcfe4294e84496f50f006f029d3100db; >= 2e8a0f40a39cc253002f21c54e1b5b995e5ec510, < 0e28bf61a5f9ab30be3f3b4eafb8d097e39446bb; Linux 6.10
- Fixed in
- Linux 9e3b266afcfe4294e84496f50f006f029d3100db, Linux 0e28bf61a5f9ab30be3f3b4eafb8d097e39446bb
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.14% chance of exploitation in 30 days (percentile 2, 2026-11-26)
- CWE
- CWE-312
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: KEYS: trusted: dcp: fix leak of blob encryption key Trusted keys unseal the key blob on load, but keep the sealed payload in the blob field so that every subsequent read (export) will simply convert this field to hex and send it to userspace. With DCP-based trusted keys, we decrypt the blob encryption key (BEK) in the Kernel due hardware limitations and then decrypt the blob payload. BEK decryption is done in-place which means that the trusted key blob field is modified and it consequently holds the BEK in plain text. Every subsequent read of that key thus send the plain text BEK instead of the encrypted BEK to userspace. This issue only occurs when importing a trusted DCP-based key and then exporting it again. This should rarely happen as the common use cases are to either create a new trusted key and export it, or import a key blob and then just use it without exporting it again. Fix this by performing BEK decryption and encryption in a dedicated buffer. Further always wipe the plain text BEK buffer to prevent leaking the key via uninitialized memory.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-45004. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-45004.md Affected: Linux >= 2e8a0f40a39cc253002f21c54e1b5b995e5ec510, < 9e3b266afcfe4294e84496f50f006f029d3100db; >= 2e8a0f40a39cc253002f21c54e1b5b995e5ec510, < 0e28bf61a5f9ab30be3f3b4eafb8d097e39446bb; Linux 6.10 Fixed in: Linux 9e3b266afcfe4294e84496f50f006f029d3100db, Linux 0e28bf61a5f9ab30be3f3b4eafb8d097e39446bb Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2024-45004 being exploited?
There is no confirmed exploitation: CVE-2024-45004 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.14% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-45004?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-45004?
Linux >= 2e8a0f40a39cc253002f21c54e1b5b995e5ec510, < 9e3b266afcfe4294e84496f50f006f029d3100db; >= 2e8a0f40a39cc253002f21c54e1b5b995e5ec510, < 0e28bf61a5f9ab30be3f3b4eafb8d097e39446bb; Linux 6.10.
Is there a fix for CVE-2024-45004?
Yes. Fixed in Linux 9e3b266afcfe4294e84496f50f006f029d3100db, Linux 0e28bf61a5f9ab30be3f3b4eafb8d097e39446bb. Upgrade Linux to 0e28bf61a5f9ab30be3f3b4eafb8d097e39446bb or later.
How do I check if I'm affected by CVE-2024-45004?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.