{"id":"CVE-2023-54034","state":"PUBLISHED","title":"iommufd: Make sure to zero vfio_iommu_type1_info before copying to user","description":"In the Linux kernel, the following vulnerability has been resolved:\n\niommufd: Make sure to zero vfio_iommu_type1_info before copying to user\n\nMissed a zero initialization here. Most of the struct is filled with\na copy_from_user(), however minsz for that copy is smaller than the\nactual struct by 8 bytes, thus we don't fill the padding.","publishedAt":"2025-12-24T10:56:01.509Z","updatedAt":"2026-05-11T19:54:09.017Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d624d6652a65ad4f47a58b8651a1ec1163bb81d3","status":"affected","lessThan":"7adcec686e4d699c169d34c722132b2bce5232cb","versionType":"git"},{"version":"d624d6652a65ad4f47a58b8651a1ec1163bb81d3","status":"affected","lessThan":"b3551ead616318ea155558cdbe7e91495b8d9b33","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iommu/iommufd/vfio_compat.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.2","versionType":"semver"},{"version":"6.2.3","status":"unaffected","lessThanOrEqual":"6.2.*","versionType":"semver"},{"version":"6.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iommu/iommufd/vfio_compat.c"]}],"references":["https://git.kernel.org/stable/c/7adcec686e4d699c169d34c722132b2bce5232cb","https://git.kernel.org/stable/c/b3551ead616318ea155558cdbe7e91495b8d9b33"],"weaknesses":[],"ingestedAt":"2026-10-29T20:06:42.242Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/54xxx/CVE-2023-54034.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-54034","state":"PUBLISHED","datePublished":"2025-12-24T10:56:01.509Z","dateUpdated":"2026-05-11T19:54:09.017Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-12-24T10:53:46.180Z"},"containers":{"cna":{"title":"iommufd: Make sure to zero vfio_iommu_type1_info before copying to user","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\niommufd: Make sure to zero vfio_iommu_type1_info before copying to user\n\nMissed a zero initialization here. Most of the struct is filled with\na copy_from_user(), however minsz for that copy is smaller than the\nactual struct by 8 bytes, thus we don't fill the padding."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d624d6652a65ad4f47a58b8651a1ec1163bb81d3","status":"affected","lessThan":"7adcec686e4d699c169d34c722132b2bce5232cb","versionType":"git"},{"version":"d624d6652a65ad4f47a58b8651a1ec1163bb81d3","status":"affected","lessThan":"b3551ead616318ea155558cdbe7e91495b8d9b33","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iommu/iommufd/vfio_compat.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.2","versionType":"semver"},{"version":"6.2.3","status":"unaffected","lessThanOrEqual":"6.2.*","versionType":"semver"},{"version":"6.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iommu/iommufd/vfio_compat.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/7adcec686e4d699c169d34c722132b2bce5232cb"},{"url":"https://git.kernel.org/stable/c/b3551ead616318ea155558cdbe7e91495b8d9b33"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T19:54:09.017Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.2.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}