commit | 8b7856f9b5beb333079d2cba5cbdb152bbfc277f | [log] [tgz] |
---|---|---|
author | Daniel Rosenberg <drosen@google.com> | Thu Aug 30 16:09:46 2018 -0700 |
committer | Daniel Rosenberg <drosen@google.com> | Fri Sep 14 15:29:19 2018 -0700 |
tree | 8ecfa93b55f1b0bdc9123a2ab9d74d554dbaf90c | |
parent | 01d7587c4f03aa97c8d618a3e067923f932e0c60 [diff] |
staging: android: ion: check for kref overflow 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>