Local kernel use-after-free via decoder-close race
Published Aug 17, 2024 · Updated Aug 5, 2026
Use-after-free in the Qualcomm Venus video decoder in Linux allows local users to trigger a kernel-memory read-after-free during decoding. Firmware HFI callbacks queue delayed buffer-release work, while vdec_close frees the decoder instance without first cancelling that work. A local user must decode through Qualcomm Venus hardware and race closure of the decoder device; the stale work then accesses the freed instance.
Summary
What happened
Use-after-free in the Qualcomm Venus video decoder in Linux allows local users to trigger a kernel-memory read-after-free during decoding. Firmware HFI callbacks queue delayed buffer-release work, while vdec_close frees the decoder instance without first cancelling that work. A local user must decode through Qualcomm Venus hardware and race closure of the decoder device; the stale work then accesses the freed instance.
The record
- CVE
- CVE-2024-42313
- Published
- Aug 17, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Aug 17, 2024CVE 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=af2c3834c8ca7cc65d15592ac671933df8848115 <4c9d235630d35db762b85a4149bbb0be9d504c36
- Affected versionversion=af2c3834c8ca7cc65d15592ac671933df8848115 <66fa52edd32cdbb675f0803b3c4da10ea19b6635
- Affected versionversion=af2c3834c8ca7cc65d15592ac671933df8848115 <6a96041659e834dc0b172dda4b2df512d63920c2
- Affected versionversion=af2c3834c8ca7cc65d15592ac671933df8848115 <72aff311194c8ceda934f24fd6f250b8827d7567
- Affected versionversion=af2c3834c8ca7cc65d15592ac671933df8848115 <a0157b5aa34eb43ec4c5510f9c260bbb03be937e
- Affected versionversion=af2c3834c8ca7cc65d15592ac671933df8848115 <ad8cf035baf29467158e0550c7a42b7bb43d1db6
- Affected versionversion=af2c3834c8ca7cc65d15592ac671933df8848115 <da55685247f409bf7f976cc66ba2104df75d8dad
- Affected versionversion=af2c3834c8ca7cc65d15592ac671933df8848115 <f8e9a63b982a8345470c225679af4ba86e4a7282
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