Vulnerability · 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 drive
Published May 1, 2025 · catalog updated Aug 5, 2026 · Linux Linux
Check this week
CVE-2025-23158 is not in CISA KEV. FIRST estimates a 22.00% chance of exploitation in the next 30 days. Check whether you run Linux Linux.
Gaps on this record
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
- Severity
- High7.8
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 22.00%
- Remediation
- Version ranges on file
- Affected products
- vendor Linux Linux d96d3f30c0f2f564f6922bf4ccdf4464992e31fb <32af5c1fdb9bc274f52ee0472d3b060b18e4aab4
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 OOB write Add check to ensure qsize is within the allocated size whi
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- vendor Linux Linux d96d3f30c0f2f564f6922bf4ccdf4464992e31fb <32af5c1fdb9bc274f52ee0472d3b060b18e4aab4d96d3f30c0f2f564f6922bf4ccdf4464992e31fb <32af5c1fdb9bc274f52ee0472d3b060b18e4aab4
How to fix CVE-2025-23158
Recommended remediation
Affected version ranges suggest a fixed boundary. Verify against the vendor advisory for your release.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
CVE-2025-23158 is not in CISA KEV. FIRST estimates a 22.00% chance of exploitation in the next 30 days. Check whether you run Linux Linux.
Which versions are affected?
Compare what you have installed with Linux Linux d96d3f30c0f2f564f6922bf4ccdf4464992e31fb <32af5c1fdb9bc274f52ee0472d3b060b18e4aab4 d96d3f30c0f2f564f6922bf4ccdf4464992e31fb <32af5c1fdb9bc274f52ee0472d3b060b18e4aab4. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
No weakness class is stored. EPSS 22.00%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
May 1, 2025 · EUVD
Detected
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
Aug 5, 2026 · EUVD
Updated
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
Sources
- CVE.orgVulnerability recordCVE-2025-23158
Official CVE identifier
cve.org - EUVDVulnerability recordEUVD-2025-13088
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, e
euvd.enisa.europa.eu
References
Freshness
Last verified in this catalog Oct 17, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.