# CVE-2025-71071: iommu/mediatek: fix use-after-free on probe deferral

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-01-13T15:31:25.400Z
- **Modified:** 2026-06-17T10:03:36.090Z

## Who should check

- Anyone running Linux \>= 8412e5dd24ffc8bc21a00bfaa0b80d4596cdc9da, \< 896ec55da3b90bdb9fc04fedc17ad8c359b2eee5; \>= 26593928564cf5b576ff05d3cbd958f57c9534bb, \< 5c04217d06a1161aaf36267e9d971ab6f847d5a7; \>= 26593928564cf5b576ff05d3cbd958f57c9534bb, \< 1ef70a0b104ae8011811f60bcfaa55ff49385171; \>= 26593928564cf5b576ff05d3cbd958f57c9534bb, \< f6c08d3aa441bbc1956e9d65f1cbb89113a5aa8a; \>= 26593928564cf5b576ff05d3cbd958f57c9534bb, \< de83d4617f9fe059623e97acf7e1e10d209625b5; 51080de72e26771f0ed9d44982974279ccbc92b8; \>= 6.1.2, \< 6.1.160; \>= 6.0.16, \< 6.1
- Anyone running Linux 6.2

## Description

In the Linux kernel, the following vulnerability has been resolved:

iommu/mediatek: fix use-after-free on probe deferral

The driver is dropping the references taken to the larb devices during
probe after successful lookup as well as on errors. This can
potentially lead to a use-after-free in case a larb device has not yet
been bound to its driver so that the iommu driver probe defers.

Fix this by keeping the references as expected while the iommu driver is
bound.

## Affected and fixed versions

- Linux: \>= 8412e5dd24ffc8bc21a00bfaa0b80d4596cdc9da, \< 896ec55da3b90bdb9fc04fedc17ad8c359b2eee5; \>= 26593928564cf5b576ff05d3cbd958f57c9534bb, \< 5c04217d06a1161aaf36267e9d971ab6f847d5a7; \>= 26593928564cf5b576ff05d3cbd958f57c9534bb, \< 1ef70a0b104ae8011811f60bcfaa55ff49385171; \>= 26593928564cf5b576ff05d3cbd958f57c9534bb, \< f6c08d3aa441bbc1956e9d65f1cbb89113a5aa8a; \>= 26593928564cf5b576ff05d3cbd958f57c9534bb, \< de83d4617f9fe059623e97acf7e1e10d209625b5; 51080de72e26771f0ed9d44982974279ccbc92b8; \>= 6.1.2, \< 6.1.160; \>= 6.0.16, \< 6.1 (cvelist)
- Linux: 6.2 (cvelist)

## Mitigation

- Upgrade Linux to 6.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-71071. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-71071.md
Affected: Linux >= 8412e5dd24ffc8bc21a00bfaa0b80d4596cdc9da, < 896ec55da3b90bdb9fc04fedc17ad8c359b2eee5; >= 26593928564cf5b576ff05d3cbd958f57c9534bb, < 5c04217d06a1161aaf36267e9d971ab6f847d5a7; >= 26593928564cf5b576ff05d3cbd958f57c9534bb, < 1ef70a0b104ae8011811f60bcfaa55ff49385171; >= 26593928564cf5b576ff05d…
Fixed in: Linux 896ec55da3b90bdb9fc04fedc17ad8c359b2eee5, Linux 5c04217d06a1161aaf36267e9d971ab6f847d5a7, Linux 1ef70a0b104ae8011811f60bcfaa55ff49385171, Linux 6.1.160, Linux 6.1

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-71071 being exploited?

There is no confirmed exploitation: CVE-2025-71071 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-71071?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-71071?

Linux \>= 8412e5dd24ffc8bc21a00bfaa0b80d4596cdc9da, \< 896ec55da3b90bdb9fc04fedc17ad8c359b2eee5; \>= 26593928564cf5b576ff05d3cbd958f57c9534bb, \< 5c04217d06a1161aaf36267e9d971ab6f847d5a7; \>= 26593928564cf5b576ff05d3cbd958f57c9534bb, \< 1ef70a0b104ae8011811f60bcfaa55ff49385171; \>= 26593928564cf5b576ff05d3cbd958f57c9534bb, \< f6c08d3aa441bbc1956e9d65f1cbb89113a5aa8a; \>= 26593928564cf5b576ff05d3cbd958f57c9534bb, \< de83d4617f9fe059623e97acf7e1e10d209625b5; 51080de72e26771f0ed9d44982974279ccbc92b8; \>= 6.1.2, \< 6.1.160; \>= 6.0.16, \< 6.1; Linux 6.2.

### Is there a fix for CVE-2025-71071?

Yes. Fixed in Linux 896ec55da3b90bdb9fc04fedc17ad8c359b2eee5, Linux 5c04217d06a1161aaf36267e9d971ab6f847d5a7, Linux 1ef70a0b104ae8011811f60bcfaa55ff49385171, Linux 6.1.160, Linux 6.1. Upgrade Linux to 6.1 or later.

### How do I check if I'm affected by CVE-2025-71071?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/896ec55da3b90bdb9fc04fedc17ad8c359b2eee5>
- patch: <https://git.kernel.org/stable/c/5c04217d06a1161aaf36267e9d971ab6f847d5a7>
- patch: <https://git.kernel.org/stable/c/1ef70a0b104ae8011811f60bcfaa55ff49385171>
- patch: <https://git.kernel.org/stable/c/f6c08d3aa441bbc1956e9d65f1cbb89113a5aa8a>
- patch: <https://git.kernel.org/stable/c/de83d4617f9fe059623e97acf7e1e10d209625b5>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-71071>

HTML: <https://flawdb.com/CVE-2025-71071> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-71071>
