]> rtime.felk.cvut.cz Git - socketcan-devel.git/commit
can-bcm: Use inode instead of kernel address for /proc file
authorhartkopp <hartkopp@030b6a49-0b11-0410-94ab-b0dab22257f2>
Sat, 1 Jan 2011 17:14:20 +0000 (17:14 +0000)
committerhartkopp <hartkopp@030b6a49-0b11-0410-94ab-b0dab22257f2>
Sat, 1 Jan 2011 17:14:20 +0000 (17:14 +0000)
commit5eacb60a1ffa29f95240c80483434317608ee043
tree4ec32e3bb923f54ce25e7855036b2d8145b8361e
parentee78047fc98cfc3a66393e8c5b4ec76dd9064cb3
can-bcm: Use inode instead of kernel address for /proc file

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>
Upstream commit:
http://git.kernel.org/?p=linux/kernel/git/davem/net-2.6.git;a=commitdiff;h=9f260e0efa4766e56d0ac14f1aeea6ee5eb8fe83

git-svn-id: svn://svn.berlios.de//socketcan/trunk@1227 030b6a49-0b11-0410-94ab-b0dab22257f2
kernel/2.6/net/can/bcm.c