diff options
| author | Sean Young <sean@mess.org> | 2026-08-12 13:00:23 +0100 |
|---|---|---|
| committer | Sean Young <sean@mess.org> | 2026-09-22 14:50:16 +0100 |
| commit | 61c7ca95d2483c77dfdde1b007cbe846f145dec4 (patch) | |
| tree | 659ba21f396a0a3722caae81016eb8543d92e458 /tools/perf/scripts/python/flamegraph.py | |
| parent | 37efd09ba2c62e46e3a3a793025c186f8cd1a417 (diff) | |
media: rc: Ensure that rc_unregister_device() does not free input device
During or after rc_unregister_device(), IR may still be reported which
results in a input event being reported. This could result in a null
pointer deref in rc_keydown() or a use-after-free of the input device if
the pointer was read before it is set to NULL.
Fixes: dccc0c3ddf8f ("media: rc: fix race between unregister and urb/irq callbacks")
Signed-off-by: Sean Young <sean@mess.org>
Cc: stable@vger.kernel.org
Acked-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
