diff options
| author | Tu Dinh <ngoc-tu.dinh@vates.tech> | 2026-11-09 17:03:55 +0100 |
|---|---|---|
| committer | Juergen Gross <jgross@suse.com> | 2026-11-10 16:22:18 +0100 |
| commit | dc6d814562b65813556933dbda1015cef61dabf8 (patch) | |
| tree | 2879bf5b479cec56d843a1fd9e27e78384a2ea28 /include/linux/workqueue_api.h | |
| parent | 7475ea8b58616b33c04afb976cf0fbaad9dd63fb (diff) | |
xen-netback: Fix XenBus connection failure cleanup
xenvif_get_stats and xenvif_get_ethtool_stats capture vif->num_queues
under rcu_read_lock. We need to unpublish vif->num_queues before
synchronize_net to ensure that readers that come afterwards will not
read a non-zero vif->num_queues and attempt to access invalid queues.
This is the same cleanup algorithm as used in backend_disconnect and
added in commit b17075d5c198 ("xen-netback: fix race condition on XenBus
disconnect").
This is XSA-531
Fixes: 5fb756f1bbec ("xen-netback: Fix UAF when reading statistics data")
Signed-off-by: Tu Dinh <ngoc-tu.dinh@vates.tech>
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions
