{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-58008","id":"CVE-2024-58008","title":"KEYS: trusted: dcp: fix improper sg use with CONFIG_VMAP_STACK=y","description":"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\nFi","descriptionLong":"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.","published":"2025-02-27T02:12:04.100Z","updated":"2026-11-17T07:01:48.126185173Z","reserved":"2025-02-27T02:10:48.227Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0e28bf61a5f9ab30be3f3b4eafb8d097e39446bb","lessThan":"3192f1c54dddb9b5820bf5e8677809949d8e9c66","status":"affected","versionType":"git"},{"version":"0e28bf61a5f9ab30be3f3b4eafb8d097e39446bb","lessThan":"3355594de46fb1cba663f12b9644b664b8a609f4","status":"affected","versionType":"git"},{"version":"0e28bf61a5f9ab30be3f3b4eafb8d097e39446bb","lessThan":"e8d9fab39d1f87b52932646b2f1e7877aa3fc0f4","status":"affected","versionType":"git"},{"version":"9e3b266afcfe4294e84496f50f006f029d3100db","status":"affected","versionType":"git"},{"version":"6.10.7","lessThan":"6.11","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.11","status":"affected"},{"version":"0","lessThan":"6.11","status":"unaffected","versionType":"semver"},{"version":"6.12.14","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13.3","lessThanOrEqual":"6.13.*","status":"unaffected","versionType":"semver"},{"version":"6.14","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/3192f1c54dddb9b5820bf5e8677809949d8e9c66","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/3355594de46fb1cba663f12b9644b664b8a609f4","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e8d9fab39d1f87b52932646b2f1e7877aa3fc0f4","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58008.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58008","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00131,"epssPercentile":0.02793,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-58008","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58008","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-58008","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-58008","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}