In the Linux kernel, the following vulnerability has been resolved: net: ftgmac100: fix ring allocation unwind on open failure ftgmac100_alloc_rings() allocates rx_skbs, tx_skbs, rxdes, txdes, and rx_scratch in stages. On intermediate failures it returned -ENOMEM directly, leaking resources allocated earlier in the function. Rework the failure path to use staged local unwind labels and free allocated resources in reverse order before returning -ENOMEM. This matches common netdev allocation cleanup style.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
| Attack Vector | LOCAL |
|---|---|
| Attack Complexity | LOW |
| Privileges Required | LOW |
| User Interaction | NONE |
| Scope | UNCHANGED |
| Confidentiality Impact | NONE |
| Integrity Impact | NONE |
| Availability Impact | HIGH |
| Source | Type | Description |
|---|---|---|
| [email protected] | Primary |
en
NVD-CWE-noinfo
|
| Vendor | Product | Version | Update | Type |
|---|---|---|---|---|
| linux | linux_kernel | * | <built-in method update of dict object at 0x702bde7afac0> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x702bdda03580> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x702bdda00a00> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x702bc462f600> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x702bde7acdc0> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x702bdda01180> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x702bdda00080> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x702c04626640> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x702bc462f540> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x702bde7af0c0> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x702bdda02c00> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x702bc462c3c0> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x702bde7ae300> | 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.0:rc1:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:* |