{"id":"CVE-2026-45928","summary":"media: chips-media: wave5: Fix memory leak on codec_info allocation failure","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: chips-media: wave5: Fix memory leak on codec_info allocation failure\n\nIn wave5_vpu_open_enc() and wave5_vpu_open_dec(), a vpu instance is\nallocated via kzalloc(). If the subsequent allocation for inst-\u003ecodec_info\nfails, the functions return -ENOMEM without freeing the previously\nallocated instance, causing a memory leak.\n\nFix this by calling kfree() on the instance in this error path to ensure\nit is properly released.","modified":"2026-06-27T11:55:37.496545144Z","published":"2026-05-27T12:17:47.075Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45928.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1de71556cbd6e1d0d26fb86b9b3bb8caa0df8495"},{"type":"WEB","url":"https://git.kernel.org/stable/c/32e9e45cf7e3422d21fa64535588d3572faf71c3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/52defdd4034db1a34bb48006f889d66a3629224b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a519e21e32398459ba357e67b541402f7295ee1b"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45928.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45928"},{"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":"9707a6254a8a6b978bde811a44fe07d86c229d1c"},{"fixed":"52defdd4034db1a34bb48006f889d66a3629224b"},{"fixed":"1de71556cbd6e1d0d26fb86b9b3bb8caa0df8495"},{"fixed":"32e9e45cf7e3422d21fa64535588d3572faf71c3"},{"fixed":"a519e21e32398459ba357e67b541402f7295ee1b"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-45928.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-45928.json"}}],"schema_version":"1.7.5"}