summaryrefslogtreecommitdiff
path: root/drivers/rapidio
diff options
context:
space:
mode:
authorDan Rosenberg <drosenberg@vsecurity.com>2011-04-05 12:45:59 -0400
committerAndi Kleen <ak@linux.intel.com>2011-08-01 13:54:42 -0700
commit3f14204734d5cb567edbc6e90885a5d6cae21ad0 (patch)
tree89d15b227a82009eeaee8d13aea2954c256dc661 /drivers/rapidio
parentfff22ebf8262a288e4541d69fd959d9f2d8e4cc7 (diff)
mpt2sas: prevent heap overflows and unchecked reads
[ upstream commit a1f74ae82d133ebb2aabb19d181944b4e83e9960 ] At two points in handling device ioctls via /dev/mpt2ctl, user-supplied length values are used to copy data from userspace into heap buffers without bounds checking, allowing controllable heap corruption and subsequently privilege escalation. Additionally, user-supplied values are used to determine the size of a copy_to_user() as well as the offset into the buffer to be read, with no bounds checking, allowing users to read arbitrary kernel memory. Signed-off-by: Dan Rosenberg <drosenberg@vsecurity.com> Cc: stable@kernel.org Acked-by: Eric Moore <eric.moore@lsi.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de> Signed-off-by: Andi Kleen <ak@linux.intel.com>
Diffstat (limited to 'drivers/rapidio')
0 files changed, 0 insertions, 0 deletions