In the Linux kernel, the following vulnerability has been resolved: nvmet-tcp: add bounds checks in nvmet_tcp_build_pdu_iovec nvmet_tcp_build_pdu_iovec() could walk past cmd->req.sg when a PDU length or offset exceeds sg_cnt and then use bogus sg->length/offset values, leading to _copy_to_iter() GPF/KASAN. Guard sg_idx, remaining entries, and sg->length/offset before building the bvec.
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: nvmet-tcp: añadir comprobaciones de límites en nvmet_tcp_build_pdu_iovec nvmet_tcp_build_pdu_iovec() podría exceder cmd->req.sg cuando una longitud o desplazamiento de PDU excede sg_cnt y luego usar valores sg->length/offset erróneos, lo que lleva a _copy_to_iter() GPF/KASAN. Proteger sg_idx, las entradas restantes y sg->length/offset antes de construir el bvec.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
| Attack Vector | NETWORK |
|---|---|
| Attack Complexity | LOW |
| Privileges Required | NONE |
| User Interaction | NONE |
| Scope | UNCHANGED |
| Confidentiality Impact | HIGH |
| Integrity Impact | HIGH |
| Availability Impact | HIGH |
| Source | Type | Description |
|---|---|---|
| [email protected] | Primary |
en
CWE-787
|
| Vendor | Product | Version | Update | Type |
|---|---|---|---|---|
| linux | linux_kernel | * | <built-in method update of dict object at 0x7f76027f7a80> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7f76027f76c0> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7f76027f6940> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7f76027c4300> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7f76027f73c0> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7f76027f6540> | Operating System |
| linux | linux_kernel | 6.19 | <built-in method update of dict object at 0x7f76027f72c0> | Operating System |
| linux | linux_kernel | 6.19 | <built-in method update of dict object at 0x7f76027f7fc0> | Operating System |
| linux | linux_kernel | 6.19 | <built-in method update of dict object at 0x7f76027f7280> | Operating System |
| linux | linux_kernel | 6.19 | <built-in method update of dict object at 0x7f76027f5cc0> | Operating System |
| linux | linux_kernel | 6.19 | <built-in method update of dict object at 0x7f76027c7040> | Operating System |
| linux | linux_kernel | 6.19 | <built-in method update of dict object at 0x7f76027c76c0> | Operating System |
| linux | linux_kernel | 6.19 | <built-in method update of dict object at 0x7f76027c7b80> | Operating System |
| linux | linux_kernel | 6.19 | <built-in method update of dict object at 0x7f76027c4c00> | 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:6.19:rc1:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:6.19:rc2:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:6.19:rc3:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:6.19:rc4:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:6.19:rc5:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:6.19:rc6:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:6.19:rc7:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:6.19:rc8:*:*:*:*:*:* |