CVE-2021-47293
net/sched: act_skbmod: Skip non-Ethernet packets
HIGH 7.8
At a glance
- Source
- NVD
- EPSS
- EPSS 0.23 % · percentile 14 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Analyzed
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.
References
- https://git.kernel.org/stable/c/e4fdca366806f6bab374d1a95e626a10a3854b0c
- https://git.kernel.org/stable/c/a88414fb1117f2fe65fb88e45ba694e1d09d5024
- https://git.kernel.org/stable/c/071729150be9e1d1b851b70efb6d91ee9269d57b
- https://git.kernel.org/stable/c/34f1e1f657fae2891b485a3b2b95fe4d2aef9f0d
- https://git.kernel.org/stable/c/727d6a8b7ef3d25080fad228b2c4a1d4da5999c6
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2021-34298
- GCVE · GCVE-0-2021-47293
CERT-FR advisories
- CERTFR-2024-AVI-0610 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0578 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0577 — Multiples vulnérabilités dans le noyau Linux de Red Hat · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.9 < 4.19.199cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.20 < 5.4.136cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.5 < 5.10.54cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.13.6cpe:2.3:o:linux:linux_kernel:5.14:rc1:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.14:rc2:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 86da71b57383d40993cb90baafb3735cffe5d800 < e4fdca366806f6bab374d1a95e626a10a3854b0c ; affected 86da71b57383d40993cb90baafb3735cffe5d800 < a88414fb1117f2fe65fb88e45ba694e1d09d5024 ; affected 86da71b57383d40993cb90baafb3735cffe5d800 < 071729150be9e1d1b851b70efb6d91ee9269d57b ; affected 86da71b57383d40993cb90baafb3735cffe5d800 < 34f1e1f657fae2891b485a3b2b95fe4d2aef9f0d ; affected 86da71b57383d40993cb90baafb3735cffe5d800 < 727d6a8b7ef3d25080fad228b2c4a1d4da5999c6 |
| Linux · Linux | affected 4.9 ; unaffected 0 < 4.9 ; unaffected 4.19.199 ≤ 4.19.* ; unaffected 5.4.136 ≤ 5.4.* ; unaffected 5.10.54 ≤ 5.10.* ; unaffected 5.13.6 ≤ 5.13.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |