CVE-2021-47293·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: net/sched: act_skbmod: Skip non-Ethernet packets Currently tcf_skbmod_act() assumes that packets use Ethernet as their L2 protocol, which is not always the case. As an example, for CAN devices: $ ip link add dev vcan0 type vcan $ ip link set up vcan0 $ tc qdisc add dev vcan0 root handle 1: htb $ tc filter add dev vcan0 parent 1: protocol ip prio 10 \ matchall action skbmod swap mac Doing the above silently corrupts all the packets. Do not perform skbmod actions for non-Ethernet packets.
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.13.6
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at <0.1% — higher than 8% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2021-47293 scores 7.8 on CVSS, so a successful attack would be serious — but at <0.1%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 5.11
Until: 5.13.6
Fixed in: 5.13.6
How to fix this CVE
Update your Linux kernel to version 5.13.6 or later to resolve this traffic classification vulnerability. The flaw caused the kernel's traffic shaping module (act_skbmod) to incorrectly process non-Ethernet packets (such as CAN frames), leading to silent packet corruption. Apply the kernel security update and reboot your system to complete remediation.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check the running kernel version with `uname -r` and compare against 5.13.6 or later
- Step 2: Verify if traffic control (tc) rules with skbmod actions are configured by running `tc filter show dev <interface>` on all network interfaces
- Step 3: Inspect system logs for packet corruption symptoms using `journalctl -u kernel --since='1 hour ago' | grep -i 'skb\|corruption\|mac'`
- Step 4: After updating, confirm the new kernel version with `uname -r` and test skbmod filters on non-Ethernet interfaces (CAN, etc.) to verify normal packet flow
FAQ
What is CVE-2021-47293?
This vulnerability is a logic error in the Linux kernel's traffic control skbmod action module, which blindly assumed all packets used Ethernet framing. When applied to non-Ethernet devices like CAN interfaces, it silently corrupted packet headers instead of skipping the operation.
Is CVE-2021-47293 being actively exploited?
No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog and has no public exploit code available. However, misconfigured traffic control rules could inadvertently trigger the flaw.
What versions of Kernel are affected by CVE-2021-47293?
Kernel versions 5.11 through 5.13.5 are vulnerable. The fix was released in 5.13.6 and has been backported to stable branches.
How do I check if my server is vulnerable to CVE-2021-47293?
Run `uname -r` to check your kernel version. If it reports 5.11.x through 5.13.5, you are vulnerable. Additionally, check if traffic control rules with skbmod actions target non-Ethernet interfaces using `tc filter show`.
Does Defensia detect CVE-2021-47293?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2021-47293 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/071729150be9e1d1b851b70efb6d91ee9269d57b
- https://git.kernel.org/stable/c/34f1e1f657fae2891b485a3b2b95fe4d2aef9f0d
- https://git.kernel.org/stable/c/727d6a8b7ef3d25080fad228b2c4a1d4da5999c6
- https://git.kernel.org/stable/c/a88414fb1117f2fe65fb88e45ba694e1d09d5024
- https://git.kernel.org/stable/c/e4fdca366806f6bab374d1a95e626a10a3854b0c
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2021-47293. Free for 1 server.
Get started free