CVE-2024-49981: media: venus: fix use after free bug in venus_remove due to race condition
Vulnerability summary
CVE-2024-49981 is a high (CVSS 7.8) vulnerability in linux. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 9.1% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 48 · Related 46Timeline
- 21-10-2024PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- NVDNIST7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.19%
Chance of exploitation in the next 30 days
Percentile
9%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.19% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-362Concurrent Execution using Shared Resource with Improper SynchronizationThe 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-416Use After FreeThe 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.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu134 products
- linuxAll versions (No fix recorded) | < 5.4.0-208.228 | < 5.15.0-127.137 | < 6.8.0-54.56
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.4.0-1140.150 | < 5.15.0-1073.79 | < 6.8.0-1023.25
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ af2c3834c8ca7cc65d15592ac671933df8848115, < 5098b9e6377577fe13d03e1d8914930f014a3314 | ≥ af2c3834c8ca7cc65d15592ac671933df8848115, < 63bbe26471ebdcc3c20bb4cc3950d666279ad658 | ≥ af2c3834c8ca7cc65d15592ac671933df8848115, < 60b6968341a6dd5353554f3e72db554693a128a5 | ≥ af2c3834c8ca7cc65d15592ac671933df8848115, < bf6be32e2d39f6301ff1831e249d32a8744ab28a | ≥ af2c3834c8ca7cc65d15592ac671933df8848115, < 2a541fcc0bd2b05a458e9613376df1289ec11621 | ≥ af2c3834c8ca7cc65d15592ac671933df8848115, < b0686aedc5f1343442d044bd64eeac7e7a391f4e | ≥ af2c3834c8ca7cc65d15592ac671933df8848115, < d925e9f7fb5a2dbefd1a73fc01061f38c7becd4c | ≥ af2c3834c8ca7cc65d15592ac671933df8848115, < 10941d4f99a5a34999121b314afcd9c0a1c14f15 | ≥ af2c3834c8ca7cc65d15592ac671933df8848115, < c5a85ed88e043474161bbfe54002c89c1cb50ee2 | 4.13
- linux_kernel≥ 4.13, < 5.10.227 | ≥ 5.11, < 5.15.168 | ≥ 5.16, < 6.1.113 | ≥ 6.2, < 6.6.55 | ≥ 6.7, < 6.10.14 | ≥ 6.11, < 6.11.3
Debian1 product
- linux< 6.1.115-1 | < 6.11.4-1
3 vendors · 137 products