mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bjorn Andersson <andersson@kernel.org>
To: agross@kernel.org, konrad.dybcio@linaro.org,
	linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
	Praveenkumar I <quic_ipkumar@quicinc.com>
Cc: quic_varada@quicinc.com, quic_clew@quicinc.com
Subject: Re: [PATCH v3] soc: qcom: qmi_encdec: Restrict string length in decode
Date: Thu,  3 Aug 2023 09:38:07 -0700	[thread overview]
Message-ID: <169108064636.108343.3377347407906942880.b4-ty@kernel.org> (raw)
In-Reply-To: <20230801064712.3590128-1-quic_ipkumar@quicinc.com>


On Tue, 01 Aug 2023 12:17:12 +0530, Praveenkumar I wrote:
> The QMI TLV value for strings in a lot of qmi element info structures
> account for null terminated strings with MAX_LEN + 1. If a string is
> actually MAX_LEN + 1 length, this will cause an out of bounds access
> when the NULL character is appended in decoding.
> 
> 

Applied, thanks!

[1/1] soc: qcom: qmi_encdec: Restrict string length in decode
      commit: 8d207400fd6b79c92aeb2f33bb79f62dff904ea2

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>

      reply	other threads:[~2023-08-03 16:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-01  6:47 Praveenkumar I
2023-08-03 16:38 ` Bjorn Andersson [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=169108064636.108343.3377347407906942880.b4-ty@kernel.org \
    --to=andersson@kernel.org \
    --cc=agross@kernel.org \
    --cc=konrad.dybcio@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=quic_clew@quicinc.com \
    --cc=quic_ipkumar@quicinc.com \
    --cc=quic_varada@quicinc.com \
    /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®