In Wind River VxWorks, memory allocator has a possible overflow in calculating the memory block's size to be allocated by calloc(). As a result, the actual memory allocated is smaller than the buffer size specified by the arguments, leading to memory corruption.
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://support2.windriver.com/index.php?page=defects&on=view&id=V7LIBC-1327 | permissions required |
https://support2.windriver.com/index.php?page=cve&on=view&id=CVE-2020-28895 | vendor advisory |
https://www.oracle.com/security-alerts/cpuapr2022.html | third party advisory patch |