In the Linux kernel, the following vulnerability has been resolved: iommu/mediatek: Check return value after calling platformgetresource() platformgetresource() may return NULL pointer, we need check its return value to avoid null-ptr-deref in resource_size().