aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <[email protected]>2016-04-14 15:01:17 +0000
committerFelipe Balbi <[email protected]>2016-04-20 07:38:06 +0000
commit38740a5b87d53ceb89eb2c970150f6e94e00373a (patch)
tree3846402f09e425009ae20f6f0f58be4227291cab /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentusb: dwc3: gadget: Fix suspend/resume during device mode (diff)
downloadkernel-38740a5b87d53ceb89eb2c970150f6e94e00373a.tar.gz
kernel-38740a5b87d53ceb89eb2c970150f6e94e00373a.zip
usb: gadget: f_fs: Fix use-after-free
When using asynchronous read or write operations on the USB endpoints the issuer of the IO request is notified by calling the ki_complete() callback of the submitted kiocb when the URB has been completed. Calling this ki_complete() callback will free kiocb. Make sure that the structure is no longer accessed beyond that point, otherwise undefined behaviour might occur. Fixes: 2e4c7553cd6f ("usb: gadget: f_fs: add aio support") Cc: <[email protected]> # v3.15+ Signed-off-by: Lars-Peter Clausen <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions