[PATCH rds linux-next v3 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)
v2->v3:
- patch 2: harden rds_sendmsg for invalid number of sgs (Gerd)

Santosh - we need your ack on both patches now

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 | 24 +++++++++++----
 net/rds/rdma.c    | 75 +++++++++++++++++++++++------------------------
 net/rds/rds.h     | 23 +++++++++++----
 net/rds/send.c    | 59 ++++++++++++++++++++++++++++++-------
 4 files changed, 120 insertions(+), 61 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