In the Linux kernel, the following vulnerability has been resolved: thunderbolt: Clamp XDomain response data copy to allocation size tb_xdp_properties_request() derives the per-packet copy length from the response header without checking that it fits in the previously allocated data buffer. A malicious peer can set its length field larger than the declared data_length, causing memcpy to write past the kcalloc allocation. Clamp the per-packet copy length so that the cumulative offset never exceeds data_len.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
| Attack Vector | LOCAL |
|---|---|
| Attack Complexity | LOW |
| Privileges Required | LOW |
| User Interaction | NONE |
| Scope | UNCHANGED |
| Confidentiality Impact | HIGH |
| Integrity Impact | HIGH |
| Availability Impact | HIGH |
| Source | Type | Description |
|---|---|---|
| [email protected] | Primary |
en
CWE-787
|
| 0b0ca135-0b70-47e7-9f44-1890c2a1c46c | Secondary |
en
CWE-787
|
| Vendor | Product | Version | Update | Type |
|---|---|---|---|---|
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd3697d5700> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd36945fb00> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd36945e7c0> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd36945e740> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd3697d5e80> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd3697d5bc0> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd36945f140> | Operating System |
| linux | linux_kernel | 7.1 | <built-in method update of dict object at 0x7fd319c74680> | Operating System |
| linux | linux_kernel | 7.1 | <built-in method update of dict object at 0x7fd36945e180> | Operating System |
| linux | linux_kernel | 7.1 | <built-in method update of dict object at 0x7fd3697d6200> | Operating System |
| linux | linux_kernel | 7.1 | <built-in method update of dict object at 0x7fd3697d4240> | Operating System |
| linux | linux_kernel | 7.1 | <built-in method update of dict object at 0x7fd36945d900> | Operating System |
| linux | linux_kernel | 7.1 | <built-in method update of dict object at 0x7fd384e2b1c0> | Operating System |
| linux | linux_kernel | 7.1 | <built-in method update of dict object at 0x7fd36945c680> | 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:*:*:*:*:*:*:*:* |
| 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:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.1:rc7:*:*:*:*:*:* |