CVE-2021-47293

published 21 May 2024 · updated 11 May 2026

net/sched: act_skbmod: Skip non-Ethernet packets

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 071729150be9e1d1b851b70efb6d91ee9269d57b, Kernel 34f1e1f657fae2891b485a3b2b95fe4d2aef9f0d, Kernel 727d6a8b7ef3d25080fad228b2c4a1d4da5999c6 and 2 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.9, >=86da71b57383d40993cb90baafb3735cffe5d800 <071729150be9e1d1b851b70efb6d91ee9269d57b, >=86da71b57383d40993cb90baafb3735cffe5d800 <34f1e1f657fae2891b485a3b2b95fe4d2aef9f0d, >=86da71b57383d40993cb90baafb3735cffe5d800 <727d6a8b7ef3d25080fad228b2c4a1d4da5999c6, >=86da71b57383d40993cb90baafb3735cffe5d800 <a88414fb1117f2fe65fb88e45ba694e1d09d5024, >=86da71b57383d40993cb90baafb3735cffe5d800 <e4fdca366806f6bab374d1a95e626a10a3854b0c071729150be9e1d1b851b70efb6d91ee9269d57b, 34f1e1f657fae2891b485a3b2b95fe4d2aef9f0d, 727d6a8b7ef3d25080fad228b2c4a1d4da5999c6, a88414fb1117f2fe65fb88e45ba694e1d09d5024, e4fdca366806f6bab374d1a95e626a10a3854b0c

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47293 severity on Zeptric[![CVE-2021-47293](https://zeptric.io/badge/cve/CVE-2021-47293.svg)](https://zeptric.io/cve/CVE-2021-47293)