Skip to main content

Linux Kernel CVE-2025-68232

HIGH
2025-12-16 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.5
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Share

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY
7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI
4.7 MEDIUM

Timing-dependent multi-CPU race triggered by local veth traffic load justifies AC:H and AV:L with PR:L; impact is availability-only (stalled queue), so C:N/I:N/A:H.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE
5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat
5.5 MEDIUM
qualitative

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Analysis Generated
Jul 30, 2026 - 07:20 vuln.today
CVE Published
Dec 16, 2025 - 14:15 cve.org
HIGH 7.5

DescriptionCVE.org

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

veth: more robust handing of race to avoid txq getting stuck

Commit dc82a33297fc ("veth: apply qdisc backpressure on full ptr_ring to reduce TX drops") introduced a race condition that can lead to a permanently stalled TXQ. This was observed in production on ARM64 systems (Ampere Altra Max).

The race occurs in veth_xmit(). The producer observes a full ptr_ring and stops the queue (netif_tx_stop_queue()). The subsequent conditional logic, intended to re-wake the queue if the consumer had just emptied it (if (__ptr_ring_empty(...)) netif_tx_wake_queue()), can fail. This leads to a "lost wakeup" where the TXQ remains stopped (QUEUE_STATE_DRV_XOFF) and traffic halts.

This failure is caused by an incorrect use of the __ptr_ring_empty() API from the producer side. As noted in kernel comments, this check is not guaranteed to be correct if a consumer is operating on another CPU. The empty test is based on ptr_ring->consumer_head, making it reliable only for the consumer. Using this check from the producer side is fundamentally racy.

This patch fixes the race by adopting the more robust logic from an earlier version V4 of the patchset, which always flushed the peer:

(1) In veth_xmit(), the racy conditional wake-up logic and its memory barrier are removed. Instead, after stopping the queue, we unconditionally call __veth_xdp_flush(rq). This guarantees that the NAPI consumer is scheduled, making it solely responsible for re-waking the TXQ. This handles the race where veth_poll() consumes all packets and completes NAPI *before* veth_xmit() on the producer side has called netif_tx_stop_queue. The __veth_xdp_flush(rq) will observe rx_notify_masked is false and schedule NAPI.

(2) On the consumer side, the logic for waking the peer TXQ is moved out of veth_xdp_rcv() and placed at the end of the veth_poll() function. This placement is part of fixing the race, as the netif_tx_queue_stopped() check must occur after rx_notify_masked is potentially set to false during NAPI completion. This handles the race where veth_poll() consumes all packets, but haven't finished (rx_notify_masked is still true). The producer veth_xmit() stops the TXQ and __veth_xdp_flush(rq) will observe rx_notify_masked is true, meaning not starting NAPI. Then veth_poll() change rx_notify_masked to false and stops NAPI. Before exiting veth_poll() will observe TXQ is stopped and wake it up.

AnalysisAI

Denial of service in the Linux kernel's veth (virtual Ethernet) driver allows a permanently stalled transmit queue and halted network traffic once a lost-wakeup race is triggered under load. The flaw is a regression introduced by commit dc82a33297fc ('veth: apply qdisc backpressure on full ptr_ring'), where the producer in veth_xmit() misuses the __ptr_ring_empty() API to decide whether to re-wake a stopped TXQ; when a consumer on another CPU empties the ring concurrently, the wakeup is lost and the queue stays in QUEUE_STATE_DRV_XOFF. It was observed in production on ARM64 (Ampere Altra Max) systems. There is no public exploit identified at time of analysis, EPSS is low (0.16%), and it is not in CISA KEV.

Technical ContextAI

veth is the paired virtual Ethernet device that underpins container and network-namespace connectivity (Docker, Kubernetes, LXC), moving packets between namespaces via a ptr_ring producer/consumer queue serviced by NAPI (veth_poll). The bug is a synchronization/race defect (functionally CWE-362, race condition leading to a CWE-833-style stuck-queue/deadlock; the input lists CWE as N/A so this class is inferred, not vendor-assigned): the producer side calls __ptr_ring_empty(), whose result is derived from ptr_ring->consumer_head and is therefore only reliable on the consumer side. When veth_poll() on another CPU drains the ring and completes NAPI around the same time the producer stops the queue, neither side re-wakes the TXQ. The fix removes the racy conditional wake and memory barrier in veth_xmit() and instead unconditionally calls __veth_xdp_flush(rq) to guarantee NAPI is scheduled, and moves the peer-TXQ wake logic to the end of veth_poll() so the netif_tx_queue_stopped() check happens after rx_notify_masked is cleared. No CPE strings were supplied in the input, so exact affected package builds are not enumerable here.

Affected ProductsAI

The affected product is the Linux kernel, specifically the veth driver, on kernel versions that include the regression from commit dc82a33297fc ('veth: apply qdisc backpressure on full ptr_ring to reduce TX drops') and lack the fix. The impact was confirmed on ARM64 hardware (Ampere Altra Max) but the logic bug is architecture-independent. No CPE strings or explicit version ranges were provided in the input, so precise fixed/affected version boundaries must be derived from the stable-tree commits: the fix is carried in git.kernel.org stable commits 5442a9da69789741bfda39f34ee7f69552bf0c56, 6c8a8b9257a660e622689e23c8fbad4ba2b561b9, and dd419a3f2ebc18cc00bc32c57fd052d7a188b78b.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - apply the kernel update carrying the veth fix from the referenced stable commits (https://git.kernel.org/stable/c/5442a9da69789741bfda39f34ee7f69552bf0c56, https://git.kernel.org/stable/c/6c8a8b9257a660e622689e23c8fbad4ba2b561b9, and https://git.kernel.org/stable/c/dd419a3f2ebc18cc00bc32c57fd052d7a188b78b) via your distribution's patched kernel package as it becomes available. No tagged release version was supplied in the input, so confirm the exact fixed version with your distro's advisory before deployment. As an interim compensating control, if a TXQ stall is observed you can administratively recover the interface (e.g., cycle the affected veth link) to clear the QUEUE_STATE_DRV_XOFF state, though this only remedies symptoms and traffic can re-stall; on hosts where veth is not required you can avoid the affected path by not using veth-based networking, with the trade-off that this breaks standard container namespace connectivity. There is no feature toggle to disable only the buggy backpressure logic without the kernel patch.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 16.0 Not-Affected

Share

CVE-2025-68232 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy