On 08/30/2018 05:41 PM, Greg Kroah-Hartman wrote:
On Thu, Aug 30, 2018 at 04:09:46PM -0700, Daniel Rosenberg wrote:
This patch is against 4.9. It does not apply to master due to a large rework of ion in 4.12 which removed the affected functions altogther. 4c23cbff073f3b9b ("staging: android: ion: Remove import interface")
Userspace can cause the kref to handles to increment arbitrarily high. Ensure it does not overflow.
Signed-off-by: Daniel Rosenberg drosen@google.com Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
I signed off on this? Where? When? Are you sure?
greg k-h
The sign off was on the 4.4.y version that I cherry-picked this from. There was a trivial conflict moving it to 4.9, but it did not modify any changed lines, so I hadn't thought that was worth noting on the patch. I apologise if leaving the signed-off-by was incorrect here.
-Daniel