Bug 2363287 (CVE-2025-23157) - CVE-2025-23157 kernel: media: venus: hfi_parser: add check to avoid out of bound access
Summary: CVE-2025-23157 kernel: media: venus: hfi_parser: add check to avoid out of bo...
Keywords:
Status: NEW
Alias: CVE-2025-23157
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-01 14:02 UTC by OSIDB Bzimport
Modified: 2025-05-02 05:23 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-01 14:02:21 UTC
In the Linux kernel, the following vulnerability has been resolved:

media: venus: hfi_parser: add check to avoid out of bound access

There is a possibility that init_codecs is invoked multiple times during
manipulated payload from video firmware. In such case, if codecs_count
can get incremented to value more than MAX_CODEC_NUM, there can be OOB
access. Reset the count so that it always starts from beginning.

Comment 1 Avinash Hanwate 2025-05-02 05:12:24 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025050130-CVE-2025-23157-963e@gregkh/T


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