]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Fri, 31 Dec 2010 19:13:27 +0000 (11:13 -0800)
commit9f260e0efa4766e56d0ac14f1aeea6ee5eb8fe83
treea30573e33db58c6b084e02a50fd6f2bfd1cb90d7
parent4a5fc4e179d79c79ad87bfc12a2d7e9b2371e40c
CAN: 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>
net/can/bcm.c