VDB

CISA-2024-36974

CISA-2024-36974 PUBLISHED

Reported by Linux · Published June 18, 2024

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.

Affected Products

VendorProductVersions
LinuxLinuxa3d43c0d56f1, a3d43c0d56f1, a3d43c0d56f1
LinuxLinux5.2, 0, 5.4.279
LinuxLinuxa3d43c0d56f1, a3d43c0d56f1, a3d43c0d56f1

Timeline

  • Jun 18, 2024 CVE Published
  • Nov 5, 2024 CVE Updated

References

Open in Interactive Console →
$ Console Community · 100/wk Open console ›