The perf_cpu_time_max_percent_handler function in kernel/events/core.c in the Linux kernel before 4.11 allows local users to cause a denial of service (integer overflow) or possibly have unspecified other impact via a large value, as demonstrated by an incorrect sample-rate calculation.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
https://usn.ubuntu.com/3696-1/ | vendor advisory |
https://usn.ubuntu.com/3754-1/ | vendor advisory |
https://lists.debian.org/debian-lts-announce/2018/07/msg00020.html | mailing list |
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1572e45a924f254d9570093abde46430c3172e3d | patch vendor advisory |
http://www.securityfocus.com/bid/103607 | vdb entry |
https://usn.ubuntu.com/3696-2/ | vendor advisory |
https://github.com/torvalds/linux/commit/1572e45a924f254d9570093abde46430c3172e3d | third party advisory patch |