Executive summary
CVE-2026-139481 is a Linux kernel vulnerability in the net: stmmac Ethernet driver. It combines an intentional-but-unannotated data race in the handling of transmit-coalescing settings with a separate division-by-zero condition in an XDP transmit path.
The tx_coal_frames[] array can be modified through ethtool while kernel transmit routines read it without synchronization. The upstream correction uses READ_ONCE() and WRITE_ONCE() and captures the value in a local variable so that a transmission operation works with one consistent setting.
The second issue arises because ethtool permits TX coalescing to be disabled by setting tx_max_coalesced_frames to 0. In stmmac_xdp_xmit_xdpf(), the corresponding tx_coal_frames[queue] value is used as a divisor, creating a potential division-by-zero fault if coalescing is disabled.
Both problems were found through code inspection and were described as never having been triggered. The available record provides no exploitation evidence, no CVSS vector, and no confirmed list of affected kernel releases.
Affected systems
The vulnerability is located in the Linux kernel's net: stmmac implementation and affects transmit routines including:
stmmac_xmit
stmmac_tso_xmit
stmmac_xdp_xmit_zc
stmmac_xdp_xmit_xdpf
The issue is relevant to systems using STMMAC-based Ethernet controllers. The upstream testing referenced the Qualcomm RB3-gen2 board, but that platform is a test target rather than evidence that the flaw is limited to it.
The supplied advisory excerpt does not identify specific vulnerable Linux kernel releases, branches, or fixed versions. The affected version range therefore cannot be established from the available source and should not be inferred from the publication date.
Detailed analysis
Unsynchronized TX coalescing configuration
The TX coalescing frame limit is stored in tx_coal_frames[]. Administrative configuration changes can reach this array through stmmac_set_coalesce, while the transmit fast paths read it without the locking used for ordinary shared state.
The correction pairs array accesses with READ_ONCE() and WRITE_ONCE() and reads the value into a local variable for the current transmit operation. This approach documents the access as an intentional data race while reducing the chance that one transmission will combine values observed at different points in time.
The available information does not demonstrate memory corruption, privilege escalation, or a reliable denial-of-service sequence arising from the race. Its direct impact is therefore limited by the evidence currently available.
Zero divisor in the XDP transmit path
A separate but related flaw exists in stmmac_xdp_xmit_xdpf(). The function uses tx_coal_frames[queue] in a modulo operation, while ethtool permits TX coalescing to be disabled by setting tx_max_coalesced_frames to 0.
When the effective value is zero, the modulo operation can trigger a kernel division-by-zero exception. A division-by-zero in kernel execution may cause a crash or system disruption, but the supplied source does not establish how broadly the path is deployed, whether the condition can be reached without administrative configuration access, or whether the fault is reproducible under production workloads.
Attack conditions
Reaching the vulnerable behavior appears to require:
- A system with an STMMAC-based Ethernet controller.
- Activity through an affected conventional or XDP transmit path.
- Influence over STMMAC TX coalescing configuration, particularly
tx_max_coalesced_frames, for the division-by-zero condition.
The configuration interface is ethtool. The provided material does not specify the exact privilege requirements for modifying these settings or whether a lower-privileged actor can influence the relevant state indirectly. Malformed packet traffic alone is not established as sufficient to trigger either issue.
Exploitability and threat activity
The advisory states that the issues were discovered by inspection during work extending the XDP TX path with multi-buffer support and that neither had ever been triggered. It characterizes the weaknesses as theoretical.
No exploitation evidence is present in the supplied intelligence, and CVE-2026-139481 is not listed in the CISA KEV catalog. No CVSS score or vector is available. The combination of administrative configuration influence, uncertain deployment prevalence, and no observed exploitation supports a low severity assessment.
Mitigation
Apply the upstream Linux kernel correction associated with CVE-2026-139481. The fix should:
- Use
READ_ONCE()andWRITE_ONCE()around accesses totx_coal_frames[].
- Copy the coalescing value into a local variable for each TX operation.
- Guard the modulo operation in
stmmac_xdp_xmit_xdpf()against a zerotx_coal_frames[queue].
After identifying the applicable vendor or distribution package, deploy a kernel build that contains the correction. Because the available source does not name fixed kernel versions, version boundaries should be taken from the authoritative upstream or vendor advisory rather than estimated.
Where the fix cannot yet be deployed, restrict administrative access to ethtool interfaces and monitor changes to TX coalescing parameters. This can reduce exposure to the configuration-dependent fault, although it does not remove the underlying defect.
Detection can focus on STMMAC or XDP transmit failures, division-by-zero exceptions, unexpected interface resets, and crashes during packet transmission. Auditing configuration-management and ethtool activity for changes to tx_max_coalesced_frames may also help identify systems placed into the affected configuration. Available visibility depends on each platform's logging and crash-reporting configuration.
Expert insight
The two weaknesses illustrate a common driver-design challenge: administrative network tuning is often modified concurrently with high-speed data paths. Using READ_ONCE() and WRITE_ONCE() is appropriate here because the setting is treated as a best-effort, intentionally racy value rather than a tightly synchronized control structure. The local snapshot is important because it gives one transmit operation a single observed value.
The division-by-zero flaw is the more consequential component. Its impact depends on whether disabling coalescing is permitted in the target environment and whether the affected XDP path is active. Even so, the available evidence does not justify classifying the CVE as remotely exploitable or critical. The combination of configuration dependence and theoretical reachability keeps the practical assessment at low severity while still making the upstream correction important for driver reliability.