Bug 2481976 (CVE-2026-45928) - CVE-2026-45928 kernel: media: chips-media: wave5: Fix memory leak on codec_info allocation failure
Summary: CVE-2026-45928 kernel: media: chips-media: wave5: Fix memory leak on codec_in...
Keywords:
Status: NEW
Alias: CVE-2026-45928
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-27 15:05 UTC by OSIDB Bzimport
Modified: 2026-05-28 00:56 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-05-27 15:05:12 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.


Note You need to log in before you can comment on or make changes to this bug.