Bug 738291 (CVE-2011-3363) - CVE-2011-3363 kernel: cifs: always do is_path_accessible check in cifs_mount
Summary: CVE-2011-3363 kernel: cifs: always do is_path_accessible check in cifs_mount
Status: CLOSED ERRATA
Alias: CVE-2011-3363
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=moderate,public=20110307,repor...
Keywords: Security
Depends On: 692709 738299 738300 738301 738302 738303 748687 761369
Blocks: 738297
TreeView+ depends on / blocked
 
Reported: 2011-09-14 13:47 UTC by Petr Matousek
Modified: 2019-06-08 18:54 UTC (History)
17 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2012-05-10 13:26:41 UTC


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1465 normal SHIPPED_LIVE Important: kernel security and bug fix update 2011-11-22 21:45:37 UTC
Red Hat Product Errata RHSA-2011:1479 normal SHIPPED_LIVE Important: kernel security, bug fix, and enhancement update 2011-11-29 19:25:05 UTC
Red Hat Product Errata RHSA-2012:0010 normal SHIPPED_LIVE Important: kernel-rt security and bug fix update 2012-01-11 01:14:23 UTC

Description Petr Matousek 2011-09-14 13:47:10 UTC
Currently, we skip doing the is_path_accessible check in cifs_mount if
there is no prefixpath. There is a report of at least one server however
that allows a TREE_CONNECT to a share that has a DFS referral at its
root. UNC that had no prefixpath was used in that case, so the
is_path_accessible check was not triggered and the box later hit
a BUG() because we were chasing a DFS referral on the root dentry for
the mount.
     
Upstream fix:
70945643722ffeac779d2529a348f99567fa5c33

References:
https://bugzilla.redhat.com/show_bug.cgi?id=682829
https://github.com/torvalds/linux/commit/70945643722ffeac779d2529a348f99567fa5c33

Acknowledgements:

Red Hat would like to thank Yogesh Sharma for reporting this issue.

Comment 3 Petr Matousek 2011-09-14 13:58:39 UTC
Statement:

This issue affects the Linux kernel as shipped with Red Hat Enterprise Linux 4,
5, 6, and Red Hat Enterprise MRG. Red Hat Enterprise Linux 4 is now in Production 3 of the maintenance life-cycle, https://access.redhat.com/support/policy/updates/errata/, therefore the fix for this issue is not currently planned to be included in the future updates. This has been addressed in Red Hat Enterprise Linux 5, 6 and Red Hat Enterprise MRG via https://rhn.redhat.com/errata/RHSA-2011-1479.html, https://rhn.redhat.com/errata/RHSA-2011-1465.html, and https://rhn.redhat.com/errata/RHSA-2012-0010.html.

Comment 5 Chuck Ebbert 2011-09-15 11:37:37 UTC
I believe this also requires:

commit 221d1d797202984cb874e3ed9f1388593d34ee22
cifs: add fallback in is_path_accessible for old servers

Comment 6 Eugene Teo (Security Response) 2011-10-25 04:05:12 UTC
Created kernel tracking bugs for this issue

Affects: fedora-all [bug 748687]

Comment 7 errata-xmlrpc 2011-11-22 16:51:10 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2011:1465 https://rhn.redhat.com/errata/RHSA-2011-1465.html

Comment 8 errata-xmlrpc 2011-11-29 14:36:16 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2011:1479 https://rhn.redhat.com/errata/RHSA-2011-1479.html

Comment 10 errata-xmlrpc 2012-01-10 20:16:35 UTC
This issue has been addressed in following products:

  MRG for RHEL-6 v.2

Via RHSA-2012:0010 https://rhn.redhat.com/errata/RHSA-2012-0010.html


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