[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <44osnwyfiiqdqppu4q56bbzy6kl7xxe6mnxaujviydvm6tlutg@r5jujxv3pksp>
Date: Mon, 18 Aug 2025 18:04:43 +0200
From: Joerg Roedel <joro@...tes.org>
To: Robin Murphy <robin.murphy@....com>
Cc: XianLiang Huang <huangxianliang@...xincomputing.com>,
tjeznach@...osinc.com, markus.elfring@....de, will@...nel.org, paul.walmsley@...ive.com,
palmer@...belt.com, aou@...s.berkeley.edu, alex@...ti.fr, iommu@...ts.linux.dev,
linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] iommu/riscv: prevent NULL deref in iova_to_phys
On Fri, Aug 15, 2025 at 03:43:25PM +0100, Robin Murphy wrote:
> It's a valid PA on many systems of many architectures, but it's also been
> the "not mapped/error" value for the iova_to_phys operation all the way back
> to the very very first intel_iommu_iova_to_pfn() nearly 17 years ago, so hey
> :)
Right, the sins of the past finally haunt me ;)
Powered by blists - more mailing lists