Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 26322ab5 authored by David Woodhouse's avatar David Woodhouse
Browse files

iommu/vt-d: Fix NULL pointer dereference in page request error case



Dan Carpenter pointed out an error path which could lead to us
dereferencing the 'svm' pointer after we know it to be NULL because the
PASID lookup failed. Fix that, and make it less likely to happen again.

Fixes: a222a7f0 ('iommu/vt-d: Implement page request handling')
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 5cec7537
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment