APPLIED(B, B-OEM, C): [PATCH 0/1][SRU][B/B-OEM/C/D] Fix AMD IOMMU NULL dereference

Khaled Elmously khalid.elmously at canonical.com
Mon Mar 25 05:01:45 UTC 2019


On 2019-03-20 18:41:37 , Aaron Ma wrote:
> BugLink: https://bugs.launchpad.net/bugs/1820990
> 
> [Impact]
> When no acpi hid match the device, there will be a NULL dereference in
> amd iommu.
> It will make system hang.
> 
> [Fix]
> Check NULL pointer before using it.
> 
> [Test]
> Tested on several AMD platforms, bugs are fixed with this patch.
> 
> [Regression Potential]
> Low, upstream fix, Verified on several platforms.
> It should be safe.
> 
> Aaron Ma (1):
>   iommu/amd: Fix NULL dereference bug in match_hid_uid
> 
>  drivers/iommu/amd_iommu.c | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
> 
> -- 
> 2.17.1
> 
> 
> -- 
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team



More information about the kernel-team mailing list