Home    |    View Topics    |    Search    |    Contact Us    |   



Category:   OS (Linux)  >   Linux Kernel Vendors:
Linux Kernel CIFS Buffer Overflow Lets Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1022023
SecurityTracker URL:
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Apr 9 2009
Impact:   Execution of arbitrary code via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): prior to
Description:   A vulnerability was reported in the Linux Kernel CIFS implementation. A remote user can execute arbitrary code on the target system.

A remote server can send a specially crafted response to the connected target system to trigger a buffer overflow in CIFSTCon() and execute arbitrary code on the target system.

The vulnerability resides in 'fs/cifs/connect.c'.

Impact:   A remote user can execute arbitrary code on the target system.
Solution:   The vendor silently fixed this vulnerability (
Vendor URL: (Links to External Site)
Cause:   Boundary error

Message History:   None.

 Source Message Contents

Subject:  [Full-disclosure] Linux Kernel CIFS Vulnerability

Dear list,

as discovered by Felix von Leitner (, 
Linux kernel patch contains:

--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -3667,7 +3667,7 @@ CIFSTCon(unsigned int xid, struct cifsSesInfo *ses,
                            BCC(smb_buffer_response)) {
                                tcon->nativeFileSystem =
-                                   kzalloc(length + 2, GFP_KERNEL);
+                                   kzalloc(2*(length + 1), GFP_KERNEL);
                                if (tcon->nativeFileSystem)

fixing a remotely exploitable buffer overflow vulnerability in the CIFS protocol.

Neither the Linux kernel team, the CIFS maintainers nor any of the commercial Linux distributors bothered to send out an advisory.
I'm at loss for words other than "irresponsible, arrogant assholes".  Linux 2009 == Microsoft 2002.


Full-Disclosure - We believe in it.
Hosted and sponsored by Secunia -


Go to the Top of This SecurityTracker Archive Page

Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, LLC