[BUG 3 / 6] L2cap: Spec violations
From: Sungwoo Kim
Date: Thu Nov 17 2022 - 23:03:35 EST
3. BT_CONNECT2 -> BT_DISCONN by L2CAP_CONF_RSP
btmon log:
Bluetooth monitor ver 5.64
= Note: Linux version 6.1.0-rc2 (x86_64) 0.240003
= Note: Bluetooth subsystem version 2.22 0.240035
(...)
> ACL Data RX: Handle 200 flags 0x00 dlen 1033 #32 [hci0] 14.266186
invalid packet size (12 != 1033)
08 00 01 00 02 01 04 00 01 10 ff ff ............
@ MGMT Event: Device Connected (0x000b) plen 13 {0x0001} [hci0] 14.282303
BR/EDR Address: 10:AA:AA:AA:AA:AA (OUI 10-AA-AA)
Flags: 0x00000000
Data length: 0
@ MGMT Event: Device Connected (0x000b) plen 13 {0x0002} [hci0] 14.282303
BR/EDR Address: 10:AA:AA:AA:AA:AA (OUI 10-AA-AA)
Flags: 0x00000000
Data length: 0
= bluetoothd: Failed to obtain handles for "Service Changed" char.. 14.362392
> ACL Data RX: Handle 200 flags 0x00 dlen 2061 #33 [hci0] 14.283096
invalid packet size (16 != 2061)
0c 00 01 00 04 01 08 00 40 00 00 00 01 02 00 00 ........@.......
> ACL Data RX: Handle 200 flags 0x00 dlen 2061 #34 [hci0] 14.299480
invalid packet size (16 != 2061)
0c 00 01 00 04 01 08 00 40 00 00 00 02 00 ff ff ........@.......
> ACL Data RX: Handle 200 flags 0x00 dlen 2061 #35 [hci0] 14.300143
invalid packet size (16 != 2061)
0c 00 01 00 04 01 08 00 40 00 00 00 01 00 00 01 ........@.......
> ACL Data RX: Handle 200 flags 0x00 dlen 1547 #36 [hci0] 14.300750
invalid packet size (14 != 1547)
0a 00 01 00 05 01 06 00 40 00 ff ff 01 00 ........@.....