{"id":"CVE-2021-47293","published":"2024-05-21T14:35:17Z","modified":"2026-05-11T13:51:41Z","title":"net/sched: act_skbmod: Skip non-Ethernet packets","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: act_skbmod: Skip non-Ethernet packets\n\nCurrently tcf_skbmod_act() assumes that packets use Ethernet as their L2\nprotocol, which is not always the case.  As an example, for CAN devices:\n\n\t$ ip link add dev vcan0 type vcan\n\t$ ip link set up vcan0\n\t$ tc qdisc add dev vcan0 root handle 1: htb\n\t$ tc filter add dev vcan0 parent 1: protocol ip prio 10 \\\n\t\tmatchall action skbmod swap mac\n\nDoing the above silently corrupts all the packets.  Do not perform skbmod\nactions for non-Ethernet packets.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00234,"percentile":0.14598,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/e4fdca366806f6bab374d1a95e626a10a3854b0c","tags":[]},{"url":"https://git.kernel.org/stable/c/a88414fb1117f2fe65fb88e45ba694e1d09d5024","tags":[]},{"url":"https://git.kernel.org/stable/c/071729150be9e1d1b851b70efb6d91ee9269d57b","tags":[]},{"url":"https://git.kernel.org/stable/c/34f1e1f657fae2891b485a3b2b95fe4d2aef9f0d","tags":[]},{"url":"https://git.kernel.org/stable/c/727d6a8b7ef3d25080fad228b2c4a1d4da5999c6","tags":[]}],"priority":{"score":2.9,"factors":[{"name":"EPSS percentile","points":2.92}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 86da71b57383d40993cb90baafb3735cffe5d800, < e4fdca366806f6bab374d1a95e626a10a3854b0c",">= 86da71b57383d40993cb90baafb3735cffe5d800, < a88414fb1117f2fe65fb88e45ba694e1d09d5024",">= 86da71b57383d40993cb90baafb3735cffe5d800, < 071729150be9e1d1b851b70efb6d91ee9269d57b",">= 86da71b57383d40993cb90baafb3735cffe5d800, < 34f1e1f657fae2891b485a3b2b95fe4d2aef9f0d",">= 86da71b57383d40993cb90baafb3735cffe5d800, < 727d6a8b7ef3d25080fad228b2c4a1d4da5999c6"]},{"vendor":"Linux","product":"Linux","versions":["4.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-28T19:25:44.173169Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-34298","exploited":false,"provenance":"source"}}