CVE-2026-45928

MEDIUM

media: chips-media: wave5: Fix memory leak on codec_info allocation failure

Title source: cna
STIX 2.1

Description

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.

Scores

CVSS v3 5.5
EPSS 0.0013
EPSS Percentile 2.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-401
Status published
Products (14)
linux/Kernel 6.13.0 - 6.18.14linux
linux/Kernel 6.19.0 - 6.19.4linux
linux/Kernel 6.8.0 - 6.12.75linux
Linux/Linux < 6.8
Linux/Linux 6.12.75 - 6.12.*
Linux/Linux 6.18.14 - 6.18.*
Linux/Linux 6.19.4 - 6.19.*
Linux/Linux 6.8
Linux/Linux 7.0
Linux/Linux 9707a6254a8a6b978bde811a44fe07d86c229d1c - 1de71556cbd6e1d0d26fb86b9b3bb8caa0df8495
... and 4 more
Published May 27, 2026
Tracked Since May 27, 2026