]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
CAN: Use inode instead of kernel address for /proc file
authorDan Rosenberg <drosenberg@vsecurity.com>
Sun, 26 Dec 2010 06:54:53 +0000 (06:54 +0000)
committerAndi Kleen <ak@linux.intel.com>
Thu, 28 Apr 2011 15:21:01 +0000 (08:21 -0700)
commit4d9566dc782ea4c60c44f3d6ee8e982061967c90
tree3c8c0ab134943c0770b441824be956b23e7a100d
parenteca877d1ae4a597ff1f213396662690143d01f88
CAN: Use inode instead of kernel address for /proc file

commit 9f260e0efa4766e56d0ac14f1aeea6ee5eb8fe83 upstream.

Since the socket address is just being used as a unique identifier, its
inode number is an alternative that does not leak potentially sensitive
information.

CC-ing stable because MITRE has assigned CVE-2010-4565 to the issue.

Signed-off-by: Dan Rosenberg <drosenberg@vsecurity.com>
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/can/bcm.c