]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerWilly Tarreau <w@1wt.eu>
Sat, 30 Apr 2011 14:53:35 +0000 (16:53 +0200)
commit8ece1d67112e1a03cf7cad1c5a5771bdaa8966e8
treeb3b89cf4a40d7a9619bd7c04960a6fe33303b7b9
parent621eff477de5b98ca070752231a470dd3e2fce5a
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>
Cc: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/can/bcm.c