{"id":"CVE-2021-47293","aliases":["CVE-2021-47293"],"related":[],"kind":"vulnerability","state":"published","title":"net/sched: act_skbmod: Skip non-Ethernet packets","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net/sched: act_skbmod: omitir paquetes que no sean Ethernet. Actualmente, tcf_skbmod_act() asume que los paquetes usan Ethernet como protocolo L2, lo cual no siempre es el caso. Como ejemplo, para dispositivos CAN: $ 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: protocolo ip prio 10 \\ matchall action skbmod swap mac Hacer lo anterior corrompe silenciosamente todos los paquetes. No realice acciones de skbmod para paquetes que no sean Ethernet.","source":"nvd"}],"published":"2024-05-21T14:35:17.373Z","modified":"2026-06-17T04:17:07.313Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"86da71b57383d40993cb90baafb3735cffe5d800","fixed":"e4fdca366806f6bab374d1a95e626a10a3854b0c","status":"affected"},{"type":"git","introduced":"86da71b57383d40993cb90baafb3735cffe5d800","fixed":"a88414fb1117f2fe65fb88e45ba694e1d09d5024","status":"affected"},{"type":"git","introduced":"86da71b57383d40993cb90baafb3735cffe5d800","fixed":"071729150be9e1d1b851b70efb6d91ee9269d57b","status":"affected"},{"type":"git","introduced":"86da71b57383d40993cb90baafb3735cffe5d800","fixed":"34f1e1f657fae2891b485a3b2b95fe4d2aef9f0d","status":"affected"},{"type":"git","introduced":"86da71b57383d40993cb90baafb3735cffe5d800","fixed":"727d6a8b7ef3d25080fad228b2c4a1d4da5999c6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.9","status":"unaffected"},{"type":"semver","introduced":"4.19.199","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.136","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.54","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.13.6","lastAffected":"5.13.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.14","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.9","fixed":"4.19.199"},{"status":"affected","introduced":"4.20","fixed":"5.4.136"},{"status":"affected","introduced":"5.5","fixed":"5.10.54"},{"status":"affected","introduced":"5.11","fixed":"5.13.6"},{"status":"affected","version":"5.14"},{"status":"affected","version":"5.14"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/e4fdca366806f6bab374d1a95e626a10a3854b0c","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a88414fb1117f2fe65fb88e45ba694e1d09d5024","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/071729150be9e1d1b851b70efb6d91ee9269d57b","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/34f1e1f657fae2891b485a3b2b95fe4d2aef9f0d","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/727d6a8b7ef3d25080fad228b2c4a1d4da5999c6","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-05-28T19:25:44.173Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-47293","url":"https://www.cve.org/CVERecord?id=CVE-2021-47293","licence":"CVE Terms of Use","modified":"2026-05-11T13:51:41.284Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-47293","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47293","licence":"Public domain","modified":"2026-06-17T04:17:07.313Z"}],"updatedAt":"2026-11-25T22:58:08.780Z","epss":{"score":0.00236,"percentile":0.15599,"date":"2026-12-02T12:00:21.000Z"}}