CVE-2022-48947

Severity CVSS v4.0:
Pending analysis
Type:
CWE-190 Integer Overflow or Wraparound
Publication date:
21/10/2024
Last modified:
25/10/2024

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> Bluetooth: L2CAP: Fix u8 overflow<br /> <br /> By keep sending L2CAP_CONF_REQ packets, chan-&gt;num_conf_rsp increases<br /> multiple times and eventually it will wrap around the maximum number<br /> (i.e., 255).<br /> This patch prevents this by adding a boundary check with<br /> L2CAP_MAX_CONF_RSP<br /> <br /> Btmon log:<br /> Bluetooth monitor ver 5.64<br /> = Note: Linux version 6.1.0-rc2 (x86_64) 0.264594<br /> = Note: Bluetooth subsystem version 2.22 0.264636<br /> @ MGMT Open: btmon (privileged) version 1.22 {0x0001} 0.272191<br /> = New Index: 00:00:00:00:00:00 (Primary,Virtual,hci0) [hci0] 13.877604<br /> @ RAW Open: 9496 (privileged) version 2.22 {0x0002} 13.890741<br /> = Open Index: 00:00:00:00:00:00 [hci0] 13.900426<br /> (...)<br /> &gt; ACL Data RX: Handle 200 flags 0x00 dlen 1033 #32 [hci0] 14.273106<br /> invalid packet size (12 != 1033)<br /> 08 00 01 00 02 01 04 00 01 10 ff ff ............<br /> &gt; ACL Data RX: Handle 200 flags 0x00 dlen 1547 #33 [hci0] 14.273561<br /> invalid packet size (14 != 1547)<br /> 0a 00 01 00 04 01 06 00 40 00 00 00 00 00 ........@.....<br /> &gt; ACL Data RX: Handle 200 flags 0x00 dlen 2061 #34 [hci0] 14.274390<br /> invalid packet size (16 != 2061)<br /> 0c 00 01 00 04 01 08 00 40 00 00 00 00 00 00 04 ........@.......<br /> &gt; ACL Data RX: Handle 200 flags 0x00 dlen 2061 #35 [hci0] 14.274932<br /> invalid packet size (16 != 2061)<br /> 0c 00 01 00 04 01 08 00 40 00 00 00 07 00 03 00 ........@.......<br /> = bluetoothd: Bluetooth daemon 5.43 14.401828<br /> &gt; ACL Data RX: Handle 200 flags 0x00 dlen 1033 #36 [hci0] 14.275753<br /> invalid packet size (12 != 1033)<br /> 08 00 01 00 04 01 04 00 40 00 00 00 ........@...

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.9.337 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.10 (including) 4.14.303 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.15 (including) 4.19.270 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.20 (including) 5.4.229 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.5 (including) 5.10.161 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11 (including) 5.15.85 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 (including) 6.0.15 (excluding)
cpe:2.3:o:linux:linux_kernel:6.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc7:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc8:*:*:*:*:*:*