{"id":"CVE-2024-58008","published":"2025-02-27T02:12:04Z","modified":"2026-08-05T11:47:24Z","title":"KEYS: trusted: dcp: fix improper sg use with CONFIG_VMAP_STACK=y","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nKEYS: trusted: dcp: fix improper sg use with CONFIG_VMAP_STACK=y\n\nWith vmalloc stack addresses enabled (CONFIG_VMAP_STACK=y) DCP trusted\nkeys can crash during en- and decryption of the blob encryption key via\nthe DCP crypto driver. This is caused by improperly using sg_init_one()\nwith vmalloc'd stack buffers (plain_key_blob).\n\nFix this by always using kmalloc() for buffers we give to the DCP crypto\ndriver.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00131,"percentile":0.02711,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/3192f1c54dddb9b5820bf5e8677809949d8e9c66","tags":[]},{"url":"https://git.kernel.org/stable/c/3355594de46fb1cba663f12b9644b664b8a609f4","tags":[]},{"url":"https://git.kernel.org/stable/c/e8d9fab39d1f87b52932646b2f1e7877aa3fc0f4","tags":[]}],"priority":{"score":6.0,"factors":[{"name":"EPSS percentile","points":0.54},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 0e28bf61a5f9ab30be3f3b4eafb8d097e39446bb, < 3192f1c54dddb9b5820bf5e8677809949d8e9c66",">= 0e28bf61a5f9ab30be3f3b4eafb8d097e39446bb, < 3355594de46fb1cba663f12b9644b664b8a609f4",">= 0e28bf61a5f9ab30be3f3b4eafb8d097e39446bb, < e8d9fab39d1f87b52932646b2f1e7877aa3fc0f4","9e3b266afcfe4294e84496f50f006f029d3100db",">= 6.10.7, < 6.11"]},{"vendor":"Linux","product":"Linux","versions":["6.11"]}],"euvd":{"id":"EUVD-2025-5209","exploited":false,"provenance":"source"}}