All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] 9pfs: fix illegal names with Twstat rename
@ 2026-05-29 16:30 Christian Schoenebeck
  2026-05-29 16:29 ` [PATCH 1/3] hw/9pfs: fix abort due to illegal name " Christian Schoenebeck
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Christian Schoenebeck @ 2026-05-29 16:30 UTC (permalink / raw)
  To: qemu-devel, qemu-stable; +Cc: Greg Kurz, Feifan Qian

This series fixes a guest-triggerable assertion fault (DoS) caused by
sending an illegal new name with the legacy Twstat rename handler.

 - Patch 1: This is the core fix that prevents the DoS vulnerability.

 - Patch 2: Additionally rejects "." and ".." as new names with Twstat
   rename operations (not being a vulnerability though).

 - Patch 3: Consolidates the name validation logic spread multiple
   times over multiple request handlers.

Christian Schoenebeck (3):
  hw/9pfs: fix abort due to illegal name with Twstat rename
  hw/9pfs: reject . and .. in Twstat rename
  hw/9pfs: consolidate name validation with check_name()

 hw/9pfs/9p.c | 97 +++++++++++++++++++++++-----------------------------
 1 file changed, 42 insertions(+), 55 deletions(-)

-- 
2.47.3


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-06-15  9:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-29 16:30 [PATCH 0/3] 9pfs: fix illegal names with Twstat rename Christian Schoenebeck
2026-05-29 16:29 ` [PATCH 1/3] hw/9pfs: fix abort due to illegal name " Christian Schoenebeck
2026-05-29 16:29 ` [PATCH 2/3] hw/9pfs: reject . and .. in " Christian Schoenebeck
2026-05-29 16:29 ` [PATCH 3/3] hw/9pfs: consolidate name validation with check_name() Christian Schoenebeck
2026-06-15  9:04 ` [PATCH 0/3] 9pfs: fix illegal names with Twstat rename Christian Schoenebeck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.