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 if you run it
No confirmed exploitation is on record for CVE-2025-23158. EPSS is 0.22%. Act only if a listed version of Linux Linux is installed.
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
- 0.22%
- 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?
No confirmed exploitation is on record for CVE-2025-23158. EPSS is 0.22%. Act only if a listed version of Linux Linux is installed.
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 0.22%. 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 - FIRST EPSSExploitation probabilityCVE-2025-23158
30-day exploitation probability 0.22%
first.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 21, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.