diff options
| author | Pan Bian <bianpan2016@163.com> | 2018-11-29 18:48:10 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-05 15:26:45 +0100 |
| commit | 5f6225f9ba03316f5b64cd88c0b5f969dbe832c4 (patch) | |
| tree | dde638f6612ea493aae2c47ade3d50b9f71cdb41 /fs/xfs/xfs_rtalloc.c | |
| parent | 3a011f62e67e38bbc48ca3d816cc32b00b90a1ad (diff) | |
rtl818x: fix potential use after free
[ Upstream commit afbb1947db94eacc5a13302eee88a9772fb78935 ]
entry is released via usb_put_urb just after calling usb_submit_urb.
However, entry is used if the submission fails, resulting in a use after
free bug. The patch fixes this.
Signed-off-by: Pan Bian <bianpan2016@163.com>
ACKed-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_rtalloc.c')
0 files changed, 0 insertions, 0 deletions
