diff options
| author | Oliver Neukum <[email protected]> | 2019-05-09 04:57:09 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-05-28 12:26:11 -0400 |
| commit | eff73de2b1600ad8230692f00bc0ab49b166512a (patch) | |
| tree | 38d309e888039ef6d5eedfe77a77048245a69840 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | a82c3149ad8b4a84f9737a633250815d5cf0cc5e (diff) | |
media: cpia2_usb: first wake up, then free in disconnect
Kasan reported a use after free in cpia2_usb_disconnect()
It first freed everything and then woke up those waiting.
The reverse order is correct.
Fixes: 6c493f8b28c67 ("[media] cpia2: major overhaul to get it in a working state again")
Signed-off-by: Oliver Neukum <[email protected]>
Reported-by: [email protected]
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions