The cifs_find_smb_ses function in fs/cifs/connect.c in the Linux kernel before 2.6.36 does not properly determine the associations between users and sessions, which allows local users to bypass CIFS share authentication by leveraging a mount of a share by a different user.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Linux_kernel | Linux | * | 2.6.36 (excluding) |
| Red Hat Enterprise Linux 5 | RedHat | kernel-0:2.6.18-274.7.1.el5 | * |
| Red Hat Enterprise MRG 2 | RedHat | kernel-rt-0:2.6.33.9-rt31.75.el6rt | * |
| Linux | Ubuntu | hardy | * |
| Linux | Ubuntu | lucid | * |
| Linux | Ubuntu | maverick | * |
| Linux | Ubuntu | upstream | * |
| Linux-armadaxp | Ubuntu | upstream | * |
| Linux-ec2 | Ubuntu | lucid | * |
| Linux-ec2 | Ubuntu | maverick | * |
| Linux-ec2 | Ubuntu | upstream | * |
| Linux-fsl-imx51 | Ubuntu | lucid | * |
| Linux-fsl-imx51 | Ubuntu | upstream | * |
| Linux-lts-backport-maverick | Ubuntu | lucid | * |
| Linux-lts-backport-maverick | Ubuntu | upstream | * |
| Linux-lts-backport-natty | Ubuntu | lucid | * |
| Linux-lts-backport-natty | Ubuntu | upstream | * |
| Linux-lts-backport-oneiric | Ubuntu | upstream | * |
| Linux-mvl-dove | Ubuntu | lucid | * |
| Linux-mvl-dove | Ubuntu | maverick | * |
| Linux-mvl-dove | Ubuntu | upstream | * |
| Linux-ti-omap4 | Ubuntu | maverick | * |
| Linux-ti-omap4 | Ubuntu | upstream | * |