CVE-2024-42313

media: venus: fix use after free in vdec_close

HIGH
7.8
CVSS Score
Published: August 17, 2024 at 09:09 AM UTC
Updated: August 5, 2026 at 12:04 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: media: venus: fix use after free in vdec_close There appears to be a possible use after free with vdec_close(). The firmware will add buffer release work to the work queue through HFI callbacks as a normal part of decoding. Randomly closing the decoder device from userspace during normal decoding can incur a read after free for inst. Fix it by cancelling the work in vdec_close.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.13 ≤ v < 4.19.3204.13 ≤ v < 5.10.2244.13 ≤ v < 5.15.1654.13 ≤ v < 5.4.2824.13 ≤ v < 6.1.1034.13 ≤ v < 6.10.34.13 ≤ v < 6.114.13 ≤ v < 6.6.444.20 ≤ v < 5.4.2825.11 ≤ v < 5.15.1655.16 ≤ v < 6.1.1035.5 ≤ v < 5.10.2246.2 ≤ v < 6.6.446.7 ≤ v < 6.10.34.13af2c3834c8ca7cc65d15592ac671933df8848115
Vendor states this is fixed in 4c9d235630d35db762b85a4149bbb0be9d504c36 (fixed)
Vendor states this is fixed in 66fa52edd32cdbb675f0803b3c4da10ea19b6635 (fixed)
Vendor states this is fixed in 6a96041659e834dc0b172dda4b2df512d63920c2 (fixed)
Vendor states this is fixed in 72aff311194c8ceda934f24fd6f250b8827d7567 (fixed)
Vendor states this is fixed in a0157b5aa34eb43ec4c5510f9c260bbb03be937e (fixed)
Vendor states this is fixed in ad8cf035baf29467158e0550c7a42b7bb43d1db6 (fixed)
Vendor states this is fixed in da55685247f409bf7f976cc66ba2104df75d8dad (fixed)
Vendor states this is fixed in f8e9a63b982a8345470c225679af4ba86e4a7282 (fixed)
Vendor states this is fixed in 4.13 (unaffected)
Vendor states this is fixed in 4.19.320 (unaffected)
Vendor states this is fixed in 5.10.224 (unaffected)
Vendor states this is fixed in 5.15.165 (unaffected)
Vendor states this is fixed in 5.4.282 (unaffected)
Vendor states this is fixed in 6.1.103 (unaffected)
Vendor states this is fixed in 6.10.3 (unaffected)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.6.44 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4c9d235630d35db762b85a4149bbb0be9d504c36
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/66fa52edd32cdbb675f0803b3c4da10ea19b6635
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6a96041659e834dc0b172dda4b2df512d63920c2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/72aff311194c8ceda934f24fd6f250b8827d7567
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a0157b5aa34eb43ec4c5510f9c260bbb03be937e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ad8cf035baf29467158e0550c7a42b7bb43d1db6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/da55685247f409bf7f976cc66ba2104df75d8dad
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f8e9a63b982a8345470c225679af4ba86e4a7282

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card