|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH 0/2] xen/pvcalls: fix the backend error path and a workqueue leak
1/2: every error path in pvcalls_new_active_socket() runs list_del() on a
{NULL, NULL} list_head, holding socket_lock. 2/2: the per-socket workqueue
is never destroyed. A frontend reaches 1/2 with one bad ring_order and 2/2
by connecting and releasing sockets in a loop. Nested-Xen lab: 5 of 5
cells oops as shipped and 0 of 5 patched, a normal connect moves the same
bytes both ways on both arms, and backend/pvcalls/<domid>/0/state after
teardown reads 4 before and 6 after. Reported to the Xen security team
first; PVCalls is not security supported, so posting here as suggested.
Yehyeong Lee (2):
xen/pvcalls: unwind pvcalls_new_active_socket() step by step
xen/pvcalls: destroy the per-socket workqueue on release
drivers/xen/pvcalls-back.c | 26 ++++++++++++++++----------
1 file changed, 16 insertions(+), 10 deletions(-)
base-commit: 7475ea8b58616b33c04afb976cf0fbaad9dd63fb
--
2.43.0
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |