Texas Instruments TI-RTOS, when configured to use HeapMem heap(default), malloc returns a valid pointer to a small buffer on extremely large values, which can trigger an integer overflow vulnerability in 'HeapMem_allocUnprotected' and result in code execution.
https://www.cisa.gov/news-events/ics-advisories/icsa-21-119-04
https://www.tenable.com/cyber-exposure/2021-threat-landscape-retrospective