CVE-2025-23158

Updated: 2025-11-10 02:52:52.291451

Description:

In the Linux kernel, the following vulnerability has been resolved: media: venus: hfi: add check to handle incorrect queue size qsize represents size of shared queued between driver and video firmware. Firmware can modify this value to an invalid large value. In such situation, empty_space will be bigger than the space actually available. Since new_wr_idx is not checked, so the following code will result in an OOB write. ... qsize = qhdr->q_size if (wr_idx >= rd_idx) empty_space = qsize - (wr_idx - rd_idx) .... if (new_wr_idx < qsize) { memcpy(wr_ptr, packet, dwords << 2) --> OOB write Add check to ensure qsize is within the allocated size while reading and writing packets into the queue.


Links NIST CIRCL RHEL Ubuntu

Severity

Severity Score
CVSS Version 2.x 0.0
CVSS Version 3.x HIGH 7.8

Status

OS name Project name Version Score Severity Status Errata Last updated

Statement

AlmaLinux 9.2 ESU kernel 5.14.0 7.8 HIGH Not Vulnerable 2025-11-11 13:43:26 VIDEO_QCOM_VENUS depends on QCOM_SMEM that is not set
CentOS 8.4 ELS kernel 4.18.0 7.8 HIGH Not Vulnerable 2025-12-08 17:55:20
CentOS 8.5 ELS kernel 4.18.0 7.8 HIGH Not Vulnerable 2025-12-08 17:55:20
CentOS Stream 8 ELS kernel 4.18.0 7.8 HIGH Not Vulnerable 2025-12-03 10:00:12
Oracle Linux 7 ELS kernel-uek 5.4.17 7.8 HIGH Released CLSA-2025:1757963029 2025-09-16 11:20:59
TuxCare 9.6 ESU kernel 5.14.0 7.8 HIGH Not Vulnerable 2025-12-08 17:55:19
Ubuntu 16.04 ELS linux-hwe 4.15.0 7.8 HIGH In Testing 2025-11-11 13:44:21
Ubuntu 18.04 ELS linux 4.15.0 7.8 HIGH In Testing 2025-11-11 13:44:07
Ubuntu 20.04 ELS linux 5.4.0 7.8 HIGH In Testing 2025-11-11 13:44:06