Search: Home Bugtraq Vulnerabilities Mailing Lists Jobs Tools Beta Programs

Linux autofs Vulnerability

Solution:
The author has been notified of the problem and a quick-fix patch is available below.

--- root.c.orig Thu Feb 18 20:26:23 1999

+++ root.c Thu Feb 18 20:26:17 1999

@@ -217,6 +217,11 @@

DPRINTK(("autofs_root_lookup: name = "));

autofs_say(dentry->d_name.name,dentry->d_name.len);

+ /* quick patch by balif@nacs.net 2-18-99 */

+ /* Prevents overflow of pkt.name in waitq.c:autofs_notify_daemon() */

+ if (dentry->d_name.len > 255)

+ return -ENAMETOOLONG;

+ if (!S_ISDIR(dir->i_mode))

return -ENOTDIR;








 

Privacy Statement
Copyright 2009, SecurityFocus