What’s Vulnerable › Vulnerabilities

CVE-2023-54034: iommufd: Make sure to zero vfio_iommu_type1_info before copying to user

Description

In the Linux kernel, the following vulnerability has been resolved: iommufd: Make sure to zero vfio_iommu_type1_info before copying to user Missed a zero initialization here. Most of the struct is filled with a copy_from_user(), however minsz for that copy is smaller than the actual struct by 8 bytes, thus we don't fill the padding.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-54034 or the next vulnerability affects your stack