CVE-2025-21703·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: netem: Update sch->q.qlen before qdisc_tree_reduce_backlog() qdisc_tree_reduce_backlog() notifies parent qdisc only if child qdisc becomes empty, therefore we need to reduce the backlog of the child qdisc before calling it. Otherwise it would miss the opportunity to call cops->qlen_notify(), in the case of DRR, it resulted in UAF since DRR uses ->qlen_notify() to maintain its active list.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.13.3
- Published
- 2025-02-18
Affected versions
From: 6.13
Until: 6.13.3
Fixed in: 6.13.3
How to fix this CVE
CVE-2025-21703 is a use-after-free (UAF) vulnerability in the Linux kernel's netem (network emulation) qdisc that occurs when the backlog queue length is not updated before notifying parent qdiscs. This can lead to memory corruption and system crashes. Update your kernel to version 6.13.3 or later to resolve this issue.
sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version by running: uname -r
- Step 2: Verify if netem qdisc is active on your system by running: tc qdisc show | grep netem
- Step 3: Search system logs for UAF or memory corruption errors: sudo dmesg | grep -i 'use.after.free\|uaf\|page.fault'
- Step 4: After patching, confirm the new kernel version with: uname -r and verify it is 6.13.3 or later
FAQ
What is CVE-2025-21703?
CVE-2025-21703 is a use-after-free vulnerability in the Linux kernel's netem qdisc implementation that occurs when the child qdisc queue length is not reduced before invoking qdisc_tree_reduce_backlog(). This causes the DRR (Deficit Round Robin) qdisc to lose track of active queues, leading to memory corruption and potential kernel crashes.
Is CVE-2025-21703 being actively exploited?
No, CVE-2025-21703 is not currently listed on CISA's Known Exploited Vulnerabilities catalog and no public exploits are available.
What versions of Kernel are affected by CVE-2025-21703?
Linux kernel versions 6.13 through 6.13.2 are affected. Version 6.13.3 and later contain the fix.
How do I check if my server is vulnerable to CVE-2025-21703?
Run 'uname -r' to check your kernel version. If it shows 6.13.0, 6.13.1, or 6.13.2, your system is vulnerable. Then verify if netem qdisc is in use with 'tc qdisc show | grep netem'.
Does Defensia detect CVE-2025-21703?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2025-21703 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/1f8e3f4a4b8b90ad274dfbc66fc7d55cb582f4d5
- https://git.kernel.org/stable/c/6312555249082d6d8cc5321ff725df05482d8b83
- https://git.kernel.org/stable/c/638ba5089324796c2ee49af10427459c2de35f71
- https://git.kernel.org/stable/c/7b79ca9a1de6a428d486ff52fb3d602321c08f55
- https://git.kernel.org/stable/c/7f31d74fcc556a9166b1bb20515542de7bb939d1
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2025-21703. Free for 1 server.
Get started free