summaryrefslogtreecommitdiff
path: root/mm/memory-failure.c
diff options
context:
space:
mode:
authorDaniel Rosenberg <drosen@google.com>2018-08-30 16:09:46 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-05 09:20:11 +0200
commit3af20bddda6f24b5a1c0072f2f6e3bb3ed04bf78 (patch)
tree801d79540e6ca2c9746c6d4fc27881a91124e53b /mm/memory-failure.c
parentb8c0e15469bab732065e64f7dffadab0b7103990 (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>
Diffstat (limited to 'mm/memory-failure.c')
0 files changed, 0 insertions, 0 deletions