# CVE-2024-26690: net: stmmac: protect updates of 64-bit statistics counters

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

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.17% (percentile 67, 2026-11-26)
- **Published:** 2024-04-03T14:54:51.709Z
- **Modified:** 2026-11-23T08:17:10.983Z

## Who should check

- Anyone running Linux \>= ff12183568e0531f6db935378a92237766ad080a, \< a73a2e0a710578af59cfa1b1d0ae7abce206e667; \>= 133466c3bbe171f826294161db203f7670bb30c8, \< 9680b2ab54ba8d72581100e8c45471306101836e; \>= 133466c3bbe171f826294161db203f7670bb30c8, \< e6af0f082a4b87b99ad033003be2a904a1791b3f; \>= 133466c3bbe171f826294161db203f7670bb30c8, \< 38cc3c6dcc09dc3a1800b5ec22aef643ca11eab8; \>= 6.1.160, \< 6.1.193
- Anyone running Linux 6.6

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: stmmac: protect updates of 64-bit statistics counters

As explained by a comment in \<linux/u64\_stats\_sync.h\>, write side of struct
u64\_stats\_sync must ensure mutual exclusion, or one seqcount update could
be lost on 32-bit platforms, thus blocking readers forever. Such lockups
have been observed in real world after stmmac\_xmit() on one CPU raced with
stmmac\_napi\_poll\_tx() on another CPU.

To fix the issue without introducing a new lock, split the statics into
three parts:

1. fields updated only under the tx queue lock,
2. fields updated only during NAPI poll,
3. fields updated only from interrupt context,

Updates to fields in the first two groups are already serialized through
other locks. It is sufficient to split the existing struct u64\_stats\_sync
so that each group has its own.

Note that tx\_set\_ic\_bit is updated from both contexts. Split this counter
so that each context gets its own, and calculate their sum to get the total
value in stmmac\_get\_ethtool\_stats().

For the third group, multiple interrupts may be processed by different CPUs
at the same time, but interrupts on the same CPU will not nest. Move fields
from this group to a newly created per-cpu struct stmmac\_pcpu\_stats.

## Affected and fixed versions

- Linux: \>= ff12183568e0531f6db935378a92237766ad080a, \< a73a2e0a710578af59cfa1b1d0ae7abce206e667; \>= 133466c3bbe171f826294161db203f7670bb30c8, \< 9680b2ab54ba8d72581100e8c45471306101836e; \>= 133466c3bbe171f826294161db203f7670bb30c8, \< e6af0f082a4b87b99ad033003be2a904a1791b3f; \>= 133466c3bbe171f826294161db203f7670bb30c8, \< 38cc3c6dcc09dc3a1800b5ec22aef643ca11eab8; \>= 6.1.160, \< 6.1.193 (cvelist)
- Linux: 6.6 (cvelist)

## Mitigation

- Upgrade Linux to 6.1.193 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-26690. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26690.md
Affected: Linux >= ff12183568e0531f6db935378a92237766ad080a, < a73a2e0a710578af59cfa1b1d0ae7abce206e667; >= 133466c3bbe171f826294161db203f7670bb30c8, < 9680b2ab54ba8d72581100e8c45471306101836e; >= 133466c3bbe171f826294161db203f7670bb30c8, < e6af0f082a4b87b99ad033003be2a904a1791b3f; >= 133466c3bbe171f82629416…
Fixed in: Linux 9680b2ab54ba8d72581100e8c45471306101836e, Linux 38cc3c6dcc09dc3a1800b5ec22aef643ca11eab8, Linux 6.1.193

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-26690 being exploited?

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

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

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

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

Linux \>= ff12183568e0531f6db935378a92237766ad080a, \< a73a2e0a710578af59cfa1b1d0ae7abce206e667; \>= 133466c3bbe171f826294161db203f7670bb30c8, \< 9680b2ab54ba8d72581100e8c45471306101836e; \>= 133466c3bbe171f826294161db203f7670bb30c8, \< e6af0f082a4b87b99ad033003be2a904a1791b3f; \>= 133466c3bbe171f826294161db203f7670bb30c8, \< 38cc3c6dcc09dc3a1800b5ec22aef643ca11eab8; \>= 6.1.160, \< 6.1.193; Linux 6.6.

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

Yes. Fixed in Linux 9680b2ab54ba8d72581100e8c45471306101836e, Linux 38cc3c6dcc09dc3a1800b5ec22aef643ca11eab8, Linux 6.1.193. Upgrade Linux to 6.1.193 or later.

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

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/9680b2ab54ba8d72581100e8c45471306101836e>
- patch: <https://git.kernel.org/stable/c/e6af0f082a4b87b99ad033003be2a904a1791b3f>
- patch: <https://git.kernel.org/stable/c/38cc3c6dcc09dc3a1800b5ec22aef643ca11eab8>
- other: <https://git.kernel.org/stable/c/a73a2e0a710578af59cfa1b1d0ae7abce206e667>

## 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-26690>

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