mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <mkp@kernel.org>
To: Jia Jia <physicalmtea@gmail.com>
Cc: "Martin K . Petersen" <mkp@kernel.org>,
	 James Bottomley <James.Bottomley@suse.de>,
	 Nicholas Bellinger <nab@linux-iscsi.org>,
	linux-scsi@vger.kernel.org,  target-devel@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1] scsi: target: validate REGISTER AND MOVE TransportID length
Date: Fri, 30 Oct 2026 21:02:44 -0400	[thread overview]
Message-ID: <yq1se1m3cnr.fsf@mail.kernel.org> (raw)
In-Reply-To: <20261021094334.198599-1-physicalmtea@gmail.com>


Jia,

> REGISTER AND MOVE has a 24-byte parameter-list header followed by a
> TransportID. A 24-byte parameter list with a zero TransportID length
> passes the existing tid_len + 24 check, then the handler reads buf[24]
> for the TransportID protocol identifier, one byte past the received
> parameter list.

Applied to 7.4/scsi-staging, thanks!

-- 
Martin K. Petersen

      reply	other threads:[~2026-10-31  1:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-21  9:43 Jia Jia
2026-10-31  1:02 ` Martin K. Petersen [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=yq1se1m3cnr.fsf@mail.kernel.org \
    --to=mkp@kernel.org \
    --cc=James.Bottomley@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=nab@linux-iscsi.org \
    --cc=physicalmtea@gmail.com \
    --cc=target-devel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®