diff options
| author | Nicholas Carlini <nicholas@carlini.com> | 2026-03-31 15:25:32 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-04-02 21:45:02 +0200 |
| commit | 07712db80857d5d09ae08f3df85a708ecfc3b61f (patch) | |
| tree | cab0b83e2c0ad5193da1fc9faf41a33591134774 /tools/perf/scripts/python/parallel-perf.py | |
| parent | 1635c2acdde86c4f555b627aec873c8677c421ed (diff) | |
eventpoll: defer struct eventpoll free to RCU grace period
In certain situations, ep_free() in eventpoll.c will kfree the epi->ep
eventpoll struct while it still being used by another concurrent thread.
Defer the kfree() to an RCU callback to prevent UAF.
Fixes: f2e467a48287 ("eventpoll: Fix semi-unbounded recursion")
Signed-off-by: Nicholas Carlini <nicholas@carlini.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions
