mirror of
https://github.com/torvalds/linux.git
synced 2026-11-20 13:03:48 +00:00
In p9_check_errors() (net/9p/client.c), a malicious or buggy 9p server returning P9_RERROR or P9_RLERROR with ecode == 0 causes p9_check_errors() to return 0 (success) while leaving the unparsed response payload as if the expected reply message type succeeded. Map ecode == 0 on RERROR / RLERROR to -EPROTO. Link: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Hui Peng <[email protected]> Message-ID: <[email protected]> Signed-off-by: Dominique Martinet <[email protected]>