Linux
iommufd/selftest: Check for overflow in IOMMU_TEST_OP_ADD_RESERVED
In the Linux kernel, the following vulnerability has been resolved: iommufd/selftest: Check for overflow in IOMMU_TEST_OP_ADD_RESERVED syzkaller found it could overflow math in the test infrastructure and cause a WARN_ON by corrupting the reserved interval tree. This only effects test kernels with CONFIG_IOMMUFD_TEST. Validate the user input length in the test ioctl.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= f4b20bb34c83dceade5470288f48f94ce3598ada, < 4cc829d61f10c20523fd4085c1546e741a792a97
- >= f4b20bb34c83dceade5470288f48f94ce3598ada, < e6c122cffcbb2e84d321ec8ba0e38ce8e7c10925
- >= f4b20bb34c83dceade5470288f48f94ce3598ada, < b166b8e0a381429fefd9180e67fbc834b3cee82f
- >= f4b20bb34c83dceade5470288f48f94ce3598ada, < e6a973af11135439de32ece3b9cbe3bfc043bea8
Fixed in 4cc829d61f10c20523fd4085c1546e741a792a97, e6c122cffcbb2e84d321ec8ba0e38ce8e7c10925, b166b8e0a381429fefd9180e67fbc834b3cee82f, e6a973af11135439de32ece3b9cbe3bfc043bea8
- 6.2
Fixed in 0, 6.6.120, 6.12.64, 6.18.3, 6.19
Mitigation
Upgrade Linux to 4cc829d61f10c20523fd4085c1546e741a792a97 or e6c122cffcbb2e84d321ec8ba0e38ce8e7c10925 or b166b8e0a381429fefd9180e67fbc834b3cee82f or e6a973af11135439de32ece3b9cbe3bfc043bea8 or later.
Upgrade Linux to 0 or 6.6.120 or 6.12.64 or 6.18.3 or 6.19 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.