CVE-2024-41008
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
16/07/2024
Last modified:
07/10/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
drm/amdgpu: change vm->task_info handling<br />
<br />
This patch changes the handling and lifecycle of vm->task_info object.<br />
The major changes are:<br />
- vm->task_info is a dynamically allocated ptr now, and its uasge is<br />
reference counted.<br />
- introducing two new helper funcs for task_info lifecycle management<br />
- amdgpu_vm_get_task_info: reference counts up task_info before<br />
returning this info<br />
- amdgpu_vm_put_task_info: reference counts down task_info<br />
- last put to task_info() frees task_info from the vm.<br />
<br />
This patch also does logistical changes required for existing usage<br />
of vm->task_info.<br />
<br />
V2: Do not block all the prints when task_info not found (Felix)<br />
<br />
V3: Fixed review comments from Felix<br />
- Fix wrong indentation<br />
- No debug message for -ENOMEM<br />
- Add NULL check for task_info<br />
- Do not duplicate the debug messages (ti vs no ti)<br />
- Get first reference of task_info in vm_init(), put last<br />
in vm_fini()<br />
<br />
V4: Fixed review comments from Felix<br />
- fix double reference increment in create_task_info<br />
- change amdgpu_vm_get_task_info_pasid<br />
- additional changes in amdgpu_gem.c while porting
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.2 (including) | 6.9 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



