CVE-2013-2140
What it is
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.
At a glance
- Exploitability
- Can be exploited from the same network segment with a login. Limited direct impact.
- Exploit odds
- 1.0% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.0% in the next 30 days (EPSS).
- Severity: 3.8 LOW (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.0% · EPSS, next 30 days
- Weakness
- CWE-20 · Improper input validation
- Record status
- Modified
Affected
- Linux Kernel ≤ 3.10.4
- Linux Kernel 3.0
- Linux Kernel 3.0.1
- Linux Kernel 3.0.2
- Linux Kernel 3.0.3
- Linux Kernel 3.0.4
- Linux Kernel 3.0.5
- Linux Kernel 3.0.6
Attack profile CVSS 2.0 · 3.8
- Attack vector
- Adjacent network
- Complexity
- Medium
- Authentication
- Single
- Confidentiality
- None
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:A/AC:M/Au:S/C:N/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2013-2140.md and follow it. Check whether this project is affected by CVE-2013-2140. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/torvalds/linux/commit/604c499cbbcc3d5fe5fb8d53306aa0fae1990109
- https://github.com/torvalds/linux/commit/604c499cbbcc3d5fe5fb8d53306aa0fae1990109
References
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=604c499cbbcc3d5fe5fb8d53306aa0fae1990109
- http://people.canonical.com/~ubuntu-security/cve/2013/CVE-2013-2140.html
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.5
- http://www.openwall.com/lists/oss-security/2013/06/05/21
- http://www.ubuntu.com/usn/USN-1938-1
- http://www.ubuntu.com/usn/USN-1943-1
- http://www.ubuntu.com/usn/USN-1944-1
- http://www.ubuntu.com/usn/USN-1945-1
- http://www.ubuntu.com/usn/USN-1946-1
- http://www.ubuntu.com/usn/USN-1947-1
- http://www.ubuntu.com/usn/USN-2038-1
- http://www.ubuntu.com/usn/USN-2039-1
- https://bugzilla.redhat.com/show_bug.cgi?id=971146
- https://github.com/torvalds/linux/commit/604c499cbbcc3d5fe5fb8d53306aa0fae1990109
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=604c499cbbcc3d5fe5fb8d53306aa0fae1990109
- http://people.canonical.com/~ubuntu-security/cve/2013/CVE-2013-2140.html
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.5
- http://www.openwall.com/lists/oss-security/2013/06/05/21
- http://www.ubuntu.com/usn/USN-1938-1
- http://www.ubuntu.com/usn/USN-1943-1
- http://www.ubuntu.com/usn/USN-1944-1
- http://www.ubuntu.com/usn/USN-1945-1
- http://www.ubuntu.com/usn/USN-1946-1
- http://www.ubuntu.com/usn/USN-1947-1
- http://www.ubuntu.com/usn/USN-2038-1