lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181216070109.6758-1-shamir.rabinovitch@oracle.com>
Date:   Sun, 16 Dec 2018 09:01:07 +0200
From:   Shamir Rabinovitch <shamir.rabinovitch@...cle.com>
To:     linux-rdma@...r.kernel.org, rds-devel@....oracle.com,
        netdev@...r.kernel.org
Cc:     shamir.rabinovitch@...cle.com, gerd.rausch@...cle.com,
        santosh.shilimkar@...cle.com, haakon.bugge@...cle.com,
        davem@...emloft.net
Subject: [PATCH rds linux-next v4 0/2] WARNING in rds_message_alloc_sgs

From: shamir rabinovitch <shamir.rabinovitch@...cle.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ