diff options
| author | Antonio Quartulli <antonio@openvpn.net> | 2026-07-28 13:48:50 +0200 |
|---|---|---|
| committer | Antonio Quartulli <antonio@openvpn.net> | 2026-07-30 11:28:30 +0200 |
| commit | 59aed1eb60d70678a53acccb0cb337a26ce6680e (patch) | |
| tree | 643da6f17a01ffc4ea158c933faf715f960bb1db /tools/perf/scripts/python/flamegraph.py | |
| parent | cc12f7240c8c4dee557749d33237542613992f14 (diff) | |
ovpn: ensure socket is owned by ovpn before deref sk_user_data
Some subsystems, like BPF SOCKMAP, set sk_user_data without
actually setting the encap_type.
For this reason, we must make sure that the type is the
one ovpn expects before dereferencing sk_user_data.
Failing to do so may lead to out-of-bounds reads.
Fixes: f6226ae7a0cd ("ovpn: introduce the ovpn_socket object")
Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
