7.8high
media: venus: fix use after free in vdec_close
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.23% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from af2c3834c8ca7cc65d15592ac671933df8848115 before ad8cf035baf29467158e0550c7a42b7bb43d1db6, from af2c3834c8ca7cc65d15592ac671933df8848115 before 72aff311194c8ceda934f24fd6f250b8827d7567, from af2c3834c8ca7cc65d15592ac671933df8848115 before 4c9d235630d35db762b85a4149bbb0be9d504c36, from af2c3834c8ca7cc65d15592ac671933df8848115 before f8e9a63b982a8345470c225679af4ba86e4a7282, from af2c3834c8ca7cc65d15592ac671933df8848115 before da55685247f409bf7f976cc66ba2104df75d8dad, from af2c3834c8ca7cc65d15592ac671933df8848115 before 66fa52edd32cdbb675f0803b3c4da10ea19b6635, from af2c3834c8ca7cc65d15592ac671933df8848115 before 6a96041659e834dc0b172dda4b2df512d63920c2, from af2c3834c8ca7cc65d15592ac671933df8848115 before a0157b5aa34eb43ec4c5510f9c260bbb03be937e and 1 more Not affected: before 4.13, from 4.19.320 up to 4.19.*, from 5.4.282 up to 5.4.*, from 5.10.224 up to 5.10.*, from 5.15.165 up to 5.15.*, from 6.1.103 up to 6.1.* | CVE List |
| linux linux_kernel | from 4.13 before 4.19.320, from 4.20 before 5.4.282, from 5.5 before 5.10.224, from 5.11 before 5.15.165, from 5.16 before 6.1.103, from 6.2 before 6.6.44, from 6.7 before 6.10.3 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: medios: venus: arreglar el use after free en vdec_close Parece haber un posible use after free con vdec_close(). El firmware agregará trabajo de liberación de búfer a la cola de trabajos a través de devoluciones de llamada HFI como parte normal de la decodificación. Cerrar aleatoriamente el dispositivo decodificador desde el espacio de usuario durante la decodificación normal puede generar una lectura después de la liberación por instante. Solucionarlo cancelando el trabajo en vdec_close.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-42313 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-42313 changed 2026-08-04 | Public domain |