mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Markus Elfring <Markus.Elfring@web.de>
To: XianLiang Huang <huangxianliang@lanxincomputing.com>,
	iommu@lists.linux.dev, linux-riscv@lists.infradead.org,
	Tomasz Jeznach <tjeznach@rivosinc.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
	"Albert Ou" <aou@eecs.berkeley.edu>,
	"Alexandre Ghiti" <alex@ghiti.fr>, "Jörg Rödel" <joro@8bytes.org>,
	"Palmer Dabbelt" <palmer@dabbelt.com>,
	"Paul Walmsley" <paul.walmsley@sifive.com>,
	"Robin Murphy" <robin.murphy@arm.com>,
	"Will Deacon" <will@kernel.org>
Subject: Re: [PATCH v?] iommu/riscv: check pte null pointer before use
Date: Thu, 7 Aug 2025 09:22:45 +0200	[thread overview]
Message-ID: <effb29be-6d14-47e5-ab71-454119467750@web.de> (raw)
In-Reply-To: <20250807033252.1613-1-huangxianliang@lanxincomputing.com>

…> Check the pointer before using it to avoid the bug. …

Would a summary phrase like “Prevent null pointer dereference in riscv_iommu_iova_to_phys()”
be also helpful?

Regards,
Markus

  reply	other threads:[~2025-08-07  7:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-07  3:32 [PATCH v2 RESEND] " XianLiang Huang
2025-08-07  7:22 ` Markus Elfring [this message]
2025-08-08  2:42   ` Re: [PATCH v?] " XianLiang Huang
2025-08-08  7:21     ` [v?] " Markus Elfring
2026-06-25 19:10 ` [PATCH v2 RESEND] " Paul Walmsley

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=effb29be-6d14-47e5-ab71-454119467750@web.de \
    --to=markus.elfring@web.de \
    --cc=alex@ghiti.fr \
    --cc=aou@eecs.berkeley.edu \
    --cc=huangxianliang@lanxincomputing.com \
    --cc=iommu@lists.linux.dev \
    --cc=joro@8bytes.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=palmer@dabbelt.com \
    --cc=paul.walmsley@sifive.com \
    --cc=robin.murphy@arm.com \
    --cc=tjeznach@rivosinc.com \
    --cc=will@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®