# CVE-2021-47293: net/sched: act_skbmod: Skip non-Ethernet packets

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.24%, higher than 15% of CVEs (2026-12-02)
- Published: 2024-05-21T14:35:17.373Z
- Modified: 2026-06-17T04:17:07.313Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 86da71b57383d40993cb90baafb3735cffe5d800 before e4fdca366806f6bab374d1a95e626a10a3854b0c; from 86da71b57383d40993cb90baafb3735cffe5d800 before a88414fb1117f2fe65fb88e45ba694e1d09d5024; from 86da71b57383d40993cb90baafb3735cffe5d800 before 071729150be9e1d1b851b70efb6d91ee9269d57b; from 86da71b57383d40993cb90baafb3735cffe5d800 before 34f1e1f657fae2891b485a3b2b95fe4d2aef9f0d; from 86da71b57383d40993cb90baafb3735cffe5d800 before 727d6a8b7ef3d25080fad228b2c4a1d4da5999c6; 4.9 (not affected: before 4.9; from 4.19.199 up to 4.19.*; from 5.4.136 up to 5.4.*; from 5.10.54 up to 5.10.*; from 5.13.6 up to 5.13.*; from 5.14 up to *)
- linux linux_kernel: from 4.9 before 4.19.199; from 4.20 before 5.4.136; from 5.5 before 5.10.54; from 5.11 before 5.13.6; 5.14

## References

- <https://git.kernel.org/stable/c/e4fdca366806f6bab374d1a95e626a10a3854b0c> (patch)
- <https://git.kernel.org/stable/c/a88414fb1117f2fe65fb88e45ba694e1d09d5024> (patch)
- <https://git.kernel.org/stable/c/071729150be9e1d1b851b70efb6d91ee9269d57b> (patch)
- <https://git.kernel.org/stable/c/34f1e1f657fae2891b485a3b2b95fe4d2aef9f0d> (patch)
- <https://git.kernel.org/stable/c/727d6a8b7ef3d25080fad228b2c4a1d4da5999c6> (patch)

## Sources

- CVE List: [CVE-2021-47293](https://www.cve.org/CVERecord?id=CVE-2021-47293), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-47293](https://nvd.nist.gov/vuln/detail/CVE-2021-47293), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47293 · Whole record: https://cve.day/CVE-2021-47293.json · Rebuilt by cve.day 2026-11-25T22:58:08.780Z
