{"id":"CVE-2024-39478","summary":"crypto: starfive - Do not free stack buffer","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: starfive - Do not free stack buffer\n\nRSA text data uses variable length buffer allocated in software stack.\nCalling kfree on it causes undefined behaviour in subsequent operations.","modified":"2026-04-02T12:17:00.554752Z","published":"2024-07-05T06:55:07.936Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39478.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/5944de192663f272033501dcd322b008fca72006"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d7f01649f4eaf1878472d3d3f480ae1e50d98f6c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39478.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39478"},{"type":"PACKAGE","url":"https://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":"445a4aaf5842073e4130b1d6dbe3785284d9615f"},{"fixed":"5944de192663f272033501dcd322b008fca72006"},{"fixed":"d7f01649f4eaf1878472d3d3f480ae1e50d98f6c"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-39478.json"}}],"schema_version":"1.7.5"}