In the Linux kernel through 3.2, the rds_message_alloc_sgs() function does not validate a value that is used during DMA page allocation, leading to a heap-based out-of-bounds write (related to the rds_rdma_extra_size function in net/rds/rdma.c).Referenceshttp://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c095508770aebf1b9218e77026e48345d719b17chttps://www.debian.org/security/2018/dsa-4187https://github.com/torvalds/linux/commit/c095508770aebf1b9218e77026e48345d719b17chttps://usn.ubuntu.com/3617-1/https://usn.ubuntu.com/3619-2/https://usn.ubuntu.com/3617-3/https://usn.ubuntu.com/3632-1/https://usn.ubuntu.com/3620-2/http://www.securityfocus.com/bid/102507https://access.redhat.com/errata/RHSA-2018:0470https://lists.debian.org/debian-lts-announce/2018/05/msg00000.htmlhttps://usn.ubuntu.com/3617-2/https://usn.ubuntu.com/3620-1/https://usn.ubuntu.com/3619-1/https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=60daca9efbb3e4109ebc1f7069543e5573fc124e