Description
The cifs_close function in fs/cifs/file.c in the Linux kernel before 2.6.39 allows local users to cause a denial of service (NULL pointer dereference and BUG) or possibly have unspecified other impact by setting the O_DIRECT flag during an attempt to open a file on a CIFS filesystem.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | perf +14 | 2.6.32-131.2.1.el6 | RHSA-2011:0836 |
Advisories 1
- RHSA-2011:0836 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jun 28, 2026
References
- [linux-cifs] 20110405 Re: Repeatable crash in 2.6.38 related to O_DIRECT mailing-list
- [linux-cifs] 20110405 Repeatable crash in 2.6.38 related to O_DIRECT mailing-list
- [oss-security] 20110509 CVE-2011-1771 kernel: cifs oops when creating file with O_DIRECT set mailing-list
- 8367 third-party-advisory
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.39
- https://bugzilla.redhat.com/show_bug.cgi?id=703016
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=7797069305d13252fd66cf722aa8f2cbeb3c95cd