diff options
author | Mohamed Ghannam <simo.ghannam@gmail.com> | 2018-01-02 19:44:34 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-17 09:35:29 +0100 |
commit | 10d06ed9a1899fcc1ecb7a1573f0f95b92dc470c (patch) | |
tree | d8fd1375f3b94c6b069ba14115375a5db04bf353 /include/linux/phy.h | |
parent | d19b5ed46cce475fa8cae56aba8eadf794a1f090 (diff) |
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: Mohamed Ghannam <simo.ghannam@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/phy.h')
0 files changed, 0 insertions, 0 deletions