7
CVE-2024-49981
- EPSS 0.19%
- Veröffentlicht 21.10.2024 18:15:18
- Zuletzt bearbeitet 03.11.2025 23:16:36
- CVE-Watchlists
- Unerledigt
media: venus: fix use after free bug in venus_remove due to race condition
In the Linux kernel, the following vulnerability has been resolved:
media: venus: fix use after free bug in venus_remove due to race condition
in venus_probe, core->work is bound with venus_sys_error_handler, which is
used to handle error. The code use core->sys_err_done to make sync work.
The core->work is started in venus_event_notify.
If we call venus_remove, there might be an unfished work. The possible
sequence is as follows:
CPU0 CPU1
|venus_sys_error_handler
venus_remove |
hfi_destroy |
venus_hfi_destroy |
kfree(hdev); |
|hfi_reinit
|venus_hfi_queues_reinit
|//use hdev
Fix it by canceling the work in venus_remove.Daten sind bereitgestellt durch National Vulnerability Database (NVD)
Linux ≫ Linux Kernel Version >= 4.13 < 5.10.227
Linux ≫ Linux Kernel Version >= 5.11 < 5.15.168
Linux ≫ Linux Kernel Version >= 5.16 < 6.1.113
Linux ≫ Linux Kernel Version >= 6.2 < 6.6.55
Linux ≫ Linux Kernel Version >= 6.7 < 6.10.14
Linux ≫ Linux Kernel Version >= 6.11 < 6.11.3
VulnDex Vulnerability Enrichment
| Typ | Quelle | Score | Percentile |
|---|---|---|---|
| EPSS | FIRST.org | 0.19% | 0.086 |
| Quelle | Base Score | Exploit Score | Impact Score | Vector String |
|---|---|---|---|---|
| nvd@nist.gov | 7 | 1 | 5.9 |
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
|
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.
CWE-416 Use After Free
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
https://git.kernel.org/stable/c/10941d4f99a5a34999121b314afcd9c0a1c14f15
https://git.kernel.org/stable/c/2a541fcc0bd2b05a458e9613376df1289ec11621
https://git.kernel.org/stable/c/5098b9e6377577fe13d03e1d8914930f014a3314
https://git.kernel.org/stable/c/60b6968341a6dd5353554f3e72db554693a128a5
https://git.kernel.org/stable/c/63bbe26471ebdcc3c20bb4cc3950d666279ad658
https://git.kernel.org/stable/c/b0686aedc5f1343442d044bd64eeac7e7a391f4e
https://git.kernel.org/stable/c/bf6be32e2d39f6301ff1831e249d32a8744ab28a
https://git.kernel.org/stable/c/c5a85ed88e043474161bbfe54002c89c1cb50ee2
https://git.kernel.org/stable/c/d925e9f7fb5a2dbefd1a73fc01061f38c7becd4c
https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html