Description
The dispatch_discard_io function in drivers/block/xen-blkback/blkback.c in the Xen blkback implementation in the Linux kernel before 3.10.5 allows guest OS users to cause a denial of service (data loss) via filesystem write operations on a read-only disk that supports the (1) BLKIF_OP_DISCARD (aka discard or TRIM) or (2) SCSI UNMAP feature.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 3.10.1-1 | — |
| Debian 13 | linux | 3.10.1-1 | — |
| Debian 12 | linux | 3.10.1-1 | — |
References
- USN-1943-1 vendor-advisory
- USN-2039-1 vendor-advisory
- USN-1938-1 vendor-advisory
- USN-1944-1 vendor-advisory
- USN-1945-1 vendor-advisory
- USN-2038-1 vendor-advisory
- http://people.canonical.com/~ubuntu-security/cve/2013/CVE-2013-2140.html
- [oss-security] 20130605 Re: xen/blkback: Check device permissions before allowing OP_DISCARD mailing-list
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=604c499cbbcc3d5fe5fb8d53306aa0fae1990109
- https://github.com/torvalds/linux/commit/604c499cbbcc3d5fe5fb8d53306aa0fae1990109
- USN-1947-1 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=971146
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.5
- USN-1946-1 vendor-advisory