Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-26690

published high CVSS 3.1 · 7.5

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

Published
03 Apr 2024, 14:54:51 UTC
Updated
23 Nov 2026, 07:58:23 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxff12183568e0531f6db935378a92237766ad080a to < a73a2e0a710578af59cfa1b1d0ae7abce206e667 · 133466c3bbe171f826294161db203f7670bb30c8 to < 9680b2ab54ba8d72581100e8c45471306101836e · 133466c3bbe171f826294161db203f7670bb30c8 to < e6af0f082a4b87b99ad033003be2a904a1791b3f · 133466c3bbe171f826294161db203f7670bb30c8 to < 38cc3c6dcc09dc3a1800b5ec22aef643ca11eab8 · 6.1.160 to < 6.1.193 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.6 (affected) · 0 to < 6.6 (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.18 through 6.6.* (unaffected · semver) · 6.7.6 through 6.7.* (unaffected · semver) · 6.8 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scenarios
en: AV:N - Both writers that race (`stmmac_xmit()`/`stmmac_tso_xmit()` and `stmmac_napi_poll_tx()`/`dwmac*_dma_interrupt()`) are driven entirely by packet TX/RX on an Ethernet MAC, so a remote peer flooding the interface with traffic that elicits replies drives the concurrent updates. stmmac interfaces are routinely internet-facing on embedded routers, gateways and industrial edge devices, with no layer-2 adjacency requirement. AC:L - The attacker creates both sides of the race by sustaining line-rate traffic, giving millions of race opportunities per second until a seqcount increment is lost, and once lost the corruption is permanent. The 32-bit precondition is satisfied by the mainstream 32-bit ARM SoCs (STM32MP1, Allwinner, Amlogic, Rockchip, i.MX6) where stmmac is the standard MAC. PR:N - Sending packets to the target interface requires no authentication or credentials whatsoever, and the vulnerable statistics updates happen unconditionally during normal packet processing. The stats readers that then hang are themselves unprivileged (/proc/net/dev, sysfs statistics, RTM_GETLINK). UI:N - No victim action is required — the seqcount is corrupted purely by attacker-driven traffic, and the resulting hang is triggered by routine stats reads that monitoring daemons, DHCP clients and network tooling perform automatically. A local attacker can also simply read /proc/net/dev themselves. S:U - The corrupted seqcount and the resulting spin are both within the kernel's own security authority, with no crossing of a VM, IOMMU or sandbox boundary. This is a standard in-kernel denial of service. C:N - The bug desynchronizes a seqcount protecting driver statistics counters; there is no out-of-bounds read, no use-after-free and no kernel pointer exposure. The only values that can be observed torn are non-sensitive packet/byte counters already legitimately visible to the reader. I:N - No memory corruption, out-of-bounds write or control-flow primitive is created — only the driver's own statistics counters can be read in an inconsistent state. No attacker-controlled data is written to kernel memory. A:H - A permanently odd seqcount makes `read_seqcount_begin()` spin forever, and the spinning readers hold `rcu_read_lock()` (/proc/net/dev), `dev_base_lock` with preemption disabled (sysfs statistics), or `rtnl_lock` (RTM_GETLINK), escalating to RCU stalls, CPU soft/hard lockups and a permanently wedged networking subsystem that requires a reboot. The commit message confirms such lockups were observed in the field.

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 6.5 medium CISA-ADP · adp CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux ff12183568e0531f6db935378a92237766ad080a to < a73a2e0a710578af59cfa1b1d0ae7abce206e667 (affected · git)133466c3bbe171f826294161db203f7670bb30c8 to < 9680b2ab54ba8d72581100e8c45471306101836e (affected · git)133466c3bbe171f826294161db203f7670bb30c8 to < e6af0f082a4b87b99ad033003be2a904a1791b3f (affected · git)133466c3bbe171f826294161db203f7670bb30c8 to < 38cc3c6dcc09dc3a1800b5ec22aef643ca11eab8 (affected · git)6.1.160 to < 6.1.193 (affected · semver)Default: unaffected Linux · cna
Linux Linux 6.6 (affected)0 to < 6.6 (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.18 through 6.6.* (unaffected · semver)6.7.6 through 6.7.* (unaffected · semver)6.8 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-noinfo Not enough information (CISA-ADP · adp)

References

4

Provider assertions

3

Linux · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
811a2dc92ddd67c0e33eb758da2d9354a5be9f772f961556fe20c19d28364c32
Ingested
23 Nov 2026, 14:05:33 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected