[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2bc345ad-07ac-fec2-273d-4c8d6319af6b@secunet.com>
Date: Thu, 3 Sep 2020 10:16:26 +0200
From: Torsten Hilbrich <torsten.hilbrich@...unet.com>
To: Lu Baolu <baolu.lu@...ux.intel.com>, Joerg Roedel <joro@...tes.org>
CC: Robin Murphy <robin.murphy@....com>,
Wendy Wang <wendy.wang@...el.com>,
Ashok Raj <ashok.raj@...el.com>,
<iommu@...ts.linux-foundation.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/1] iommu/vt-d: Fix NULL pointer dereference in
dev_iommu_priv_set()
On 03.09.20 08:51, Lu Baolu wrote:
> The dev_iommu_priv_set() must be called after probe_device(). This fixes
> a NULL pointer deference bug when booting a system with kernel cmdline
> "intel_iommu=on,igfx_off", where the dev_iommu_priv_set() is abused.
[...]
>
> Fixes: 01b9d4e21148c ("iommu/vt-d: Use dev_iommu_priv_get/set()")
> Reported-by: Torsten Hilbrich <torsten.hilbrich@...unet.com>
> Reported-by: Wendy Wang <wendy.wang@...el.com>
> Link: https://lore.kernel.org/linux-iommu/96717683-70be-7388-3d2f-61131070a96a@secunet.com/
> Signed-off-by: Lu Baolu <baolu.lu@...ux.intel.com>
Tested-by: Torsten Hilbrich <torsten.hilbrich@...unet.com>
Regards,
Torsten
Powered by blists - more mailing lists