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-prev] [day] [month] [year] [list]
Message-Id: <20180726.140431.1980654012533107924.davem@davemloft.net>
Date:   Thu, 26 Jul 2018 14:04:31 -0700 (PDT)
From:   David Miller <davem@...emloft.net>
To:     avinash.repaka@...cle.com
Cc:     santosh.shilimkar@...cle.com, netdev@...r.kernel.org,
        linux-rdma@...r.kernel.org, rds-devel@....oracle.com,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] RDS: RDMA: Fix the NULL-ptr deref in rds_ib_get_mr

From: Avinash Repaka <avinash.repaka@...cle.com>
Date: Tue, 24 Jul 2018 20:31:58 -0700

> Registration of a memory region(MR) through FRMR/fastreg(unlike FMR)
> needs a connection/qp. With a proxy qp, this dependency on connection
> will be removed, but that needs more infrastructure patches, which is a
> work in progress.
> 
> As an intermediate fix, the get_mr returns EOPNOTSUPP when connection
> details are not populated. The MR registration through sendmsg() will
> continue to work even with fast registration, since connection in this
> case is formed upfront.
> 
> This patch fixes the following crash:
 ...
> Reported-by: syzbot+b51c77ef956678a65834@...kaller.appspotmail.com
> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@...cle.com>
> Signed-off-by: Avinash Repaka <avinash.repaka@...cle.com>

Applied and queued up for -stable, thanks.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ