Informazioni sul CVE-2024-36013

Bluetooth: L2CAP: Fix slab-use-after-free in l2cap_connect()

CWE ID: N/A

Base Score (CVSS): N/A

CVE: CVE-2024-36013

Descrizione: Bluetooth: The Linux kernel has been resolved to fix a vulnerability. Specifically, the following issues were addressed: * **L2CAP:** A slab-use-after-free vulnerability was fixed in `l2cap_connect()`. * **Return Type:** The `l2cap_connect()` function is now void, which simplifies backporting for earlier kernels. * **Pointer Usage:** The return value of `l2cap_connect()` is now unused, so returning it could lead to problems. Returning it as void avoids this. * **Stack Trace:** The stack trace shows a potential use-after-free vulnerability within the `l2cap_connect()` function. The bug was identified in the following locations: * **`l2cap_bredr_sig_cmd`** * **`l2cap_connect`** * **`┌ mutex_lock(&conn->chan_lock);`** * **`│ chan = pchan->ops->new_connection(pchan); <- alloc chan`** * **`__l2cap_chan_add(conn, chan);`** * **`l2cap_chan_hold(chan);`** * **`list_add(&chan->list, &conn->chan_l);`** * **`mutex_unlock(&conn->chan_lock);`** * **`chan->conf_state`** * **`[free]`** * **`l2cap_conn_del`** * **`foreach chan in conn->chan_l:`** * **`l2cap_chan_put(chan);`** * **`l2cap_chan_destroy`** * **`kfree(chan)`** The code also contains a bug related to the `slab-use-after-free` vulnerability in `instrumented_read`.

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