aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorJuergen Gross <[email protected]>2024-11-07 16:17:00 +0100
committerJuergen Gross <[email protected]>2024-12-13 09:12:24 +0100
commitf9244fb55f37356f75c739c57323d9422d7aa0f8 (patch)
treeb49dd0f8a4ffe4cc903c59a06299d225d579a998 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parentf932fb9b40749d1c9a539d89bb3e288c077aafe5 (diff)
xen/netfront: fix crash when removing device
When removing a netfront device directly after a suspend/resume cycle it might happen that the queues have not been setup again, causing a crash during the attempt to stop the queues another time. Fix that by checking the queues are existing before trying to stop them. This is XSA-465 / CVE-2024-53240. Reported-by: Marek Marczykowski-Górecki <[email protected]> Fixes: d50b7914fae0 ("xen-netfront: Fix NULL sring after live migration") Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions