AZL-115471: CVE-2026-99661 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
mm/gup: check for overflow when converting nrpages to bytes in GUP-fast
The overflow check in gupfastfallback() only covers the addition to start. The preceding nrpages << PAGESHIFT can already have truncated the length on 32bit.
Users such as RapidIO's riodmatransfer() can derive such page counts from a 64-bit userspace length.
Let's just checkshloverflow() to reject any such overflow with -EOVERFLOW early.