Informazioni sul CVE-2024-41008
drm/amdgpu: change vm->task_info handling
CWE ID: N/A
Base Score (CVSS): N/A
CVE: CVE-2024-41008
Descrizione: In the Linux kernel, the following vulnerability has been fixed: drm/amdgpu: change vm->task_info handling This patch modifies the handling and lifecycle of vm->task_info object. The major changes are: – vm->task_info is now a dynamically allocated pointer and its reference count is managed. – Introducing two new helper functions for task_info lifecycle management: – amdgpu_vm_get_task_info: returns the task_info information before returning it. – amdgpu_vm_put_task_info: returns the task_info information after returning it. – Finally, task_info() frees the task_info object from the vm. This patch also addresses logistical changes required for existing usage of vm->task_info. V2: Do not block all prints when task_info is not found (Felix) V3: Fixed review comments from Felix – Correct indentation – No debug message for -ENOMEM – Add NULL check for task_info – Do not duplicate debug messages (ti vs no ti) – Get the first reference of task_info in vm_init(), put the last in vm_fini() V4: Fixed review comments from Felix – Fix double reference increment in create_task_info – Change amdgpu_vm_get_task_info_pasid – Additional changes in amdgpu_gem.c while porting
Vettore di attacco
Punteggio CVSS
Il CVSS è un sistema di valutazione che misura la gravità di una vulnerabilità informatica considerando fattori come l’impatto potenziale, la probabilità di attacco e la facilità di esecuzione.
Riassunto: .
Dettaglio del Vettore
Metrica | Valore | Significato | Descrizione |
---|
Riferimenti esterni
Prodotti interessati
- Linux – Linux
- Linux – Linux