CVE-2026-63981
net/sched: act_mirred: Fix blockcast recursion bypass leading to stack overflow
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 906736728cea480a85803c67fafb1b0e78491922, < 25fc9352590f5ef21ebf290432bd768b336693bc; >= fe946a751d9b52b7c45ca34899723b314b79b249, < 34457de389fb64a01fdcc71177dfebe65fd2d362; >= fe946a751d9b52b7c45ca34899723b314b79b249, < a005fa5d7502eefec7ee6e1c01adadc06de2f9ad
- Anyone running Linux 6.19
Vulnerability facts
- Affected
- Linux >= 906736728cea480a85803c67fafb1b0e78491922, < 25fc9352590f5ef21ebf290432bd768b336693bc; >= fe946a751d9b52b7c45ca34899723b314b79b249, < 34457de389fb64a01fdcc71177dfebe65fd2d362; >= fe946a751d9b52b7c45ca34899723b314b79b249, < a005fa5d7502eefec7ee6e1c01adadc06de2f9ad; Linux 6.19
- Fixed in
- Linux 25fc9352590f5ef21ebf290432bd768b336693bc, Linux 34457de389fb64a01fdcc71177dfebe65fd2d362
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.17% chance of exploitation in 30 days (percentile 4, 2026-11-30)
- CWE
- CWE-674
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: net/sched: act_mirred: Fix blockcast recursion bypass leading to stack overflow tcf_mirred_act() checks sched_mirred_nest against MIRRED_NEST_LIMIT (4) to prevent deep recursion. However, when the action uses blockcast (tcfm_blockid != 0), the function returns at the tcf_blockcast() call BEFORE reaching the counter increment. As a result, the recursion counter never advances and the limit check is entirely bypassed. When two devices share a TC egress block with a mirred blockcast rule, a packet egressing on device A is mirrored to device B via blockcast; device B's egress TC re-enters tcf_mirred_act() via blockcast and mirrors back to A, creating an unbounded recursion loop: tcf_mirred_act -> tcf_blockcast -> tcf_mirred_to_dev -> dev_queue_xmit -> sch_handle_egress -> tcf_classify -> tcf_mirred_act -> (repeat) This recursion continues until the kernel stack overflows. The bug is reachable from an unprivileged user via unshare(CLONE_NEWUSER | CLONE_NEWNET): user namespaces grant CAP_NET_ADMIN in the new network namespace, which is sufficient to create dummy devices, attach clsact qdiscs with shared blocks, and install mirred blockcast filters. BUG: TASK stack guard page was hit at ffffc90000b7fff8 Oops: stack guard page: 0000 [#1] SMP KASAN NOPTI CPU: 2 UID: 1000 PID: 169 Comm: poc Not tainted 7.0.0-rc7-next-20260410 RIP: 0010:xas_find+0x17/0x480 Call Trace: xa_find+0x17b/0x1d0 tcf_mirred_act+0x640/0x1060 tcf_action_exec+0x400/0x530 basic_classify+0x128/0x1d0 tcf_classify+0xd83/0x1150 tc_run+0x328/0x620 __dev_queue_xmit+0x797/0x3100 tcf_mirred_to_dev+0x7b1/0xf70 tcf_mirred_act+0x68a/0x1060 [repeating ~30+ times until stack overflow] Kernel panic - not syncing: Fatal exception in interrupt Fix this by incrementing sched_mirred_nest before calling tcf_blockcast() and decrementing it on return, mirroring the non-blockcast path. This ensures subsequent recursive entries see the updated counter and are correctly limited by MIRRED_NEST_LIMIT.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 906736728cea480a85803c67fafb1b0e78491922, < 25fc9352590f5ef21ebf290432bd768b336693bc; >= fe946a751d9b52b7c45ca34899723b314b79b249, < 34457de389fb64a01fdcc71177dfebe65fd2d362; >= fe946a751d9b52b7c45ca34899723b314b79b249, < a005fa5d7502eefec7ee6e1c01adadc06de2f9ad | — | cvelist |
| Linux | 6.19 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-63981. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-63981.md Affected: Linux >= 906736728cea480a85803c67fafb1b0e78491922, < 25fc9352590f5ef21ebf290432bd768b336693bc; >= fe946a751d9b52b7c45ca34899723b314b79b249, < 34457de389fb64a01fdcc71177dfebe65fd2d362; >= fe946a751d9b52b7c45ca34899723b314b79b249, < a005fa5d7502eefec7ee6e1c01adadc06de2f9ad; Linux 6.19 Fixed in: Linux 25fc9352590f5ef21ebf290432bd768b336693bc, Linux 34457de389fb64a01fdcc71177dfebe65fd2d362 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-63981 being exploited?
There is no confirmed exploitation: CVE-2026-63981 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-30).
How serious is CVE-2026-63981?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-63981?
Linux >= 906736728cea480a85803c67fafb1b0e78491922, < 25fc9352590f5ef21ebf290432bd768b336693bc; >= fe946a751d9b52b7c45ca34899723b314b79b249, < 34457de389fb64a01fdcc71177dfebe65fd2d362; >= fe946a751d9b52b7c45ca34899723b314b79b249, < a005fa5d7502eefec7ee6e1c01adadc06de2f9ad; Linux 6.19.
Is there a fix for CVE-2026-63981?
Yes. Fixed in Linux 25fc9352590f5ef21ebf290432bd768b336693bc, Linux 34457de389fb64a01fdcc71177dfebe65fd2d362. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-63981?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.