7.8high
lan966x: Fix crash when adding interface under a lag
- Severity
- 7.8high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.24% (higher than 16% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: lan966x: Fix crash when adding interface under a lag There is a crash when adding one of the lan966x interfaces under a lag interface. The issue can be reproduced like this: ip link add name bond0 type bond miimon 100 mode balance-xor ip link set dev eth0 master bond0 The reason is because when adding a interface under the lag it would go through all the ports and try to figure out which other ports are under that lag interface. And the issue is that lan966x can have ports that are NULL pointer as they are not probed. So then iterating over these ports it would just crash as they are NULL pointers. The fix consists in actually checking for NULL pointers before accessing something from the ports. Like we do in other places.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from cabc9d49333df72fe0f6d58bdcf9057ba341e701 before b9357489c46c7a43999964628db8b47d3a1f8672, from cabc9d49333df72fe0f6d58bdcf9057ba341e701 before 48fae67d837488c87379f0c9f27df7391718477c, from cabc9d49333df72fe0f6d58bdcf9057ba341e701 before 2a492f01228b7d091dfe38974ef40dccf8f9f2f1, from cabc9d49333df72fe0f6d58bdcf9057ba341e701 before 15faa1f67ab405d47789d4702f587ec7df7ef03e, 6.1 Not affected: before 6.1, from 6.1.79 up to 6.1.*, from 6.6.18 up to 6.6.*, from 6.7.6 up to 6.7.*, from 6.8 up to * | CVE List |
| linux linux_kernel | from cabc9d49333d before b9357489c46c, from cabc9d49333d before 48fae67d8374, from cabc9d49333d before 2a492f01228b, from cabc9d49333d before 15faa1f67ab4, 6.1, from 6.1 before 6.1.79, from 6.2 before 6.6.18, from 6.7 before 6.7.6 and 1 more Not affected: before 6.1, from 6.1.79 up to 6.2, from 6.6.18 up to 6.7, from 6.76 up to 6.8, up to 6.8 | CVE List, NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: lan966x: Fix crash when adding interface under a lag There is a crash when adding one of the lan966x interfaces under a lag interface. The issue can be reproduced like this: ip link add name bond0 type bond miimon 100 mode balance-xor ip link set dev eth0 master bond0 The reason is because when adding a interface under the lag it would go through all the ports and try to figure out which other ports are under that lag interface. And the issue is that lan966x can have ports that are NULL pointer as they are not probed. So then iterating over these ports it would just crash as they are NULL pointers. The fix consists in actually checking for NULL pointers before accessing something from the ports. Like we do in other places.
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: lan966x: se solucionó el bloqueo al agregar una interfaz con un retraso. Se produce un bloqueo al agregar una de las interfaces lan966x con un retraso. El problema se puede reproducir así: enlace ip agregar nombre bond0 tipo bond miimon modo 100 balance-xor enlace ip establecer dev eth0 master bond0 La razón es que al agregar una interfaz bajo el retraso pasaría por todos los puertos e intentaría calcular determine qué otros puertos están bajo esa interfaz de retraso. Y el problema es que lan966x puede tener puertos que sean punteros NULL ya que no están sondeados. Entonces, al iterar sobre estos puertos, simplemente fallaría porque son punteros NULL. La solución consiste en comprobar si hay punteros NULL antes de acceder a algo desde los puertos. Como hacemos en otros lugares.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-26723 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-26723 changed 2026-06-17 | Public domain |