In the Linux kernel, the following vulnerability has been resolved: net: mscc: ocelot: Fix crash when adding interface under a lag Commit 15faa1f67ab4 ("lan966x: Fix crash when adding interface under a lag") fixed a similar issue in the lan966x driver caused by a NULL pointer dereference. The ocelot_set_aggr_pgids() function in the ocelot driver has similar logic and is susceptible to the same crash. This issue specifically affects the ocelot_vsc7514.c frontend, which leaves unused ports as NULL pointers. The felix_vsc9959.c frontend is unaffected as it uses the DSA framework which registers all ports. Fix this by checking if the port pointer is valid before accessing it.
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: net: mscc: ocelot: Corregir caída al añadir interfaz bajo un lag Commit 15faa1f67ab4 ('lan966x: Corregir caída al añadir interfaz bajo un lag') solucionó un problema similar en el controlador lan966x causado por una desreferenciación de puntero NULL. La función ocelot_set_aggr_pgids() en el controlador ocelot tiene una lógica similar y es susceptible a la misma caída. Este problema afecta específicamente al frontend ocelot_vsc7514.c, que deja los puertos no utilizados como punteros NULL. El frontend felix_vsc9959.c no se ve afectado ya que utiliza el framework DSA que registra todos los puertos. Solucione esto comprobando si el puntero del puerto es válido antes de acceder a él.
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
CWE-476
|
| Vendor | Product | Version | Update | Type |
|---|---|---|---|---|
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d24245bb3c0> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d24246e6240> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d2364414280> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d23a7f77cc0> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7d24245bbb40> | Operating System |
| linux | linux_kernel | 6.19 | <built-in method update of dict object at 0x7d23a52f7d40> | Operating System |
| linux | linux_kernel | 6.19 | <built-in method update of dict object at 0x7d2364415d80> | Operating System |
| linux | linux_kernel | 6.19 | <built-in method update of dict object at 0x7d24246e4180> | Operating System |
| linux | linux_kernel | 6.19 | <built-in method update of dict object at 0x7d2364417540> | 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: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:*:*:*:*:*:* |