[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200630.183658.1733479085086002611.davem@davemloft.net>
Date: Tue, 30 Jun 2020 18:36:58 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: bjorn.andersson@...aro.org, manivannan.sadhasivam@...aro.org,
kuba@...nel.org, wenhu.wang@...o.com, wgong@...eaurora.org,
cjhuang@...eaurora.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, syzkaller-bugs@...glegroups.com
Subject: Re: [PATCH net] net: qrtr: Fix an out of bounds read
qrtr_endpoint_post()
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Tue, 30 Jun 2020 14:46:15 +0300
> This code assumes that the user passed in enough data for a
> qrtr_hdr_v1 or qrtr_hdr_v2 struct, but it's not necessarily true. If
> the buffer is too small then it will read beyond the end.
>
> Reported-by: Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>
> Reported-by: syzbot+b8fe393f999a291a9ea6@...kaller.appspotmail.com
> Fixes: 194ccc88297a ("net: qrtr: Support decoding incoming v2 packets")
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Applied and queued up for -stable, thanks Dan.
Powered by blists - more mailing lists