Linux 9p file system development
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Dominique Martinet" <asmadeus@codewreck.org>
Cc: v9fs@lists.linux.dev
Subject: Re: [PATCH] 9p: reject RERROR/RLERROR with zero errcode
Date: Thu, 29 Oct 2026 06:05:12 +0000	[thread overview]
Message-ID: <sashiko-outbox-188790@kernel.org> (raw)
In-Reply-To: <20261029055801.3-1-asmadeus@codewreck.org>

> From: Hui Peng <benquike@gmail.com>
> 
> 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/20260919221734.3708000-1-benquike@gmail.com/
> Signed-off-by: Hui Peng <benquike@gmail.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261029055801.3-1-asmadeus@codewreck.org?part=1


      reply	other threads:[~2026-10-29  6:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-29  5:58 [PATCH] 9p: reject RERROR/RLERROR with zero errcode Dominique Martinet
2026-10-29  6:05 ` sashiko-bot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sashiko-outbox-188790@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=asmadeus@codewreck.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=v9fs@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox