Lucene search

K
osvGoogleOSV:CVE-2024-36974
HistoryJun 18, 2024 - 8:15 p.m.

CVE-2024-36974

2024-06-1820:15:00
Google
osv.dev
3
linux kernel
vulnerability
resolved
taprio
tca_taprio_attr_priomap
userspace
inject
arbitrary data
second call
mqprio attributes

AI Score

6.8

Confidence

Low

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.