Skip to main content
← All vulnerabilities
CVE-2024-58008

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.11
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 6.10.7 · fixed in 6.11

  • Linux Linux

    6.11

References 3

git.kernel.org