CVE-2024-49981

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-49981
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-49981.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-49981
Downstream
Related
Published
2024-10-21T18:15:18Z
Modified
2025-08-09T19:01:27Z
Severity
  • 7.0 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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 venusprobe, core->work is bound with venussyserrorhandler, which is used to handle error. The code use core->syserrdone to make sync work. The core->work is started in venuseventnotify.

If we call venus_remove, there might be an unfished work. The possible sequence is as follows:

CPU0 CPU1

                 |venus_sys_error_handler

venusremove | hfidestroy | venushfidestroy | kfree(hdev); | |hfireinit |venushfiqueuesreinit |//use hdev

Fix it by canceling the work in venus_remove.

References

Affected packages