CVE-2021-47293

net/sched: act_skbmod: Skip non-Ethernet packets

published May 21, 2024

CVSS
—
EPSS
0%
Percentile
13.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00234 · 13.5th percentile
Published
2024-05-21T14:35Z
EPSS history
Timeline
  • 21 MAY 14:35Z
    net/sched: act_skbmod: Skip non-Ethernet packets
    cvelistv5