aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2015-11-20 01:18:54 +0000
committerJens Axboe <[email protected]>2015-11-20 15:49:28 +0000
commit02e2a5bfebe99edcf9d694575a75032d53fe1b73 (patch)
tree815d3e15f91df416bdabd567d11f3983fa48f383 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentmtip32xx: use formatting capability of kthread_create_on_node (diff)
downloadkernel-02e2a5bfebe99edcf9d694575a75032d53fe1b73.tar.gz
kernel-02e2a5bfebe99edcf9d694575a75032d53fe1b73.zip
mac: validate mac_partition is within sector
If md->signature == MAC_DRIVER_MAGIC and md->block_size == 1023, a single 512 byte sector would be read (secsize / 512). However the partition structure would be located past the end of the buffer (secsize % 512). Signed-off-by: Kees Cook <[email protected]> Cc: [email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions