summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-10-23 14:15:21 +0200
committerJohan Hovold <johan@kernel.org>2026-10-29 16:22:05 +0100
commita0403880a0a638f189e5187068244d9fd5bc8d4d (patch)
treea3400397abe71e69d8ef494aaaf423e8a6c43f84 /tools/perf/scripts/python/libxed.py
parent839ff5fa30995c40cd5fba15fd976ad63416738a (diff)
USB: serial: io_edgeport: fix potential NULL-deref at open
Do not mark the port as open until after the write FIFO has been allocated and initialised to prevent a racing interrupt completion from attempting to send stale data and dereference the FIFO buffer pointer. Note that the open flag defaults to false and is cleared on close() so there is no need to reinitialise it on every open(). Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Cc: stable@vger.kernel.org Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions