In the Linux kernel, the following vulnerability has been resolved:
fs/proc/taskmmu: prevent integer overflow in pagemapscangetargs()
The "arg->veclen" variable is a u64 that comes from the user at the start of the function. The "arg->veclen * sizeof(struct pageregion))" multiplication can lead to integer wrapping. Use sizemul() to avoid that.
Also the sizeadd/mul() functions work on unsigned long so for 32bit systems we need to ensure that "arg->veclen" fits in an unsigned long.