CVE-2024-42313
published high CVSS 3.1 · 7.8media: venus: fix use after free in vdec_close
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxaf2c3834c8ca7cc65d15592ac671933df8848115 to < ad8cf035baf29467158e0550c7a42b7bb43d1db6 · af2c3834c8ca7cc65d15592ac671933df8848115 to < 72aff311194c8ceda934f24fd6f250b8827d7567 · af2c3834c8ca7cc65d15592ac671933df8848115 to < 4c9d235630d35db762b85a4149bbb0be9d504c36 · af2c3834c8ca7cc65d15592ac671933df8848115 to < f8e9a63b982a8345470c225679af4ba86e4a7282 · af2c3834c8ca7cc65d15592ac671933df8848115 to < da55685247f409bf7f976cc66ba2104df75d8dad · af2c3834c8ca7cc65d15592ac671933df8848115 to < 66fa52edd32cdbb675f0803b3c4da10ea19b6635 · af2c3834c8ca7cc65d15592ac671933df8848115 to < 6a96041659e834dc0b172dda4b2df512d63920c2 · af2c3834c8ca7cc65d15592ac671933df8848115 to < a0157b5aa34eb43ec4c5510f9c260bbb03be937e · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.13 (affected) · 0 to < 4.13 (unaffected · semver) · 4.19.320 through 4.19.* (unaffected · semver) · 5.4.282 through 5.4.* (unaffected · semver) · 5.10.224 through 5.10.* (unaffected · semver) · 5.15.165 through 5.15.* (unaffected · semver) · 6.1.103 through 6.1.* (unaffected · semver) · 6.6.44 through 6.6.* (unaffected · semver) · 6.10.3 through 6.10.* (unaffected · semver) · 6.11 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bullseye | linux | Advisory build | 5.10.226-1 | DLA-3912-1 |
| Oracle Linux | 7 | kernel-uekaarch64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.119-1~deb11u1 | DLA-4008-1 |
| Oracle Linux | 7 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12780 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12780 |
| Oracle Linux | 7 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12782 |
| Oracle Linux | 7 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12782 |
| Oracle Linux | 7 | kernel-uek-debugaarch64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12780 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12780 |
| Oracle Linux | 7 | kernel-uek-debug-develaarch64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12780 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12780 |
| Oracle Linux | 7 | kernel-uek-develaarch64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12780 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12780 |
| Oracle Linux | 7 | kernel-uek-docaarch64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12780 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12780 |
| Oracle Linux | 7 | kernel-uek-headersaarch64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uek-toolsaarch64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uek-toolsaarch64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12780 |
| Oracle Linux | 7 | kernel-uek-toolsx86_64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uek-toolsx86_64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12780 |
| Oracle Linux | 7 | kernel-uek-tools-libsaarch64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | kernel-uek-tools-libsaarch64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12780 |
| Oracle Linux | 7 | kernel-uek-tools-libs-develaarch64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | perfaarch64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | perfaarch64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12780 |
| Oracle Linux | 7 | python-perfaarch64 | Advisory build | 0:4.14.35-2047.543.3.el7uek | ELSA-2024-12868 |
| Oracle Linux | 7 | python-perfaarch64 | Advisory build | 0:5.4.17-2136.336.5.1.el7uek | ELSA-2024-12780 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.336.5.1.el8uek | ELSA-2024-12780 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.336.5.1.el8uek | ELSA-2024-12780 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.336.5.1.el8uek | ELSA-2024-12782 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.336.5.1.el8uek | ELSA-2024-12782 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.336.5.1.el8uek | ELSA-2024-12780 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.336.5.1.el8uek | ELSA-2024-12780 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.336.5.1.el8uek | ELSA-2024-12780 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.336.5.1.el8uek | ELSA-2024-12780 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2136.336.5.1.el8uek | ELSA-2024-12780 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.336.5.1.el8uek | ELSA-2024-12780 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.4.17-2136.336.5.1.el8uek | ELSA-2024-12780 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.336.5.1.el8uek | ELSA-2024-12780 |
| Oracle Linux | 8 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 8 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-302.167.6.el8uek | ELSA-2024-12815 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-302.167.6.el9uek | ELSA-2024-12815 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerability is reached only through the local V4L2 device node /dev/videoN via open/ioctl/close on the Qualcomm venus decoder; there is no remote or network-facing path to this code. AC:L - The attacker drives both sides of the race — they queue the decode buffers that cause the worker to be scheduled and they choose when to close the fd — and can retry in a tight open/decode/close loop while spraying the freed venus_inst slab. PR:L - No capability check exists on vdec_open/vdec_close or any ioctl on the path; only access to the video device node is needed, which unprivileged users have on Android (mediacodec), embedded, and desktop systems via the video group/logind ACLs. UI:N - The attacker performs the entire sequence — opening the decoder, streaming buffers, and closing the fd — with no action required from any other user. S:U - The use-after-free corrupts kernel heap memory within the same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - The worker reads inst->lock, inst->delayed_process, inst->session and inst->core from freed memory, so a reclaimed and attacker-controlled slab object yields kernel memory disclosure primitives. I:H - mutex_lock() and list_del_init() write into the freed venus_inst, and session_process_buf() dereferences attacker-reclaimable pointers, giving a heap-spray-based write and control-flow hijack primitive. A:H - Operating on a kfree'd instance with an already mutex_destroy'd lock reliably produces list corruption, lock BUGs, and kernel panics, taking the system down.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | af2c3834c8ca7cc65d15592ac671933df8848115 to < ad8cf035baf29467158e0550c7a42b7bb43d1db6 (affected · git)af2c3834c8ca7cc65d15592ac671933df8848115 to < 72aff311194c8ceda934f24fd6f250b8827d7567 (affected · git)af2c3834c8ca7cc65d15592ac671933df8848115 to < 4c9d235630d35db762b85a4149bbb0be9d504c36 (affected · git)af2c3834c8ca7cc65d15592ac671933df8848115 to < f8e9a63b982a8345470c225679af4ba86e4a7282 (affected · git)af2c3834c8ca7cc65d15592ac671933df8848115 to < da55685247f409bf7f976cc66ba2104df75d8dad (affected · git)af2c3834c8ca7cc65d15592ac671933df8848115 to < 66fa52edd32cdbb675f0803b3c4da10ea19b6635 (affected · git)af2c3834c8ca7cc65d15592ac671933df8848115 to < 6a96041659e834dc0b172dda4b2df512d63920c2 (affected · git)af2c3834c8ca7cc65d15592ac671933df8848115 to < a0157b5aa34eb43ec4c5510f9c260bbb03be937e (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.13 (affected)0 to < 4.13 (unaffected · semver)4.19.320 through 4.19.* (unaffected · semver)5.4.282 through 5.4.* (unaffected · semver)5.10.224 through 5.10.* (unaffected · semver)5.15.165 through 5.15.* (unaffected · semver)6.1.103 through 6.1.* (unaffected · semver)6.6.44 through 6.6.* (unaffected · semver)6.10.3 through 6.10.* (unaffected · semver)6.11 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
10- https://git.kernel.org/stable/c/4c9d235630d35db762b85a4149bbb0be9d504c36
- https://git.kernel.org/stable/c/66fa52edd32cdbb675f0803b3c4da10ea19b6635
- https://git.kernel.org/stable/c/6a96041659e834dc0b172dda4b2df512d63920c2
- https://git.kernel.org/stable/c/72aff311194c8ceda934f24fd6f250b8827d7567
- https://git.kernel.org/stable/c/a0157b5aa34eb43ec4c5510f9c260bbb03be937e
- https://git.kernel.org/stable/c/ad8cf035baf29467158e0550c7a42b7bb43d1db6
- https://git.kernel.org/stable/c/da55685247f409bf7f976cc66ba2104df75d8dad
- https://git.kernel.org/stable/c/f8e9a63b982a8345470c225679af4ba86e4a7282
- https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Provider assertions
3Linux · cna
media: venus: fix use after free in vdec_close
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 927d6fc7b87e6e64b6e567ebe213df3668207051f2261c477d4869b74b8fa896
- Ingested
- 23 Sep 2026, 08:26:31 UTC
- Source record
- Official CVE record