In the Linux kernel, the following vulnerability has been resolved: Bluetooth: RFCOMM: validate skb length in MCC handlers The RFCOMM MCC handlers cast skb->data to protocol-specific structs without validating skb->len first. A malicious remote device can send truncated MCC frames and trigger out-of-bounds reads in these handlers. Fix this by using skb_pull_data() to validate and access the required data before dereferencing it. rfcomm_recv_rpn() requires special handling since ETSI TS 07.10 allows 1-byte RPN requests. Handle this by validating only the DLCI byte first, and validating the full struct only when len > 1.
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
| Attack Vector | ADJACENT_NETWORK |
|---|---|
| Attack Complexity | LOW |
| Privileges Required | NONE |
| User Interaction | NONE |
| Scope | UNCHANGED |
| Confidentiality Impact | HIGH |
| Integrity Impact | NONE |
| Availability Impact | HIGH |
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Type: Secondary
Exploitability Score: 2.8
Impact Score: 5.2
| Source | Type | Description |
|---|---|---|
| [email protected] | Primary |
en
CWE-125
|
| Vendor | Product | Version | Update | Type |
|---|---|---|---|---|
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd3845fd700> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd319c76480> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd3401d68c0> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd3401d6a40> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd3845fd580> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd370399380> | Operating System |
| linux | linux_kernel | 2.6.12 | <built-in method update of dict object at 0x7fd38419d800> | Operating System |
| linux | linux_kernel | 2.6.12 | <built-in method update of dict object at 0x7fd38419e6c0> | Operating System |
| linux | linux_kernel | 2.6.12 | <built-in method update of dict object at 0x7fd2d3b925c0> | Operating System |
| linux | linux_kernel | 2.6.12 | <built-in method update of dict object at 0x7fd3845ff180> | Operating System |
| linux | linux_kernel | 2.6.12 | <built-in method update of dict object at 0x7fd34122ee40> | Operating System |
| linux | linux_kernel | 7.1 | <built-in method update of dict object at 0x7fd38541c7c0> | Operating System |
| linux | linux_kernel | 7.1 | <built-in method update of dict object at 0x7fd36aad1400> | Operating System |
| linux | linux_kernel | 7.1 | <built-in method update of dict object at 0x7fd34122e000> | Operating System |
| linux | linux_kernel | 7.1 | <built-in method update of dict object at 0x7fd34122dc40> | Operating System |
| linux | linux_kernel | 7.1 | <built-in method update of dict object at 0x7fd36aad2d40> | Operating System |
| linux | linux_kernel | 7.1 | <built-in method update of dict object at 0x7fd3401d6ec0> | Operating System |
| Vulnerable | CPE |
|---|---|
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:2.6.12:-:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:2.6.12:rc2:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:2.6.12:rc3:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:2.6.12:rc4:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:2.6.12:rc5:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.1:rc6:*:*:*:*:*:* |