]> git.karo-electronics.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)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 26 Jun 2011 16:47:19 +0000 (12:47 -0400)
commit11c66be05f49f70a635a6eb63e6cffea520b22c5
treea2a2254659abea9ef3310dbe4cb95a7c406dd05e
parent5cf8a08026f539f396a3170d1991d651ee0fb30c
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: Paul Gortmaker <paul.gortmaker@windriver.com>
net/can/bcm.c