[PATCH rds linux-next v2 0/2] WARNING in rds_message_alloc_sgs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: shamir rabinovitch <shamir.rabinovitch@xxxxxxxxxx>

This patch set fix google syzbot rds bug found in linux-next.
The first patch solve the syzbot issue.
The second patch fix issue mentioned by Leon Romanovsky that
drivers should not call WARN_ON as result from user input.

syzbot bug report can be foud here: https://lkml.org/lkml/2018/10/31/28

v1->v2:
- patch 1: make rds_iov_vector fields name more descriptive (Hakon)
- patch 1: fix potential mem leak in rds_rm_size if krealloc fail (Hakon)

Santosh: please look at the fixed patch 1 again.

shamir rabinovitch (2):
  net/rds: fix warn in rds_message_alloc_sgs
  net/rds: remove user triggered WARN_ON in rds_sendmsg

 net/rds/message.c | 11 ++++++---
 net/rds/rdma.c    | 63 ++++++++++++++++++++++++-----------------------
 net/rds/rds.h     | 20 ++++++++++++---
 net/rds/send.c    | 50 +++++++++++++++++++++++++++++++------
 4 files changed, 98 insertions(+), 46 deletions(-)

-- 
2.19.1




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux