Bug 2429615 (CVE-2025-71122)

Summary: CVE-2025-71122 kernel: iommufd/selftest: Check for overflow in IOMMU_TEST_OP_ADD_RESERVED
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
An integer overflow vulnerability was found in the Linux kernel's IOMMUFD selftest infrastructure. The IOMMU_TEST_OP_ADD_RESERVED ioctl does not properly validate user-supplied length values, allowing arithmetic overflow that corrupts the reserved interval tree and triggers a WARN_ON. This issue only affects test kernels compiled with CONFIG_IOMMUFD_TEST enabled.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-01-14 16:04:51 UTC
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.