CVE-2024-26723

lan966x: Fix crash when adding interface under a lag

State
Published
Severity
7.8 High
Published
Apr 3, 2024
Updated
May 11, 2026
Reserved
Feb 19, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

  • CWE-400 Uncontrolled Resource Consumption

Affected Products

ProductVersions
LinuxLinux
  • cabc9d49333df72fe0f6d58bdcf9057ba341e701 to before b9357489c46c7a43999964628db8b47d3a1f8672Affected
  • cabc9d49333df72fe0f6d58bdcf9057ba341e701 to before 48fae67d837488c87379f0c9f27df7391718477cAffected
  • cabc9d49333df72fe0f6d58bdcf9057ba341e701 to before 2a492f01228b7d091dfe38974ef40dccf8f9f2f1Affected
  • cabc9d49333df72fe0f6d58bdcf9057ba341e701 to before 15faa1f67ab405d47789d4702f587ec7df7ef03eAffected
LinuxLinux
  • 6.1Affected
  • before 6.1Not affected
  • 6.1.79 through 6.1.*Not affected
  • 6.6.18 through 6.6.*Not affected
  • 6.7.6 through 6.7.*Not affected
  • 6.8 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.