High severity · published Jun 18, 2024
CVE-2024-36974
net/sched: taprio: always validate TCA_TAPRIO_ATTR_PRIOMAP
7.8
CVSS
0.3%
EPSS
No
On KEV
Description
In the Linux kernel, the following vulnerability has been resolved:
net/sched: taprio: always validate TCA_TAPRIO_ATTR_PRIOMAP
If one TCA_TAPRIO_ATTR_PRIOMAP attribute has been provided,
taprio_parse_mqprio_opt() must validate it, or userspace
can inject arbitrary data to the kernel, the second time
taprio_change() is called.
First call (with valid attributes) sets dev->num_tc
to a non zero value.
Second call (with arbitrary mqprio attributes)
returns early from taprio_parse_mqprio_opt()
and bad things can happen.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 21% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
5.2 before 5.4.279; 5.5 before 5.10.221; 5.11 before 5.15.162; 5.16 before 6.1.95; 6.2 before 6.6.35; 6.7 before 6.9.6; +2 more · source: NVD
LI
Linux · Linux
a3d43c0d56f1b94e74963a2fbadfb70126d92213 before c6041e7124464ce7e896ee3f912897ce88a0c4ec; a3d43c0d56f1b94e74963a2fbadfb70126d92213 before 6db4af09987cc5d5f0136bd46148b0e0460dae5b; a3d43c0d56f1b94e74963a2fbadfb70126d92213 before d3dde4c217f0c31ab0621912e682b57e677dd923; a3d43c0d56f1b94e74963a2fbadfb70126d92213 before 0bf6cc96612bd396048f57d63f1ad454a846e39c; a3d43c0d56f1b94e74963a2fbadfb70126d92213 before 724050ae4b76e4fae05a923cb54101d792cf4404; a3d43c0d56f1b94e74963a2fbadfb70126d92213 before c37a27a35eadb59286c9092c49c241270c802ae2; +2 more · source: vendor
RR
RUGGEDCOM RST2428P · Siemens
before V3.1 · source: CISA
SX
SCALANCE XCM-/XRM-/XCH-/XRH-300 family · Siemens
before V3.1 · source: CISA
SS
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem · Siemens
before V1.1.1 · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-36974
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-36974
Patch
https://git.kernel.org/stable/c/0bf6cc96612bd396048f57d63f1ad454a846e39c
Patch
https://git.kernel.org/stable/c/6db4af09987cc5d5f0136bd46148b0e0460dae5b
Patch
https://git.kernel.org/stable/c/724050ae4b76e4fae05a923cb54101d792cf4404
Patch
https://git.kernel.org/stable/c/c37a27a35eadb59286c9092c49c241270c802ae2
Patch
https://git.kernel.org/stable/c/c6041e7124464ce7e896ee3f912897ce88a0c4ec
Patch
https://git.kernel.org/stable/c/d3dde4c217f0c31ab0621912e682b57e677dd923
More from Kernel
9.8
CVE-2025-39682
tls: fix handling of zero-length records on the rx_list
8.8
CVE-2026-53266
netfilter: bridge: make ebt_snat ARP rewrite writable
8.8
CVE-2013-6282
Linux Kernel Improper Input Validation Vulnerability
8.4
CVE-2022-0185
Linux Kernel Heap-Based Buffer Overflow Vulnerability
8.4
CVE-2013-2094
Linux Kernel Privilege Escalation Vulnerability
