CVE-2024-56605

Bluetooth: L2CAP: do not leave dangling sk pointer on error in l2cap_sock_create()

High · published December 27, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
14.4
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: L2CAP: do not leave dangling sk pointer on error in l2cap_sock_create()

bt_sock_alloc() allocates the sk object and attaches it to the provided

sock object. On error l2cap_sock_alloc() frees the sk object, but the

dangling pointer is still attached to the sock object, which may create

use-after-free in other code.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00241 · 14.4th percentile
Published
2024-12-27T14:51Z
EPSS history
Timeline
  • 27 DEC 14:51Z
    Bluetooth: L2CAP: do not leave dangling sk pointer on error in l2cap_sock_create()
    cvelistv5