← CVE Intelligence

CVE-2023-54034

iommufd: Make sure to zero vfio_iommu_type1_info before copying to user PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected d624d6652a65ad4f47a58b8651a1ec1163bb81d3 before 7adcec686e4d699c169d34c722132b2bce5232cb; affected d624d6652a65ad4f47a58b8651a1ec1163bb81d3 before b3551ead616318ea155558cdbe7e91495b8d9b33
Linux / Linuxaffected 6.2; unaffected 0 before 6.2; unaffected 6.2.3 through 6.2.*; unaffected 6.3 through *

CWE

No CWE identifiers supplied.

References