[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171206.154503.335867422494464163.davem@davemloft.net>
Date: Wed, 06 Dec 2017 15:45:03 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: Haakon.Bugge@...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 net] rds: Fix NULL pointer dereference in __rds_rdma_map
From: Håkon Bugge <Haakon.Bugge@...cle.com>
Date: Wed, 6 Dec 2017 17:18:28 +0100
> This is a fix for syzkaller719569, where memory registration was
> attempted without any underlying transport being loaded.
>
> Analysis of the case reveals that it is the setsockopt() RDS_GET_MR
> (2) and RDS_GET_MR_FOR_DEST (7) that are vulnerable.
>
> Here is an example stack trace when the bug is hit:
...
> The fix is to check the existence of an underlying transport in
> __rds_rdma_map().
>
> Signed-off-by: Håkon Bugge <haakon.bugge@...cle.com>
> Reported-by: syzbot <syzkaller@...glegroups.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists