CVE-2025-23157

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

State
Published
Severity
7.8 High
Published
May 1, 2025
Updated
Aug 5, 2026
Reserved
Jan 11, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1a73374a04e555103e5369429a30999114001dda to before e5133a0b25463674903fdc0528e0a29b7267130eAffected
  • 1a73374a04e555103e5369429a30999114001dda to before 2b8b9ea4e26a501eb220ea189e42b4527e65bdfaAffected
  • 1a73374a04e555103e5369429a30999114001dda to before 1ad6aa1464b8a5ce5c194458315021e8d216108eAffected
  • 1a73374a04e555103e5369429a30999114001dda to before 26bbedd06d85770581fda5d78e78539bb088fad1Affected
  • 1a73374a04e555103e5369429a30999114001dda to before d4d88ece4ba91df5b02f1d3f599650f9e9fc0f45Affected
  • 1a73374a04e555103e5369429a30999114001dda to before 53e376178ceacca3ef1795038b22fc9ef45ff1d3Affected
  • 1a73374a04e555103e5369429a30999114001dda to before b2541e29d82da8a0df728aadec3e0a8db55d517bAffected
  • 1a73374a04e555103e5369429a30999114001dda to before cb5be9039f91979f8a2fac29f529f746d7848f3eAffected
  • 1a73374a04e555103e5369429a30999114001dda to before 172bf5a9ef70a399bb227809db78442dc01d9e48Affected
LinuxLinux
  • 4.19Affected
  • before 4.19Not affected
  • 5.4.293 through 5.4.*Not affected
  • 5.10.237 through 5.10.*Not affected
  • 5.15.181 through 5.15.*Not affected
  • 6.1.135 through 6.1.*Not affected
  • 6.6.88 through 6.6.*Not affected
  • 6.12.24 through 6.12.*Not affected
  • 6.13.12 through 6.13.*Not affected
  • 6.14.3 through 6.14.*Not affected
  • 6.15 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.