public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH rds linux-next v4 0/2] WARNING in rds_message_alloc_sgs
@ 2018-12-16  7:01 Shamir Rabinovitch
  2018-12-16  7:01 ` [PATCH rds linux-next v4 1/2] net/rds: fix warn " Shamir Rabinovitch
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Shamir Rabinovitch @ 2018-12-16  7:01 UTC (permalink / raw)
  To: linux-rdma, rds-devel, netdev
  Cc: shamir.rabinovitch, gerd.rausch, santosh.shilimkar, haakon.bugge,
	davem

From: shamir rabinovitch <shamir.rabinovitch@oracle.com>

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)
v3->v4
- Santosh a.b. on both patches + repost to net-dev

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-12-19 18:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-16  7:01 [PATCH rds linux-next v4 0/2] WARNING in rds_message_alloc_sgs Shamir Rabinovitch
2018-12-16  7:01 ` [PATCH rds linux-next v4 1/2] net/rds: fix warn " Shamir Rabinovitch
2018-12-16  7:01 ` [PATCH rds linux-next v4 2/2] net/rds: remove user triggered WARN_ON in rds_sendmsg Shamir Rabinovitch
2018-12-18 22:57 ` [PATCH rds linux-next v4 0/2] WARNING in rds_message_alloc_sgs David Miller
2018-12-18 23:02   ` Santosh Shilimkar
2018-12-19 10:54     ` Shamir Rabinovitch
2018-12-19 18:00       ` Santosh Shilimkar
2018-12-19 18:22         ` David Miller
2018-12-19 18:26           ` Santosh Shilimkar
2018-12-19 18:30 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox