Linux
iommu/arm-smmu-v3-iommufd: Require exactly one Stream ID for a vDEVICE
In the Linux kernel, the following vulnerability has been resolved: iommu/arm-smmu-v3-iommufd: Require exactly one Stream ID for a vDEVICE arm_vsmmu_vsid_to_sid() maps a guest's vSID to a single physical Stream ID taken from master->streams[0], assuming a device has exactly one stream. A device with several streams gets only its first one mapped, so a guest vSID invalidation cannot reach the others' ATC and IOTLB entries; a device with none makes master->streams a ZERO_SIZE_PTR, read out of bounds. Add an arm_vsmmu_vdevice_init() op to reject the vDEVICE with -EOPNOTSUPP when master->num_streams is not one, rather than mapping it silently.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= d68beb276ba26cec47350a6d468e967673ee0c56, < 3808bab5d95ae79e333e11f6a73d178e084c645d
- >= d68beb276ba26cec47350a6d468e967673ee0c56, < 0acbc621341aca4eb94d9c2f43e1ab273ff088f0
- >= d68beb276ba26cec47350a6d468e967673ee0c56, < c3b8ee84a965058b41275069d4696f37a8b14bf6
Fixed in 3808bab5d95ae79e333e11f6a73d178e084c645d, 0acbc621341aca4eb94d9c2f43e1ab273ff088f0, c3b8ee84a965058b41275069d4696f37a8b14bf6
- 6.13
Fixed in 0, 6.18.44, 7.1.8, 7.2
Mitigation
Upgrade Linux to 3808bab5d95ae79e333e11f6a73d178e084c645d or 0acbc621341aca4eb94d9c2f43e1ab273ff088f0 or c3b8ee84a965058b41275069d4696f37a8b14bf6 or later.
Upgrade Linux to 0 or 6.18.44 or 7.1.8 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.