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

Skip to content
Commit 63eaa75e authored by Maurizio Lombardi's avatar Maurizio Lombardi Committed by Joerg Roedel
Browse files

amd_iommu: do not dereference a NULL pointer address.



under low memory conditions, alloc_pte() may return a NULL pointer.
iommu_map_page() does not check it and will panic the system.

Signed-off-by: default avatarMaurizio Lombardi <mlombard@redhat.com>
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent cafd2545
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment