A malicious userspace application can cause a integer overflow and bypass security checks performed by system call handlers. The impact would depend on the underlying system call and can range from denial of service to information leak to memory corruption resulting in code execution within the kernel. See NCC-ZEP-005 This issue affects: zephyrproject-rtos zephyr version 1.14.1 and later versions. version 2.1.0 and later versions.
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://zephyrprojectsec.atlassian.net/browse/ZEPSEC-27 | third party advisory |
https://github.com/zephyrproject-rtos/zephyr/pull/23239 | third party advisory patch |
https://github.com/zephyrproject-rtos/zephyr/pull/23653 | third party advisory patch |
https://github.com/zephyrproject-rtos/zephyr/pull/23654 | third party advisory patch |
https://docs.zephyrproject.org/latest/security/vulnerabilities.html#cve-2020-10067 |