CVE Database›Document archive›CVE-2025-39961

CVE-2025-39961

kernel: iommu/amd/pgtbl: Fix possible race while increase page table level

Loading…

Severity

Moderate

Red Hat Product Security

5.3

CVSS 3.1

Review impact separately from score.

Published · October 9, 2025

Updated · August 21, 2026

Description

A race condition flaw was found in the Linux kernel AMD IOMMU page table code when increasing the page table level to support larger IOVA ranges. An unlocked read of the page table root/mode could observe mixed state during an update, causing unmap failures and device mapping errors.

A local user could use this flaw to trigger I/O errors and system instability, resulting in a denial of service.

Statement

During address-space growth (increase_address_space()), the AMD IOMMU driver updated the root pointer and mode without readers synchronizing on a sequence counter. Concurrent fetch_pte() in unmap paths could see the new root with the old mode and return NULL, leading upper layers to fail unmaps and warn. The fix adds a seqcount around updates to allow lockless, consistent readers.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

To mitigate this issue, prevent module amd_iommu from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.

CVSS / CWE

CVSS 3.1 · 5.3
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H

CWE-366 · Race Condition within a Thread