# CVE-2025-40155: iommu/vt-d: debugfs: Fix legacy mode page table dump logic

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

- **Severity:** HIGH 7.3
- **CVSS:** 7.3 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: Low; 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.22% (percentile 7, 2026-11-26)
- **Published:** 2025-11-12T10:23:28.718Z
- **Modified:** 2026-10-19T21:10:00.160Z

## Who should check

- Anyone running Linux \>= 2b437e80456654df3980706384065d444f4bb54d, \< d8cf7b59c49f9118fa875462e18686cb6b131bb5; \>= 2b437e80456654df3980706384065d444f4bb54d, \< df2bf759a0bdb71f13e327d7527260d09facc055; \>= 2b437e80456654df3980706384065d444f4bb54d, \< fbe6070c73badca726e4ff7877320e6c62339917
- Anyone running Linux 6.7

## Description

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

iommu/vt-d: debugfs: Fix legacy mode page table dump logic

In legacy mode, SSPTPTR is ignored if TT is not 00b or 01b. SSPTPTR
maybe uninitialized or zero in that case and may cause oops like:

 Oops: general protection fault, probably for non-canonical address
       0xf00087d3f000f000: 0000 \[\#1\] SMP NOPTI
 CPU: 2 UID: 0 PID: 786 Comm: cat Not tainted 6.16.0 \#191 PREEMPT(voluntary)
 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.17.0-5.fc42 04/01/2014
 RIP: 0010:pgtable\_walk\_level+0x98/0x150
 RSP: 0018:ffffc90000f279c0 EFLAGS: 00010206
 RAX: 0000000040000000 RBX: ffffc90000f27ab0 RCX: 000000000000001e
 RDX: 0000000000000003 RSI: f00087d3f000f000 RDI: f00087d3f0010000
 RBP: ffffc90000f27a00 R08: ffffc90000f27a98 R09: 0000000000000002
 R10: 0000000000000000 R11: 0000000000000000 R12: f00087d3f000f000
 R13: 0000000000000000 R14: 0000000040000000 R15: ffffc90000f27a98
 FS:  0000764566dcb740(0000) GS:ffff8881f812c000(0000) knlGS:0000000000000000
 CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 CR2: 0000764566d44000 CR3: 0000000109d81003 CR4: 0000000000772ef0
 PKRU: 55555554
 Call Trace:
  \<TASK\>
  pgtable\_walk\_level+0x88/0x150
  domain\_translation\_struct\_show.isra.0+0x2d9/0x300
  dev\_domain\_translation\_struct\_show+0x20/0x40
  seq\_read\_iter+0x12d/0x490
...

Avoid walking the page table if TT is not 00b or 01b.

## Affected and fixed versions

- Linux: \>= 2b437e80456654df3980706384065d444f4bb54d, \< d8cf7b59c49f9118fa875462e18686cb6b131bb5; \>= 2b437e80456654df3980706384065d444f4bb54d, \< df2bf759a0bdb71f13e327d7527260d09facc055; \>= 2b437e80456654df3980706384065d444f4bb54d, \< fbe6070c73badca726e4ff7877320e6c62339917 (cvelist)
- Linux: 6.7 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-40155.md
Affected: Linux >= 2b437e80456654df3980706384065d444f4bb54d, < d8cf7b59c49f9118fa875462e18686cb6b131bb5; >= 2b437e80456654df3980706384065d444f4bb54d, < df2bf759a0bdb71f13e327d7527260d09facc055; >= 2b437e80456654df3980706384065d444f4bb54d, < fbe6070c73badca726e4ff7877320e6c62339917; Linux 6.7
Fixed in: no fixed version listed yet

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-40155 being exploited?

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

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

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

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

Linux \>= 2b437e80456654df3980706384065d444f4bb54d, \< d8cf7b59c49f9118fa875462e18686cb6b131bb5; \>= 2b437e80456654df3980706384065d444f4bb54d, \< df2bf759a0bdb71f13e327d7527260d09facc055; \>= 2b437e80456654df3980706384065d444f4bb54d, \< fbe6070c73badca726e4ff7877320e6c62339917; Linux 6.7.

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

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

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

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

- other: <https://git.kernel.org/stable/c/d8cf7b59c49f9118fa875462e18686cb6b131bb5>
- other: <https://git.kernel.org/stable/c/df2bf759a0bdb71f13e327d7527260d09facc055>
- other: <https://git.kernel.org/stable/c/fbe6070c73badca726e4ff7877320e6c62339917>

## 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-40155>

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