[Pkg-samba-maint] Bug#546809: listing contents of remote directory does not show all content and can cause kernel panic

Kevin Crain kevin.crain1 at gmail.com
Tue Sep 15 20:49:47 UTC 2009


Package: smbfs
Version: 2:3.2.5-4lenny6
Severity: important

*** Please type your report below this line ***

After mounting a remote directory, I 'cd' to a directory contained
therein and do an 'ls'.  This directory contains over 200 files but I
can see only 131.  If I do an 'ls some_file' on a specific file that is
not listed it will list it.  Browsing the remote directories using
Konqueror shows all files.  If I do an 'ls|less' on the directory with
over 131 files the kernel panics and the system either locks up or
reboots.  I was able to reproduce this bug on another server running
etch with the same cifs share.

'grep -i "smb" /var/log/kern.log' shows the following:

kern.log:Sep 14 09:30:12 localhost kernel: [318325.345106]  CIFS VFS:
RFC1001 size 35 bigger than SMB for Mid=34
kern.log:Sep 14 09:30:12 localhost kernel: [318325.345123] Bad SMB: :
dump of 48 bytes of data at 0xf7e1f300
kern.log:Sep 15 08:11:03 localhost kernel: [ 3059.733806]  CIFS VFS:
RFC1001 size 35 bigger than SMB for Mid=69
kern.log:Sep 15 08:11:03 localhost kernel: [ 3059.733806] Bad SMB: :
dump of 48 bytes of data at 0xf246ed80
kern.log:Sep 15 08:12:57 localhost kernel: [ 3208.781567]  CIFS VFS:
RFC1001 size 35 bigger than SMB for Mid=23
kern.log:Sep 15 08:12:57 localhost kernel: [ 3208.781599] Bad SMB: :
dump of 48 bytes of data at 0xf7b96b00

-- System Information:
Debian Release: 5.0.2
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages smbfs depends on:
ii  libc6           2.7-18                   GNU C Library: Shared libraries
ii  libcomerr2      1.41.3-1                 common error description
library
ii  libkeyutils1    1.2-9                    Linux Key Management
Utilities (li
ii  libkrb53        1.6.dfsg.4~beta1-5lenny1 MIT Kerberos runtime libraries
ii  libldap-2.4-2   2.4.11-1                 OpenLDAP libraries
ii  libpopt0        1.14-4                   lib for parsing cmdline
parameters
ii  libtalloc1      1.2.0~git20080616-1      hierarchical pool based
memory all
ii  libwbclient0    2:3.2.5-4lenny6          client library for
interfacing wit
ii  netbase         4.34                     Basic TCP/IP networking system
ii  samba-common    2:3.2.5-4lenny6          Samba common files used by
both th

smbfs recommends no packages.

Versions of packages smbfs suggests:
ii  smbclient                2:3.2.5-4lenny6 a LanManager-like simple
client fo

-- no debconf information






More information about the Pkg-samba-maint mailing list