From: Ben Hutchings Date: Fri, 19 Nov 2010 02:12:48 +0000 (+0000) Subject: [PATCH 1/3] rds: Disable auto-loading as mitigation against local exploits X-Git-Tag: archive/raspbian/6.12.27-1+rpi1^2~48 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=cce7b7aa6a6b0d654ba2a42ff5fec4edf8606047;p=linux.git [PATCH 1/3] rds: Disable auto-loading as mitigation against local exploits Forwarded: not-needed Recent review has revealed several bugs in obscure protocol implementations that can be exploited by local users for denial of service or privilege escalation. We can mitigate the effect of any remaining vulnerabilities in such protocols by preventing unprivileged users from loading the modules, so that they are only exploitable on systems where the administrator has chosen to load the protocol. The 'rds' protocol is one such protocol that has been found to be vulnerable, and which was not present in the 'lenny' kernel. Therefore disable auto-loading. Signed-off-by: Ben Hutchings Gbp-Pq: Topic debian Gbp-Pq: Name rds-Disable-auto-loading-as-mitigation-against-local.patch --- diff --git a/net/rds/af_rds.c b/net/rds/af_rds.c index 8435a20968e..494239808da 100644 --- a/net/rds/af_rds.c +++ b/net/rds/af_rds.c @@ -959,4 +959,4 @@ MODULE_DESCRIPTION("RDS: Reliable Datagram Sockets" " v" DRV_VERSION " (" DRV_RELDATE ")"); MODULE_VERSION(DRV_VERSION); MODULE_LICENSE("Dual BSD/GPL"); -MODULE_ALIAS_NETPROTO(PF_RDS); +/* MODULE_ALIAS_NETPROTO(PF_RDS); */