Bug 234300 - smbfs slab corruption
smbfs slab corruption
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Layton
Martin Jenner
Depends On:
  Show dependency treegraph
Reported: 2007-03-28 07:20 EDT by Vasily Averin
Modified: 2008-01-09 12:29 EST (History)
3 users (show)

See Also:
Fixed In Version: RHBA-2007-0791
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-11-15 11:24:01 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
this patch is missed hunk in linux-2.6.9-smbfs-uid-gid.patch, sets the default files and dir permission (731 bytes, patch)
2007-03-28 07:20 EDT, Vasily Averin
no flags Details | Diff
patch from mainstream, fixes smbfs slab corruption (8.28 KB, patch)
2007-03-28 07:23 EDT, Vasily Averin
no flags Details | Diff

  None (edit)
Description Vasily Averin 2007-03-28 07:20:26 EDT
There is known issue that "mount -t smbfs" without dmask and fmask slleps on the
30 sec and produced the following messages:


I've investigated the reasons of these messages and found that on the
RHEL4-based kernel with SLAB_DEBUG enabled this test shows the slab corruption:

init_special_inode: bogus i_mode (0)
smb_retry: no connection process
smb_add_request: request [000001000bd22d38, mid=1802201963] timed out!
smb_delete_inode: could not close inode 2
Slab corruption: start=000001000bd22d38, len=344
Redzone: 0x5a2cf071/0x5a2cf071.
Last user: [<ffffffffa00ba56d>](smb_add_request+0x42d/0x4d0 [smbfs])
010: 6a 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
150: 02 00 58 00 fb ff ff ff
Prev obj: start=000001000bd22bc8, len=344
Redzone: 0x5a2cf071/0x5a2cf071.
Last user: [<0000000000000000>](0x0)
000: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
Comment 1 Vasily Averin 2007-03-28 07:20:27 EDT
Created attachment 151106 [details]
this patch is missed hunk in linux-2.6.9-smbfs-uid-gid.patch, sets the default files and dir permission
Comment 3 Vasily Averin 2007-03-28 07:29:51 EDT
It was reproduced on the 2.6.9-42.0.10.EL kernel
Comment 4 Jeff Layton 2007-05-11 11:14:02 EDT
Thanks for the patches and for doing the legwork to track down a reproducer!

I've attached the patch in comment #1 to BZ 168280 and will plan to propose it
for that BZ. I've also confirmed that the patch in comment #2 fixes the slab
corruption, so I'll plan propose that one to fix this BZ.
Comment 6 RHEL Product and Program Management 2007-05-11 16:41:43 EDT
This request was evaluated by Red Hat Kernel Team for inclusion in a Red
Hat Enterprise Linux maintenance release, and has moved to bugzilla 
status POST.
Comment 7 Jason Baron 2007-06-22 10:29:53 EDT
committed in stream U6 build 55.11. A test kernel with this patch is available
from http://people.redhat.com/~jbaron/rhel4/
Comment 10 errata-xmlrpc 2007-11-15 11:24:01 EST
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.