media: chips-media: wave5: Fix memory leak on codec_info allocation failure
In the Linux kernel, the following vulnerability has been resolved: media: chips-media: wave5: Fix memory leak on codec_info allocation failure In wave5_vpu_open_enc() and wave5_vpu_open_dec(), a vpu instance is allocated via kzalloc(). If the subsequent allocation for inst->codec_info fails, the functions return -ENOMEM without freeing the previously allocated instance, causing a memory leak. Fix this by calling kfree() on the instance in this error path to ensure it is properly released.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.75, 6.18.14, 6.19.4
- CVEs
- CVE-2026-45928
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 08:08 UTC · Revision 1
Source evidence
media: chips-media: wave5: Fix memory leak on codec_info allocation failure
core-osv · Original sourcePublished 27 May 2026, 12:17 UTC
In the Linux kernel, the following vulnerability has been resolved: media: chips-media: wave5: Fix memory leak on codec_info allocation failure In wave5_vpu_open_enc() and wave5_vpu_open_dec(), a vpu instance is allocated via kzalloc(). If the subsequent allocation for inst->codec_info fails, the functions return -ENOMEM without freeing the previously allocated instance, causing a memory leak. Fix this by calling kfree() on the instance in this error path to ensure it is properly released.
osv:CVE-2026-45928
Kernel
Fixed versions: 6.12.75, 6.18.14, 6.19.4
Complete source record
{
"id": "8915d987cce0804e79ada9fa3af4fc9709eb3b72097953dd0094fe44a6441c9b",
"url": "https://osv.dev/vulnerability/CVE-2026-45928",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "media: chips-media: wave5: Fix memory leak on codec_info allocation failure",
"summary": "In the Linux kernel, the following vulnerability has been resolved: media: chips-media: wave5: Fix memory leak on codec_info allocation failure In wave5_vpu_open_enc() and wave5_vpu_open_dec(), a vpu instance is allocated via kzalloc(). If the subsequent allocation for inst->codec_info fails, the functions return -ENOMEM without freeing the previously allocated instance, causing a memory leak. Fix this by calling kfree() on the instance in this error path to ensure it is properly released.",
"evidence": "osv:CVE-2026-45928",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.12.75",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.14",
"evidence": "/affected/1/ranges"
},
{
"value": "6.19.4",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-45928",
"aliases": [
"CVE-2026-45928"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "9707a6254a8a6b978bde811a44fe07d86c229d1c"
},
{
"fixed": "52defdd4034db1a34bb48006f889d66a3629224b"
},
{
"fixed": "1de71556cbd6e1d0d26fb86b9b3bb8caa0df8495"
},
{
"fixed": "32e9e45cf7e3422d21fa64535588d3572faf71c3"
},
{
"fixed": "a519e21e32398459ba357e67b541402f7295ee1b"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45928.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.8.0"
},
{
"fixed": "6.12.75"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.14"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "6.19.4"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45928.json"
}
}
],
"modified": "2026-10-28T02:30:27.433281593Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/1de71556cbd6e1d0d26fb86b9b3bb8caa0df8495",
"https://git.kernel.org/stable/c/32e9e45cf7e3422d21fa64535588d3572faf71c3",
"https://git.kernel.org/stable/c/52defdd4034db1a34bb48006f889d66a3629224b",
"https://git.kernel.org/stable/c/a519e21e32398459ba357e67b541402f7295ee1b",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45928.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-45928",
"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/2026/45xxx/CVE-2026-45928.json"
}
},
"related_cves": [
{
"value": "CVE-2026-45928",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 493639,
"published_at": "2026-05-27T12:17:47.075+00:00"
}