diff options
| author | Konrad Rzeszutek Wilk <[email protected]> | 2013-01-16 11:33:52 -0500 |
|---|---|---|
| committer | Konrad Rzeszutek Wilk <[email protected]> | 2013-06-07 17:05:55 -0400 |
| commit | 604c499cbbcc3d5fe5fb8d53306aa0fae1990109 (patch) | |
| tree | ab604a42d397957a3aeb55c343d59648d6332c30 /drivers/clocksource/qcom-timer.c | |
| parent | 7c4d7d710f7eb499ec483f25acc28b53adaa3260 (diff) | |
xen/blkback: Check device permissions before allowing OP_DISCARD
We need to make sure that the device is not RO or that
the request is not past the number of sectors we want to
issue the DISCARD operation for.
This fixes CVE-2013-2140.
Cc: [email protected]
Acked-by: Jan Beulich <[email protected]>
Acked-by: Ian Campbell <[email protected]>
[v1: Made it pr_warn instead of pr_debug]
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'drivers/clocksource/qcom-timer.c')
0 files changed, 0 insertions, 0 deletions