Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A null pointer dereference vulnerability has been identified in the Bluetooth L2CAP implementation of the Linux kernel. This issue arises in the 'l2cap_sock_state_change_cb()' function, where a missing null check can lead to a dereference of a null pointer. The vulnerability has been addressed by adding a null guard, similar to those already present in the 'l2cap_sock_resume_cb()' and 'l2cap_sock_ready_cb()' functions.
Exploitation of this vulnerability can lead to a null pointer dereference, causing a crash or undefined behavior in the application.
The vulnerability can be reproduced by invoking the 'l2cap_sock_state_change_cb()' function with a 'l2cap_chan' structure that has a null 'data' field. This can be done by manipulating the state of a Bluetooth L2CAP channel to create a scenario where the 'data' field is not properly initialized before the callback is called.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for upgrading the kernel can be found in the official Linux kernel documentation.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.