Vulnerability Monitor

The vendors, products, and vulnerabilities you care about

CVE-2025-23158


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.


Published

2025-05-01T13:15:51.733

Last Modified

2025-11-05T17:55:11.250

Status

Analyzed

Source

416baaa9-dc9f-4396-8d5f-8c081fb06d67

Severity

CVSSv3.1: 7.8 (HIGH)

Weaknesses
  • Type: Primary
    CWE-787

Affected Vendors & Products
Type Vendor Product Version/Range Vulnerable?
Operating System linux linux_kernel < 5.4.293 Yes
Operating System linux linux_kernel < 5.10.237 Yes
Operating System linux linux_kernel < 5.15.181 Yes
Operating System linux linux_kernel < 6.1.135 Yes
Operating System linux linux_kernel < 6.6.88 Yes
Operating System linux linux_kernel < 6.12.24 Yes
Operating System linux linux_kernel < 6.13.12 Yes
Operating System linux linux_kernel < 6.14.3 Yes
Operating System debian debian_linux 11.0 Yes

References