CVE-2024-26723 In the Linux kernel, the following vulnerability has been resolved: lan966x: Fix crash when adding interface under a lag…
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 products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux 6.8 | earliest → < 6.8 | 6.8 |
| Linux 6.7 | earliest → < 6.7.6 | 6.7.6 |
| Linux 6.6 | earliest → < 6.6.18 | 6.6.18 |
| Linux | 6.1 | 6.1.79 |
| linux_kernel 48 | earliest → < 48fae67d8374 | 48fae67d8374 |
| linux_kernel 15 | earliest → < 15faa1f67ab4 | 15faa1f67ab4 |
| linux_kernel 6.76 | earliest → < 6.76 | 6.76 |
| linux_kernel 6.6 | earliest → < 6.6.18 | 6.6.18 |
| linux_kernel | 6.1 | 6.1.79 |
Show the other branch Hide the other branch
| Product | Affected versions | Fixed in |
|---|---|---|
| linux_kernel 2 | earliest → < 2a492f01228b | 2a492f01228b |
References
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
Timeline
- Published
- Last modified