CVE-2024-58008

Source
https://cve.org/CVERecord?id=CVE-2024-58008
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58008.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-58008
Downstream
Related
Published
2025-02-27T02:12:04Z
Modified
2026-10-08T02:48:53Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
KEYS: trusted: dcp: fix improper sg use with CONFIG_VMAP_STACK=y
Details

In the Linux kernel, the following vulnerability has been resolved:

KEYS: trusted: dcp: fix improper sg use with CONFIG_VMAP_STACK=y

With vmalloc stack addresses enabled (CONFIG_VMAP_STACK=y) DCP trusted keys can crash during en- and decryption of the blob encryption key via the DCP crypto driver. This is caused by improperly using sg_init_one() with vmalloc'd stack buffers (plain_key_blob).

Fix this by always using kmalloc() for buffers we give to the DCP crypto driver.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58008.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0e28bf61a5f9ab30be3f3b4eafb8d097e39446bb
Fixed
3192f1c54dddb9b5820bf5e8677809949d8e9c66
Fixed
3355594de46fb1cba663f12b9644b664b8a609f4
Fixed
e8d9fab39d1f87b52932646b2f1e7877aa3fc0f4
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6.10.7
Fixed
6.11
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
9e3b266afcfe4294e84496f50f006f029d3100db

Affected versions

v6.*
v6.10.10
v6.10.11
v6.10.12
v6.10.13
v6.10.14
v6.10.7
v6.10.8
v6.10.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58008.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.11.0
Fixed
6.12.14
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.13.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58008.json"