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.
Metrics
Affected Vendors & Products
References
History
Tue, 05 Nov 2024 20:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|
MITRE
Status: PUBLISHED
Assigner: Linux
Published: 2024-05-21T14:35:17.373Z
Updated: 2024-11-04T12:03:07.839Z
Reserved: 2024-05-21T13:27:52.130Z
Link: CVE-2021-47293
Vulnrichment
Updated: 2024-08-04T05:32:08.508Z
NVD
Status : Awaiting Analysis
Published: 2024-05-21T15:15:17.243
Modified: 2024-11-21T06:35:48.817
Link: CVE-2021-47293
Redhat