From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin K. Petersen" Subject: Re: [patch v2] arcmsr: buffer overflow in arcmsr_iop_message_xfer() Date: Thu, 15 Sep 2016 09:59:01 -0400 Message-ID: References: <20160915134456.GA30277@mwanda> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from userp1040.oracle.com ([156.151.31.81]:25987 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757748AbcION7S (ORCPT ); Thu, 15 Sep 2016 09:59:18 -0400 In-Reply-To: <20160915134456.GA30277@mwanda> (Dan Carpenter's message of "Thu, 15 Sep 2016 16:44:56 +0300") Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Dan Carpenter Cc: "James E.J. Bottomley" , "Martin K. Petersen" , Ching Huang , Hannes Reinicke , Johannes Thumshirn , Tomas Henzl , linux-scsi@vger.kernel.org, security@kernel.org >>>>> "Dan" == Dan Carpenter writes: Dan> We need to put an upper bound on "user_len" so the memcpy() doesn't Dan> overflow. Applied to 4.9/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering