Bug 544417
| Summary: | cifs: possible NULL pointer dereference in mount-time DFS referral chasing code | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Jeff Layton <jlayton> | ||||
| Component: | kernel | Assignee: | Jeff Layton <jlayton> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Red Hat Kernel QE team <kernel-qe> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 5.5 | CC: | rwheeler, steved, yanwang | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 545984 (view as bug list) | Environment: | |||||
| Last Closed: | 2010-03-30 07:18:28 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 526950, 545984 | ||||||
| Attachments: |
|
||||||
|
Description
Jeff Layton
2009-12-04 20:28:46 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. This is reproducible: Basically you need 2 SMB servers, one has a DFS referral that points to the other server. You'll need an account on the first server (the referrer) but be unable to log into the second server (the referee) with the same account. Try to mount the DFS referral and it will fail with EPERM or something similar. The cifsd kernel thread will still be running however and can't be shut down. What happens in this situation is that a new pSesInfo pointer is allocated on top of the old one, but in the cleanup phase that isn't put. Instead, the old tcon pointer is put again, which corrupts memory and leaves the new SMB and TCP sessions dangling. in kernel-2.6.18-179.el5 You can download this test kernel from http://people.redhat.com/dzickus/el5 Please update the appropriate value in the Verified field (cf_verified) to indicate this fix has been successfully verified. Include a comment with verification details. hard to reproduce,only do code review 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 therefore 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. http://rhn.redhat.com/errata/RHSA-2010-0178.html |