The encode_name macro in misc/mntent_r.c in the GNU C Library (aka glibc or libc6) 2.11.1 and earlier, as used by ncpmount and mount.cifs, does not properly handle newline characters in mountpoint names, which allows local users to cause a denial of service (mtab corruption), or possibly modify mount options and gain privileges, via a crafted mount request.
https://seclists.org/bugtraq/2019/Jun/14
https://lists.opensuse.org/opensuse-security-announce/2010-10/msg00007.html
https://exchange.xforce.ibmcloud.com/vulnerabilities/59240
https://bugzilla.redhat.com/show_bug.cgi?id=559579
http://www.vupen.com/english/advisories/2011/0863
http://www.vupen.com/english/advisories/2010/1246
http://www.vmware.com/security/advisories/VMSA-2011-0012.html
http://www.ubuntu.com/usn/USN-944-1
http://www.securityfocus.com/archive/1/520102/100/0/threaded
http://www.redhat.com/support/errata/RHSA-2011-0412.html
http://www.mandriva.com/security/advisories?name=MDVSA-2010:112
http://www.mandriva.com/security/advisories?name=MDVSA-2010:111
http://www.debian.org/security/2010/dsa-2058
http://sourceware.org/git/?p=glibc.git%3Ba=commit%3Bh=ab00f4eac8f4932211259ff87be83144f5211540
http://securitytracker.com/id?1024043
http://security.gentoo.org/glsa/glsa-201011-01.xml
http://secunia.com/advisories/46397
http://secunia.com/advisories/43830
http://secunia.com/advisories/39900