kernel: xen: blkback: insufficient permission checks for BLKIF_OP_DISCARD
Published Sep 25, 2013
3.8
LOWCVSS 2.0
EPSS 1.01%
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.
Affected products
No data.
- ≤ 3.10.4
- 3.0
- 3.0
- 3.0
- 3.0
- 3.0
- 3.0
- 3.0
- 3.0.1
- 3.0.2
- 3.0.3
- 3.0.4
- 3.0.5
- 3.0.6
- 3.0.7
- 3.0.8
- 3.0.9
- 3.0.10
- 3.0.11
- 3.0.12
- 3.0.13
- 3.0.14
- 3.0.15
- 3.0.16
- 3.0.17
- 3.0.18
- 3.0.19
- 3.0.20
- 3.0.21
- 3.0.22
- 3.0.23
- 3.0.24
- 3.0.25
- 3.0.26
- 3.0.27
- 3.0.28
- 3.0.29
- 3.0.30
- 3.0.31
- 3.0.32
- 3.0.33
- 3.0.34
- 3.0.35
- 3.0.36
- 3.0.37
- 3.0.38
- 3.0.39
- 3.0.40
- 3.0.41
- 3.0.42
- 3.0.43
- 3.0.44
- 3.0.45
- 3.0.46
- 3.0.47
- 3.0.48
- 3.0.49
- 3.0.50
- 3.0.51
- 3.0.52
- 3.0.53
- 3.0.54
- 3.0.55
- 3.0.56
- 3.0.57
- 3.0.58
- 3.0.59
- 3.0.60
- 3.0.61
- 3.0.62
- 3.0.63
- 3.0.64
- 3.0.65
- 3.0.66
- 3.0.67
- 3.0.68
- 3.1
- 3.1
- 3.1
- 3.1
- 3.1
- 3.1.1
- 3.1.2
- 3.1.3
- 3.1.4
- 3.1.5
- 3.1.6
- 3.1.7
- 3.1.8
- 3.1.9
- 3.1.10
- 3.2
- 3.2
- 3.2
- 3.2
- 3.2
- 3.2
- 3.2
- 3.2.1
- 3.2.2
- 3.2.3
- 3.2.4
- 3.2.5
- 3.2.6
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3.9.4
- 3.9.10
- 3.9.11
- 3.10.0
- 3.10.1
- 3.10.2
- 3.10.3
- 3.10.5
- 3.10.6
- 3.10.7
- 3.10.8
- 3.10.9
- 3.10.10
- 3.10.11
- 3.10.12
- 3.11
- 3.11.1
No data.
Red Hat Enterprise Linux 5
kernel-xen
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise MRG 2
realtime-kernel
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | kernel-xen | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise MRG 2 | realtime-kernel | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Not vulnerable. This issue did not affect the versions of the kernel-xen package as shipped with Red Hat Enterprise Linux 5 as it has no support for BLKIF_OP_DISCARD. This issue did not affect Red Hat Enterprise Linux 6 and Red Hat Enterprise MRG 2.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:A/AC:M/Au:S/C:N/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.01% (0.01013) | 61.89th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.01% (0.01013) | 58.54th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.12% (0.00119) | 28.32th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.25% (0.00252) | 65.63th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.25% (0.00252) | 64.17th | v3 (v2023.03.01) |
| Mar 22, 2023 | 0.25% (0.00252) | 61.34th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.27% (0.00275) | 63.03th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.69% (0.02686) | 82.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.69% (0.02686) | 81.17th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.69% (0.02686) | 62.66th | v2 (v2022.01.01) |
References (17)
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=604c499cbbcc3d5fe5fb8d53306aa0fae1990109 x_refsource_CONFIRM
- http://people.canonical.com/~ubuntu-security/cve/2013/CVE-2013-2140.html x_refsource_CONFIRM
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.5 x_refsource_CONFIRM
- http://www.openwall.com/lists/oss-security/2013/06/05/21 mailing-listx_refsource_MLIST
- http://www.ubuntu.com/usn/USN-1938-1 vendor-advisoryx_refsource_UBUNTU
- http://www.ubuntu.com/usn/USN-1943-1 vendor-advisoryx_refsource_UBUNTU
- http://www.ubuntu.com/usn/USN-1944-1 vendor-advisoryx_refsource_UBUNTU
- http://www.ubuntu.com/usn/USN-1945-1 vendor-advisoryx_refsource_UBUNTU
- http://www.ubuntu.com/usn/USN-1946-1 vendor-advisoryx_refsource_UBUNTU
- http://www.ubuntu.com/usn/USN-1947-1 vendor-advisoryx_refsource_UBUNTU
- http://www.ubuntu.com/usn/USN-2038-1 vendor-advisoryx_refsource_UBUNTU
- http://www.ubuntu.com/usn/USN-2039-1 vendor-advisoryx_refsource_UBUNTU
- https://access.redhat.com/security/cve/CVE-2013-2140 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=971146 x_refsource_CONFIRMIssue Tracking
- https://github.com/torvalds/linux/commit/604c499cbbcc3d5fe5fb8d53306aa0fae1990109 x_refsource_CONFIRMExploitPatch
- https://nvd.nist.gov/vuln/detail/CVE-2013-2140
- https://www.cve.org/CVERecord?id=CVE-2013-2140
Change history (0)
No recorded changes yet.