CVE-2025-23157

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

HIGH
7.1
CVSS Score
Published: May 1, 2025 at 12:55 PM UTC
Updated: August 5, 2026 at 12:44 PM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.2%

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.19 ≤ v < 5.10.2374.19 ≤ v < 5.15.1814.19 ≤ v < 5.4.2934.19 ≤ v < 6.1.1354.19 ≤ v < 6.12.244.19 ≤ v < 6.13.124.19 ≤ v < 6.14.34.19 ≤ v < 6.154.19 ≤ v < 6.6.885.11 ≤ v < 5.15.1815.16 ≤ v < 6.1.1355.5 ≤ v < 5.10.2376.13 ≤ v < 6.13.126.14 ≤ v < 6.14.36.2 ≤ v < 6.6.886.7 ≤ v < 6.12.241a73374a04e555103e5369429a30999114001dda4.19
Vendor states this is fixed in 172bf5a9ef70a399bb227809db78442dc01d9e48 (fixed)
Vendor states this is fixed in 1ad6aa1464b8a5ce5c194458315021e8d216108e (fixed)
Vendor states this is fixed in 26bbedd06d85770581fda5d78e78539bb088fad1 (fixed)
Vendor states this is fixed in 2b8b9ea4e26a501eb220ea189e42b4527e65bdfa (fixed)
Vendor states this is fixed in 53e376178ceacca3ef1795038b22fc9ef45ff1d3 (fixed)
Vendor states this is fixed in b2541e29d82da8a0df728aadec3e0a8db55d517b (fixed)
Vendor states this is fixed in cb5be9039f91979f8a2fac29f529f746d7848f3e (fixed)
Vendor states this is fixed in d4d88ece4ba91df5b02f1d3f599650f9e9fc0f45 (fixed)
Vendor states this is fixed in e5133a0b25463674903fdc0528e0a29b7267130e (fixed)
Vendor states this is fixed in 4.19 (unaffected)
Vendor states this is fixed in 5.10.237 (unaffected)
Vendor states this is fixed in 5.15.181 (unaffected)
Vendor states this is fixed in 5.4.293 (unaffected)
Vendor states this is fixed in 6.1.135 (unaffected)
Vendor states this is fixed in 6.12.24 (unaffected)
Vendor states this is fixed in 6.13.12 (unaffected)
Vendor states this is fixed in 6.14.3 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.6.88 (unaffected)

References (11)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/172bf5a9ef70a399bb227809db78442dc01d9e48
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1ad6aa1464b8a5ce5c194458315021e8d216108e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/26bbedd06d85770581fda5d78e78539bb088fad1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2b8b9ea4e26a501eb220ea189e42b4527e65bdfa
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/53e376178ceacca3ef1795038b22fc9ef45ff1d3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b2541e29d82da8a0df728aadec3e0a8db55d517b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cb5be9039f91979f8a2fac29f529f746d7848f3e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d4d88ece4ba91df5b02f1d3f599650f9e9fc0f45

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card