diff options
author | Juergen Gross <jgross@suse.com> | 2024-11-07 16:17:00 +0100 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2024-12-13 09:12:24 +0100 |
commit | f9244fb55f37356f75c739c57323d9422d7aa0f8 (patch) | |
tree | b49dd0f8a4ffe4cc903c59a06299d225d579a998 /drivers/platform/x86/intel/pmt/class.c | |
parent | f932fb9b40749d1c9a539d89bb3e288c077aafe5 (diff) | |
download | linux-f9244fb55f37356f75c739c57323d9422d7aa0f8.tar.gz linux-f9244fb55f37356f75c739c57323d9422d7aa0f8.tar.bz2 linux-f9244fb55f37356f75c739c57323d9422d7aa0f8.zip |
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 <marmarek@invisiblethingslab.com>
Fixes: d50b7914fae0 ("xen-netfront: Fix NULL sring after live migration")
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions