# CVE-2026-63982: net/sched: Fix ethx:ingress -> ethy:egress -> ethx:ingress mirred loop

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-07-19T14:56:05.329Z
- Modified: 2026-11-12T17:37:10.477Z
- Assigned by: Linux

## Description

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

net/sched: Fix ethx:ingress -> ethy:egress -> ethx:ingress mirred loop

When mirred redirects to ingress (from either ingress or egress) the loop
state from sched_mirred_dev array dev is lost because of 1) the packet
deferral into the backlog and 2) the fact the sched_mirred_dev array is
cleared. In such cases, if there was a loop we won't discover it.

Here's a simple test to reproduce:
ip a add dev port0 10.10.10.11/24

tc qdisc add dev port0 clsact
tc filter add dev port0 egress protocol ip \
   prio 10 matchall action mirred ingress redirect dev port1

tc qdisc add dev port1 clsact
tc filter add dev port1 ingress protocol ip \
   prio 10 matchall action mirred egress redirect dev port0

ping -c 1 -W0.01 10.10.10.10

(As written by CVE List.)

## Affected

- Linux Linux: from 906736728cea480a85803c67fafb1b0e78491922 before 66f4607fe788fc7d81bce0e2f7b3726ed2f71284; from fe946a751d9b52b7c45ca34899723b314b79b249 before 45ac526a0d5733c3695946bd84ec57f24d8f5e66; from fe946a751d9b52b7c45ca34899723b314b79b249 before db875221ab08d213a83bf30196ae8b64d55a3403; 6.19 (not affected: before 6.19; from 7.0.12 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.19 before 7.0.12; 7.1

## References

- <https://git.kernel.org/stable/c/66f4607fe788fc7d81bce0e2f7b3726ed2f71284> (patch)
- <https://git.kernel.org/stable/c/45ac526a0d5733c3695946bd84ec57f24d8f5e66> (patch)
- <https://git.kernel.org/stable/c/db875221ab08d213a83bf30196ae8b64d55a3403> (patch)

## Sources

- CVE List: [CVE-2026-63982](https://www.cve.org/CVERecord?id=CVE-2026-63982), CVE Terms of Use, modified 2026-07-19
- NVD: [CVE-2026-63982](https://nvd.nist.gov/vuln/detail/CVE-2026-63982), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-63982 · Whole record: https://cve.day/CVE-2026-63982.json · Rebuilt by cve.day 2026-11-25T22:59:28.890Z
