From: Sudeep Holla <sudeep.holla@kernel.org>
To: Jens Wiklander <jens.wiklander@linaro.org>,
Unnathi Chalicheemala <unnathi.chalicheemala@oss.qualcomm.com>
Cc: Sudeep Holla <sudeep.holla@kernel.org>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org,
kernel@oss.qualcomm.com,
Trilok Soni <trilok.soni@oss.qualcomm.com>,
Satya Durga Srinivasu Prabhala <satya.prabhala@oss.qualcomm.com>
Subject: Re: [PATCH v2] firmware: arm_ffa: Fix NULL dereference in ffa_partition_info_get()
Date: Tue, 30 Jun 2026 10:27:34 +0100 [thread overview]
Message-ID: <178281163007.1093271.9754656642307066889.b4-ty@b4> (raw)
In-Reply-To: <20260617-ffa_partition_nullptr_fix-v2-1-bc801b4ce34c@oss.qualcomm.com>
On Wed, 17 Jun 2026 16:35:00 -0700, Unnathi Chalicheemala wrote:
> ffa_partition_info_get() passes uuid_str directly to uuid_parse()
> without a NULL check. When a caller passes NULL, uuid_parse() ->
> __uuid_parse() -> uuid_is_valid() dereferences the pointer, causing
> a kernel panic:
>
> Unable to handle kernel NULL pointer dereference at virtual address
> 0000000000000040
> pc : uuid_parse+0x40/0xac
> lr : ffa_partition_info_get+0x1c/0x94 [arm_ffa]
>
> [...]
Applied to sudeep.holla/linux (for-next/ffa/fixes), thanks!
[1/1] firmware: arm_ffa: Fix NULL dereference in ffa_partition_info_get()
https://git.kernel.org/sudeep.holla/c/8ae5f8e48366
--
Regards,
Sudeep
prev parent reply other threads:[~2026-06-30 9:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-17 23:35 [PATCH v2] firmware: arm_ffa: Fix NULL dereference in ffa_partition_info_get() Unnathi Chalicheemala
2026-06-30 9:27 ` Sudeep Holla [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=178281163007.1093271.9754656642307066889.b4-ty@b4 \
--to=sudeep.holla@kernel.org \
--cc=jens.wiklander@linaro.org \
--cc=kernel@oss.qualcomm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=satya.prabhala@oss.qualcomm.com \
--cc=trilok.soni@oss.qualcomm.com \
--cc=unnathi.chalicheemala@oss.qualcomm.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