lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 10 Aug 2021 21:25:54 +0100 From: Will Deacon <will@...nel.org> To: robin.murphy@....com, vdumpa@...dia.com, Ashish Mhetre <amhetre@...dia.com> Cc: catalin.marinas@....com, kernel-team@...roid.com, Will Deacon <will@...nel.org>, iommu@...ts.linux-foundation.org, linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org Subject: Re: [Patch V3 0/2] iommu/arm-smmu: Fix races in iommu domain/group creation On Tue, 10 Aug 2021 10:13:59 +0530, Ashish Mhetre wrote: > When two devices with same SID are getting probed concurrently through > iommu_probe_device(), the iommu_group and iommu_domain are allocated more > than once because they are not protected for concurrency. This is leading > to context faults when one device is accessing IOVA from other device. > Fix this by protecting iommu_domain and iommu_group creation with mutexes. > > Changes in v3: > * Updated commit messages. > * Added Signed-off-by in patch 2. > > [...] Applied to will (for-joerg/arm-smmu/updates), thanks! [1/2] iommu: Fix race condition during default domain allocation https://git.kernel.org/will/c/211ff31b3d33 [2/2] iommu/arm-smmu: Fix race condition during iommu_group creation https://git.kernel.org/will/c/b1a1347912a7 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev
Powered by blists - more mailing lists