9pfs: fix illegal names with Twstat rename
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | hw/9pfs: fix abort due to illegal name with Twstat renamehw/ | +5 | 0 replies | |
| 2/3 | hw/9pfs: reject . and .. in Twstat renamehw/ | +4 | 0 replies | |
| 3/3 | hw/9pfs: consolidate name validation with check_name()hw/ | +39 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] 9pfs: fix illegal names with Twstat rename
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(-)
Signature · 1 line
2.47.3