Informazioni sul CVE-2024-41096

PCI/MSI: Fix UAF in msi_capability_init

CWE ID: N/A

Base Score (CVSS): N/A

CVE: CVE-2024-41096

Descrizione: In the Linux kernel, a vulnerability has been resolved regarding PCI/MSI. The following issue was reported by KFENCE: KFENCE reported a use-after-free error in `use-after-free read` within `__pci_enable_msi_range`. The bug manifests in the following: * **Bug Report:** BUG: KFENCE: use-after-free read in `__pci_enable_msi_range+0x2c0/0x488` * **Details:** The bug occurs at `__pci_enable_msi_range+0x2c0/0x488`. * **Relevant Code:** `__pci_enable_msi_range+0x2c0/0x488` * **Related Memory:** `pci_alloc_irq_vectors_affinity+0xec/0x14c` * **Related Memory:** `pci_alloc_irq_vectors+0x18/0x28` The issue is observed at 0x0000000024629571 (in kfence-#12): 104 bytes, cache=kmalloc-128. The `kfence-#12` task allocated 104 bytes of memory, and it was used by task 81 on CPU 7 at 10.808142s. The `__pci_enable_msi_range` function was freed by task 81 on CPU 7 at 10.811436s. This failure propagates back to `msi_capability_init()` which accesses the descriptor for unmasking in the error exit path. The solution is to copy the descriptor and use the copy for the error exit path.

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.

Punteggio Base (calcolato da AziendaSicura): 0.0 (None)

Riassunto: .

Dettaglio del Vettore

Metrica Valore Significato Descrizione

Riferimenti esterni

Prodotti interessati

  • Linux – Linux
  • Linux – Linux

Relazioni con altri prodotti

Produttore:Linux
Prodotto: Linux
Anno: 2024
CWE:
CVSS: 0.0

Ulteriori risorse disponibili