CVE Catalog

CVE-2025-23158

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.19%

9th percentile - higher than 9% of all known CVEs

Summary

In the venus driver in the Linux kernel, a missing size check for the shared queue between the driver and video firmware allows malicious firmware to set an invalid large size, leading to an out-of-bounds write.

Risk Assessment

An attacker could exploit this vulnerability to write beyond the allowed memory area, potentially causing a system crash or privilege escalation.

Recommendation

It is recommended to update the Linux kernel to a version containing the fix.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS