ASA-2019-00013 – Linux: Heap address information leak while using L2CAP_PARSE_CONF_RSP

Allele Security Alert



ASA-2019-00013, CVE-2019-3460


Heap address information leak while using L2CAP_PARSE_CONF_RSP


The Linux foundation


Linux kernel

Affected version(s)

Linux kernel since 2.6.12-rc2

Fixed version(s)


Proof of concept



A flaw was found in the Linux kernels implementation of Logical link control and adaptation protocol (L2CAP), part of the bluetooth stack in the l2cap_parse_conf_rsp, l2cap_parse_conf_req functions.

An attacker with physical access within the range of standard bluetooth transmission can create a specially crafted packet. The response to this specially crafted packet can contain part of the kernel stack which can be used in a further attack.

Technical details

In the functions l2cap_parse_conf_rsp() and l2cap_parse_conf_req() in l2cap_core.c, and other locations, there is a while loop which is used to parse configuration elements during an L2cap connection negotiation process. In this function, the processing of data is performed in the while loop before the check if all the data processed is inside the buffer. In addition, if data outside of the buffer is processed, the function will not return an error. Therefore, data that is out-of-bounds can be processed, and in some cases returned to the attacker.


Shlomi Oberman, Yuli Shapiro and Karamba Security Ltd. research team


Linux kernel: Bluetooth: two remote infoleaks (CVE-2019-3459, CVE-2019-3460)

[PATCH 1/2] Bluetooth: check message types in l2cap_get_conf_opt



If there is any error in this alert or you wish a comprehensive analysis, let us know.

Last modified: February 15, 2019

We are not responsible for any data loss, device corruption or any other type of issue due to the use of any information mentioned in our security alerts.