lkml.org 
[lkml]   [2021]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[git pull] IOMMU Fix for Linux v5.11-rc6
Hi Linus,

The following changes since commit 1048ba83fb1c00cd24172e23e8263972f6b5d9ac:

Linux 5.11-rc6 (2021-01-31 13:50:09 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git tags/iommu-fixes-v5.11-rc6

for you to fetch changes up to 4c9fb5d9140802db4db9f66c23887f43174e113c:

iommu: Check dev->iommu in dev_iommu_priv_get() before dereferencing it (2021-02-02 15:57:23 +0100)

----------------------------------------------------------------
IOMMU Fix for Linux v5.11-rc6

- Fix a possible NULL-ptr dereference in dev_iommu_priv_get()
which is too easy to accidentially trigger from IOMMU drivers.
In the current case the AMD IOMMU driver triggered it on some
machines in the IO-page-fault path, so fix it once and for
all.

----------------------------------------------------------------
Joerg Roedel (1):
iommu: Check dev->iommu in dev_iommu_priv_get() before dereferencing it

include/linux/iommu.h | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

Please pull.

Thanks,

Joerg

\
 
 \ /
  Last update: 2021-02-06 00:25    [W:0.065 / U:0.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site