diff options
| author | Daniel Rosenberg <drosen@google.com> | 2018-08-21 13:31:50 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-24 13:27:00 +0200 |
| commit | b84ec04bae905901f5226a67968dabc52ab0c3a6 (patch) | |
| tree | 9ea6e62c70b9e64a7f8b1bba03c785ab6191a898 /lib/debugobjects.c | |
| parent | 81970da69122fe4bf2af5bb1bb4c7f62d4744e79 (diff) | |
staging: android: ion: check for kref overflow
This patch is against 4.4. 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>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
