[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190412.165459.691438507916310102.davem@davemloft.net>
Date: Fri, 12 Apr 2019 16:54:59 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: jdmason@...zu.us, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] vxge: fix return of a free'd memblock on a failed dma
mapping
From: Colin King <colin.king@...onical.com>
Date: Fri, 12 Apr 2019 14:45:12 +0100
> From: Colin Ian King <colin.king@...onical.com>
>
> Currently if a pci dma mapping failure is detected a free'd
> memblock address is returned rather than a NULL (that indicates
> an error). Fix this by ensuring NULL is returned on this error case.
>
> Addresses-Coverity: ("Use after free")
> Fixes: 528f727279ae ("vxge: code cleanup and reorganization")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Applied, thanks.
Powered by blists - more mailing lists