Kernel memory corruption via unchecked HFI queue size
Published May 1, 2025 · Updated Aug 5, 2026
Out-of-bounds write in the Qualcomm Venus HFI driver in affected Linux kernels since 4.13 allows local users to corrupt kernel memory. The queue read and write paths trust firmware-controlled q_size, calculate excess free space, and let memcpy pass the allocated shared queue. Access to a Venus V4L2 device node is required; crafted encode or decode traffic can disclose or corrupt kernel memory and crash or wedge video processing.
Summary
What happened
Out-of-bounds write in the Qualcomm Venus HFI driver in affected Linux kernels since 4.13 allows local users to corrupt kernel memory. The queue read and write paths trust firmware-controlled q_size, calculate excess free space, and let memcpy pass the allocated shared queue. Access to a Venus V4L2 device node is required; crafted encode or decode traffic can disclose or corrupt kernel memory and crash or wedge video processing.
The record
- CVE
- CVE-2025-23158
- Published
- May 1, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-787, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 1, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.13
- Affected versionversion=d96d3f30c0f2f564f6922bf4ccdf4464992e31fb <101a86619aab42bb61f2253bbf720121022eab86
- Affected versionversion=d96d3f30c0f2f564f6922bf4ccdf4464992e31fb <1b86c1917e16bafbbb08ab90baaff533aa36c62d
- Affected versionversion=d96d3f30c0f2f564f6922bf4ccdf4464992e31fb <32af5c1fdb9bc274f52ee0472d3b060b18e4aab4
- Affected versionversion=d96d3f30c0f2f564f6922bf4ccdf4464992e31fb <40084302f639b3fe954398c5ba5ee556b7242b54
- Affected versionversion=d96d3f30c0f2f564f6922bf4ccdf4464992e31fb <679424f8b31446f90080befd0300ea915485b096
- Affected versionversion=d96d3f30c0f2f564f6922bf4ccdf4464992e31fb <69baf245b23e20efda0079238b27fc63ecf13de1
- Affected versionversion=d96d3f30c0f2f564f6922bf4ccdf4464992e31fb <a45957bcde529169188929816775a575de77d84f
- Affected versionversion=d96d3f30c0f2f564f6922bf4ccdf4464992e31fb <cf5f7bb4e0d786f4d9d50ae6b5963935eab71d75
- Affected versionversion=d96d3f30c0f2f564f6922bf4ccdf4464992e31fb <edb89d69b1438681daaf5ca90aed3242df94cc96
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo