CVE-2021-47293

net/sched: act_skbmod: Skip non-Ethernet packets

HIGH
7.8
CVSS Score
Published: May 21, 2024 at 02:35 PM UTC
Updated: June 17, 2026 at 04:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.20 ≤ v < 5.4.1364.9 ≤ v < 4.19.1994.9 ≤ v < 5.10.544.9 ≤ v < 5.13.64.9 ≤ v < 5.144.9 ≤ v < 5.4.1365.11 ≤ v < 5.13.65.5 ≤ v < 5.10.545.14 rc15.14 rc286da71b57383d40993cb90baafb3735cffe5d800
Vendor states this is fixed in 071729150be9e1d1b851b70efb6d91ee9269d57b (fixed)
Vendor states this is fixed in 34f1e1f657fae2891b485a3b2b95fe4d2aef9f0d (fixed)
Vendor states this is fixed in 727d6a8b7ef3d25080fad228b2c4a1d4da5999c6 (fixed)
Vendor states this is fixed in a88414fb1117f2fe65fb88e45ba694e1d09d5024 (fixed)
Vendor states this is fixed in e4fdca366806f6bab374d1a95e626a10a3854b0c (fixed)
Vendor states this is fixed in 4.19.199 (unaffected)
Vendor states this is fixed in 4.9 (unaffected)
Vendor states this is fixed in 5.10.54 (unaffected)
Vendor states this is fixed in 5.13.6 (unaffected)
Vendor states this is fixed in 5.14 (unaffected)
Vendor states this is fixed in 5.4.136 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/071729150be9e1d1b851b70efb6d91ee9269d57b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/34f1e1f657fae2891b485a3b2b95fe4d2aef9f0d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/727d6a8b7ef3d25080fad228b2c4a1d4da5999c6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a88414fb1117f2fe65fb88e45ba694e1d09d5024
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e4fdca366806f6bab374d1a95e626a10a3854b0c

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card