]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: L2CAP: Fix attempting to access uninitialized memory
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 31 Oct 2022 23:10:52 +0000 (16:10 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Nov 2022 16:57:54 +0000 (17:57 +0100)
commitd48d10027faf80946f18a4fbb762817c4e900d9d
tree41badeee7b307b74a2eda3edb5ca246f7a8cf0e6
parentaacc57c3739841a9d85f2fb87cfa95b78c0f0cfe
Bluetooth: L2CAP: Fix attempting to access uninitialized memory

commit 27dceb42c6364993161d183141d48d9071eb73c2 upstream.

On l2cap_parse_conf_req the variable efs is only initialized if
remote_efs has been set.

CVE: CVE-2022-42895
CC: stable@vger.kernel.org
Reported-by: Tamás Koczka <poprdi@google.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Reviewed-by: Tedd Ho-Jeong An <tedd.an@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/bluetooth/l2cap_core.c