Hi Johan, > The l2cap_conn->smp pointer may be NULL for various valid reasons where SMP has > failed to initialize properly. One such scenario is when crypto support is > missing, another when the adapter has been powered on through a legacy method. > The smp_conn_security() function should have the appropriate check for this > situation to avoid NULL pointer dereferences. > > Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx> > Cc: stable@xxxxxxxxxxxxxxx # 4.0+ > --- > net/bluetooth/smp.c | 4 ++++ > 1 file changed, 4 insertions(+) patch has been applied to bluetooth-stable tree. Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html