Luiz Augusto von Dentz 3e4697ffdf Bluetooth: L2CAP: Fix attempting to access uninitialized memory
commit b1a2cd50c0357f243b7435a732b4e62ba3157a2e 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>
2022-11-10 18:15:36 +01:00
..
2022-11-03 23:59:12 +09:00
2022-09-23 14:15:50 +02:00
2022-10-26 12:34:40 +02:00
2021-07-29 15:06:49 +01:00
2021-07-29 15:06:49 +01:00