Executive brief
A vulnerability was identified in the Linux kernel's Bluetooth subsystem that could lead to a system crash. The issue occurs when the system handles certain Bluetooth connection requests, potentially allowing a local user to trigger a denial-of-service state. This affects the reliability and availability of systems using Bluetooth L2CAP connections.
Technical details
A NULL pointer dereference vulnerability exists in the Linux kernel Bluetooth L2CAP implementation. The issue resides in the l2cap_sock_alloc() function, which can be passed a NULL socket pointer when called from l2cap_sock_new_connection_cb(). If l2cap_chan_create() fails during this process, the error handling path attempts to dereference the NULL socket pointer to clear its internal state. A local attacker could potentially exploit this to cause a kernel panic (Denial of Service). The fix introduces a NULL check before the pointer dereference in the error path. Patches have been released for multiple stable kernel branches including 5.4, 5.10, 5.15, 6.1, 6.6, 6.12, and 6.13.
Affected products
- Linux Linux Kernel 5.4.287 to 5.4.291; 5.10.231 to 5.10.235; 5.15.174 to 5.15.179; 6.1.120 to 6.1.129; 6.6.66 to 6.6.78; 6.12.5 to 6.12.14; 6.13 to 6.13.3
Timeline
- 2024-12-18: other: Patch authored
- 2025-01-15: patched: Mainline patch committed
- 2025-02-27: disclosed: CVE published
References
- https://git.kernel.org/stable/c/245d48c1ba3e7a1779c2f4cbc6f581ddc8a78e22
- https://git.kernel.org/stable/c/297ce7f544aa675b0d136d788cad0710cdfb0785
- https://git.kernel.org/stable/c/49c0d55d59662430f1829ae85b969619573d0fa1
- https://git.kernel.org/stable/c/5f397409f8ee5bc82901eeaf799e1cbc4f8edcf1
- https://git.kernel.org/stable/c/691218a50c3139f7f57ffa79fb89d932eda9571e
- https://git.kernel.org/stable/c/8e605f580a97530e5a3583beea458a3fa4cbefbd
- https://git.kernel.org/stable/c/a9a7672fc1a0fe18502493936ccb06413ab89ea6