CVE-2025-38278
NoneCVSS
—
EPSS
0.2%
Published
Jul 10, 2025
CISA due date
—
Cloudanix analysis
A flaw in the Linux kernel's network traffic management can cause errors or instability when systems restart, and attackers with access to the machine could potentially exploit it.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Theoretical
- Impact
- Denial Of Service
- Component
- OS kernel
- Class
- Race Condition
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Race condition in octeontx2-pf HTB QoS handling allows TC_HTB_LEAF_DEL_LAST callback to reassign send queues without first stopping active traffic or properly marking the node as Inner, leading to invalid queue updates after device unregistration and kernel warnings.
Why it matters to the business
Systems running affected Linux kernel versions may experience boot-time warnings, potential network queue instability, or denial of service on reboot; high downstream prevalence in Linux distributions increases exposure for servers and embedded devices.
How an attack unfolds
An attacker with local access triggers rapid HTB leaf node deletion and traffic patterns during interface teardown to race the queue reassignment logic, potentially escalating to kernel warnings or instability; listed threat actors and campaigns have been observed targeting similar Linux kernel races for privilege escalation.
How to fix it
Upgrade linux-lts (Alpaquita:stream) to 6.6.58-r0 or newer, linux-lts (Alpaquita:23) to 6.1.62-r0 or newer, or apply the stable kernel commit 5df8db01d6a4e9c35a5ba5d7e130d5cecd3ffcb4; rebuild and reboot after patching.
How to confirm the fix worked
Confirm kernel version contains the referenced commit or fixed package versions; reproduce reboot with active HTB traffic and verify absence of netdev_queue_update_kobjects warnings in dmesg.
Typical attack path
- Obtain local access on affected Linux system
- Configure HTB qdisc with leaf nodes carrying active traffic
- Trigger interface down or reboot sequence to invoke TC_HTB_LEAF_DEL_LAST
- Race the send-queue reassignment before Inner marking occurs
- Observe kernel warnings or induce queue registration failure
How to detect it
Review kernel logs (dmesg, journalctl) around boot and interface events for netdev_queue_update_kobjects warnings; correlate with HTB qdisc configuration changes or traffic on octeontx2-pf interfaces; inspect for activity by the named threat actors in related kernel exploitation campaigns.
What your security team should do
- Prioritize patching all systems using the listed fixed versions within 30 days given 474 days of public exposure
- Monitor EPSS trend and threat actor activity around similar kernel races for elevated urgency
- Restrict unprivileged local access on multi-tenant or exposed Linux hosts until patched
The record
In the Linux kernel, the following vulnerability has been resolved: octeontx2-pf: QOS: Refactor TC_HTB_LEAF_DEL_LAST callback This patch addresses below issues, 1. Active traffic on the leaf node must be stopped before its send queue is reassigned to the parent. This patch resolves the issue by marking the node as 'Inner'. 2. During a system reboot, the interface receives TC_HTB_LEAF_DEL and TC_HTB_LEAF_DEL_LAST callbacks to delete its HTB queues. In the case of TC_HTB_LEAF_DEL_LAST, although the same send queue is reassigned to the parent, the current logic still attempts to update the real number of queues, leadning to below warnings New queues can't be registered after device unregistration. WARNING: CPU: 0 PID: 6475 at net/core/net-sysfs.c:1714 netdev_queue_update_kobjects+0x1e4/0x200
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:13 | linux | 0 | 6.12.35-1 |
| Linux | Kernel | 6.5.0 | 6.6.94 |
| Mageia:9 | kernel | 0 | 6.6.101-1.mga9 |
| Mageia:9 | kernel-linus | 0 | 6.6.101-1.mga9 |
| Mageia:9 | kmod-virtualbox | 0 | 7.1.10-7.mga9 |
| Mageia:9 | kmod-xtables-addons | 0 | 3.24-83.mga9 |
| Mageia:9 | wireless-regdb | 0 | 20250710-1.mga9 |
| openSUSE:Leap 16.0 | dtb-aarch64 | 0 | 6.12.0-160000.6.1 |
| openSUSE:Leap 16.0 | kernel-64kb | 0 | 6.12.0-160000.6.1 |
| openSUSE:Leap 16.0 | kernel-default | 0 | 6.12.0-160000.6.1 |
| openSUSE:Leap 16.0 | kernel-default-base | 0 | 6.12.0-160000.6.1.160000.2.4 |
| openSUSE:Leap 16.0 | kernel-docs | 0 | 6.12.0-160000.6.1 |
| openSUSE:Leap 16.0 | kernel-kvmsmall | 0 | 6.12.0-160000.6.1 |
| openSUSE:Leap 16.0 | kernel-obs-build | 0 | 6.12.0-160000.6.1 |
| openSUSE:Leap 16.0 | kernel-obs-qa | 0 | 6.12.0-160000.6.1 |
| openSUSE:Leap 16.0 | kernel-rt | 0 | 6.12.0-160000.6.1 |
| openSUSE:Leap 16.0 | kernel-source | 0 | 6.12.0-160000.6.1 |
| openSUSE:Leap 16.0 | kernel-syms | 0 | 6.12.0-160000.6.1 |
| openSUSE:Leap 16.0 | kernel-zfcpdump | 0 | 6.12.0-160000.6.1 |
Related vulnerabilities
- CVE-2025-39885 In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix recursive… Also affects linux
- CVE-2025-39883 In the Linux kernel, the following vulnerability has been resolved: mm/memory-failure… Also affects linux
- CVE-2025-39884 In the Linux kernel, the following vulnerability has been resolved: btrfs: fix subvolume… Also affects linux
- CVE-2025-39886 In the Linux kernel, the following vulnerability has been resolved: bpf: Tell memcg to… Also affects linux
- CVE-2025-39876 In the Linux kernel, the following vulnerability has been resolved: net: fec: Fix… Also affects linux
- CVE-2025-39880 In the Linux kernel, the following vulnerability has been resolved: libceph: fix invalid… Also affects linux
- CVE-2025-39881 In the Linux kernel, the following vulnerability has been resolved: kernfs: Fix UAF in… Also affects linux
- CVE-2025-39882 In the Linux kernel, the following vulnerability has been resolved: drm/mediatek: fix… Also affects linux