CVE-2024-58008

CVE-2024-58008

High · published February 27, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
2.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00131 · 2.5th percentile
Published
2025-02-27T08:15Z
Affected products (8)
ProductVersionsFixed in
linux/linux_kernel≥ 6.10.7, < 6.116.11
linux/linux_kernel≥ 6.11.1, < 6.12.146.12.14
linux/linux_kernel≥ 6.13, < 6.13.36.13.3
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (3)
EPSS history
Timeline
  • 27 FEB 02:12Z
    KEYS: trusted: dcp: fix improper sg use with CONFIG_VMAP_STACK=y
    cvelistv5