diff options
| author | Johan Hovold <johan@kernel.org> | 2026-10-23 14:15:20 +0200 |
|---|---|---|
| committer | Johan Hovold <johan@kernel.org> | 2026-10-29 16:22:05 +0100 |
| commit | 839ff5fa30995c40cd5fba15fd976ad63416738a (patch) | |
| tree | 4bc6a35420059aefb37031e4f13a144fa23c9119 /tools/perf/scripts/python/libxed.py | |
| parent | ae22e9b6412e5dc99e1cf8bd13c6176d44c7d42e (diff) | |
USB: serial: io_edgeport: fix potential close() use-after-free
Add the missing open check on write() and locking when updating the port
status during close() to prevent a racing interrupt completion handler
from trying to submit more data for the port while its write URB and
FIFO are being deallocated.
This issue was flagged by Sashiko when reviewing a related fix.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Cc: stable@vger.kernel.org
Link: https://sashiko.dev/#/patchset/20260714101316.823942-1-shpark061104%40gmail.com?part=1
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
