linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Subject: [PATCH rdma-rc 0/3] RDMA fixes for 4.13
Date: Wed, 23 Aug 2017 08:35:39 +0300	[thread overview]
Message-ID: <20170823053542.17754-1-leon@kernel.org> (raw)

Hi Doug,

Those patches were found after you asked me if I have new patches
for the rdma-rc and at that time I really didn't have.

There are three patches in this series, two from Majd and one from Noa.

The patch from Noa was the one which pushed me to send it now.
Latest changes to support LID started to use port number to determine
port type, and it is not always safe. This allows access to non-allocated
memory, despite the fact that the scope of this attack is limited by the size
of port (u8), but it is better to fix it now and don't bother ourselves
with stable@ e.t.c.

The patches from Majd are fixing one panic and one as a followup to
latest discussion with Selvin about common modify_port function.

Thanks
----------------------------------------------------------------
Majd Dibbiny (2):
      IB/mlx5: Fix Raw Packet QP event handler assignment
      IB/mlx5: Always return success for RoCE modify port

Noa Osherovich (1):
      IB/core: Avoid accessing non-allocated memory when inferring port type

 drivers/infiniband/core/uverbs_cmd.c | 11 +++++++----
 drivers/infiniband/core/verbs.c      |  7 ++++++-
 drivers/infiniband/hw/mlx5/main.c    |  6 ++++++
 drivers/infiniband/hw/mlx5/qp.c      |  1 +
 include/rdma/ib_verbs.h              |  1 +
 5 files changed, 21 insertions(+), 5 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2017-08-23  5:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-23  5:35 Leon Romanovsky [this message]
     [not found] ` <20170823053542.17754-1-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-08-23  5:35   ` [PATCH rdma-rc 1/3] IB/core: Avoid accessing non-allocated memory when inferring port type Leon Romanovsky
2017-08-23  5:35   ` [PATCH rdma-rc 2/3] IB/mlx5: Fix Raw Packet QP event handler assignment Leon Romanovsky
2017-08-23  5:35   ` [PATCH rdma-rc 3/3] IB/mlx5: Always return success for RoCE modify port Leon Romanovsky
     [not found]     ` <20170823053542.17754-4-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-08-24 14:39       ` Yuval Shaia
2017-08-24 15:32         ` Leon Romanovsky
2017-08-24 19:41   ` [PATCH rdma-rc 0/3] RDMA fixes for 4.13 Doug Ledford

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170823053542.17754-1-leon@kernel.org \
    --to=leon-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
    --cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).