use %pK instead of %p
authorMithun Maragiri <mmaragiri@nvidia.com>
Tue, 29 Nov 2016 04:05:43 +0000 (20:05 -0800)
committermobile promotions <svcmobile_promotions@nvidia.com>
Thu, 1 Dec 2016 09:05:24 +0000 (01:05 -0800)
commitb7fef4ba57b4c7bdf9d69488330f47c6805ee0a1
tree87a5d772f92b8a58286d90cc904080c61b0e7b54
parentb9e711e8306e14e7828581fb0d29eba0a39ae86b
use %pK instead of %p

The format specifier %p can leak kernel addresses.
The fix is designed to use %pK instead of %p, which also
evaluates whether kptr_restrict is set.

CVE-2016-8406
A-31796940
Bug 1836932

Change-Id: I6718ace16ac0de99ecd3c9cf290bda79eac6632e
Signed-off-by: Mithun Maragiri <mmaragiri@nvidia.com>
Signed-off-by: Gagan Grover <ggrover@nvidia.com>
Reviewed-on: http://git-master/r/1262333
Reviewed-by: Dhiren Parmar <dparmar@nvidia.com>
net/netfilter/nf_conntrack_core.c