HighFix available
crypto: starfive - Do not free stack buffer
Type: advisorySources: OSV
In the Linux kernel, the following vulnerability has been resolved: crypto: starfive - Do not free stack buffer RSA text data uses variable length buffer allocated in software stack. Calling kfree on it causes undefined behaviour in subsequent operations.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.6.156, 6.9.5
- CVEs
- CVE-2024-39478
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 23:10 UTC · Revision 1
Source evidence
crypto: starfive - Do not free stack buffer
core-osv · Original sourcePublished 5 Jul 2024, 06:55 UTC
In the Linux kernel, the following vulnerability has been resolved: crypto: starfive - Do not free stack buffer RSA text data uses variable length buffer allocated in software stack. Calling kfree on it causes undefined behaviour in subsequent operations.
osv:CVE-2024-39478
Kernel
Fixed versions: 6.6.156, 6.9.5
Complete source record
{
"id": "9073afc6a867eb23faabe4e29fc70fdf3f7c09caf1ed43e9b3af7f21c0da2e96",
"url": "https://osv.dev/vulnerability/CVE-2024-39478",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "crypto: starfive - Do not free stack buffer",
"summary": "In the Linux kernel, the following vulnerability has been resolved: crypto: starfive - Do not free stack buffer RSA text data uses variable length buffer allocated in software stack. Calling kfree on it causes undefined behaviour in subsequent operations.",
"evidence": "osv:CVE-2024-39478",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.6.156",
"evidence": "/affected/1/ranges"
},
{
"value": "6.9.5",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2024-39478",
"aliases": [
"CVE-2024-39478"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "445a4aaf5842073e4130b1d6dbe3785284d9615f"
},
{
"fixed": "bfd861dadd3a45de257b3d328bf49b64a6f9c5f1"
},
{
"fixed": "5944de192663f272033501dcd322b008fca72006"
},
{
"fixed": "d7f01649f4eaf1878472d3d3f480ae1e50d98f6c"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-39478.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.5.0"
},
{
"fixed": "6.6.156"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.9.5"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-39478.json"
}
}
],
"modified": "2026-10-28T02:30:40.340584593Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/5944de192663f272033501dcd322b008fca72006",
"https://git.kernel.org/stable/c/bfd861dadd3a45de257b3d328bf49b64a6f9c5f1",
"https://git.kernel.org/stable/c/d7f01649f4eaf1878472d3d3f480ae1e50d98f6c",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39478.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-39478",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39478.json"
}
},
"related_cves": [
{
"value": "CVE-2024-39478",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 507852,
"published_at": "2024-07-05T06:55:07.936+00:00"
}