# CVE-2024-26723: lan966x: Fix crash when adding interface under a lag

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 18, 2026-11-26)
- **CWE:** CWE-400
- **Published:** 2024-04-03T14:55:22.529Z
- **Modified:** 2026-06-17T07:18:10.763Z

## Who should check

- Anyone running Linux \>= cabc9d49333df72fe0f6d58bdcf9057ba341e701, \< b9357489c46c7a43999964628db8b47d3a1f8672; \>= cabc9d49333df72fe0f6d58bdcf9057ba341e701, \< 48fae67d837488c87379f0c9f27df7391718477c; \>= cabc9d49333df72fe0f6d58bdcf9057ba341e701, \< 2a492f01228b7d091dfe38974ef40dccf8f9f2f1; \>= cabc9d49333df72fe0f6d58bdcf9057ba341e701, \< 15faa1f67ab405d47789d4702f587ec7df7ef03e
- Anyone running Linux 6.1

## 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 and fixed versions

- Linux: \>= cabc9d49333df72fe0f6d58bdcf9057ba341e701, \< b9357489c46c7a43999964628db8b47d3a1f8672; \>= cabc9d49333df72fe0f6d58bdcf9057ba341e701, \< 48fae67d837488c87379f0c9f27df7391718477c; \>= cabc9d49333df72fe0f6d58bdcf9057ba341e701, \< 2a492f01228b7d091dfe38974ef40dccf8f9f2f1; \>= cabc9d49333df72fe0f6d58bdcf9057ba341e701, \< 15faa1f67ab405d47789d4702f587ec7df7ef03e (cvelist)
- Linux: 6.1 (cvelist)

## Mitigation

- Upgrade Linux to 15faa1f67ab405d47789d4702f587ec7df7ef03e or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-26723. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26723.md
Affected: Linux >= cabc9d49333df72fe0f6d58bdcf9057ba341e701, < b9357489c46c7a43999964628db8b47d3a1f8672; >= cabc9d49333df72fe0f6d58bdcf9057ba341e701, < 48fae67d837488c87379f0c9f27df7391718477c; >= cabc9d49333df72fe0f6d58bdcf9057ba341e701, < 2a492f01228b7d091dfe38974ef40dccf8f9f2f1; >= cabc9d49333df72fe0f6d58…
Fixed in: Linux 48fae67d837488c87379f0c9f27df7391718477c, Linux 2a492f01228b7d091dfe38974ef40dccf8f9f2f1, Linux 15faa1f67ab405d47789d4702f587ec7df7ef03e

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-26723 being exploited?

There is no confirmed exploitation: CVE-2024-26723 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-26723?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-26723?

Linux \>= cabc9d49333df72fe0f6d58bdcf9057ba341e701, \< b9357489c46c7a43999964628db8b47d3a1f8672; \>= cabc9d49333df72fe0f6d58bdcf9057ba341e701, \< 48fae67d837488c87379f0c9f27df7391718477c; \>= cabc9d49333df72fe0f6d58bdcf9057ba341e701, \< 2a492f01228b7d091dfe38974ef40dccf8f9f2f1; \>= cabc9d49333df72fe0f6d58bdcf9057ba341e701, \< 15faa1f67ab405d47789d4702f587ec7df7ef03e; Linux 6.1.

### Is there a fix for CVE-2024-26723?

Yes. Fixed in Linux 48fae67d837488c87379f0c9f27df7391718477c, Linux 2a492f01228b7d091dfe38974ef40dccf8f9f2f1, Linux 15faa1f67ab405d47789d4702f587ec7df7ef03e. Upgrade Linux to 15faa1f67ab405d47789d4702f587ec7df7ef03e or later.

### How do I check if I'm affected by CVE-2024-26723?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/b9357489c46c7a43999964628db8b47d3a1f8672>
- patch: <https://git.kernel.org/stable/c/48fae67d837488c87379f0c9f27df7391718477c>
- patch: <https://git.kernel.org/stable/c/2a492f01228b7d091dfe38974ef40dccf8f9f2f1>
- patch: <https://git.kernel.org/stable/c/15faa1f67ab405d47789d4702f587ec7df7ef03e>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-26723>

HTML: <https://flawdb.com/CVE-2024-26723> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-26723>
