[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171227.103754.1156659391056933085.davem@davemloft.net>
Date: Wed, 27 Dec 2017 10:37:54 -0500 (EST)
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 net] RDS: Check cmsg_len before dereferencing CMSG_DATA
From: Avinash Repaka <avinash.repaka@...cle.com>
Date: Thu, 21 Dec 2017 20:17:04 -0800
> RDS currently doesn't check if the length of the control message is
> large enough to hold the required data, before dereferencing the control
> message data. This results in following crash:
...
> To fix this, we verify that the cmsg_len is large enough to hold the
> data to be read, before proceeding further.
>
> Reported-by: syzbot <syzkaller-bugs@...glegroups.com>
> Signed-off-by: Avinash Repaka <avinash.repaka@...cle.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists