Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a7b25c9f authored by Mohamed Ghannam's avatar Mohamed Ghannam Committed by Greg Kroah-Hartman
Browse files

RDS: Heap OOB write in rds_message_alloc_sgs()




[ Upstream commit c095508770aebf1b9218e77026e48345d719b17c ]

When args->nr_local is 0, nr_pages gets also 0 due some size
calculation via rds_rm_size(), which is later used to allocate
pages for DMA, this bug produces a heap Out-Of-Bound write access
to a specific memory region.

Signed-off-by: default avatarMohamed Ghannam <simo.ghannam@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0982b64e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment