# CVE-2023-53327: iommufd/selftest: Catch overflow of uptr and length

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.23% (percentile 8, 2026-11-26)
- **Published:** 2025-09-16T16:12:03.417Z
- **Modified:** 2026-06-17T06:44:54.067Z

## Who should check

- Anyone running Linux \>= f4b20bb34c83dceade5470288f48f94ce3598ada, \< adac6508c235a092b91ed9c0110ecf140e9e9441; \>= f4b20bb34c83dceade5470288f48f94ce3598ada, \< 3fb3505636d033bbf7a0851dac63d01732c51d62; \>= f4b20bb34c83dceade5470288f48f94ce3598ada, \< fd8c1a4aee973e87d890a5861e106625a33b2c4e
- Anyone running Linux 6.2

## Description

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

iommufd/selftest: Catch overflow of uptr and length

syzkaller hits a WARN\_ON when trying to have a uptr close to UINTPTR\_MAX:

  WARNING: CPU: 1 PID: 393 at drivers/iommu/iommufd/selftest.c:403 iommufd\_test+0xb19/0x16f0
  Modules linked in:
  CPU: 1 PID: 393 Comm: repro Not tainted 6.2.0-c9c3395d5e3d \#1
  Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org 04/01/2014
  RIP: 0010:iommufd\_test+0xb19/0x16f0
  Code: 94 c4 31 ff 44 89 e6 e8 a5 54 17 ff 45 84 e4 0f 85 bb 0b 00 00 41 be fb ff ff ff e8 31 53 17 ff e9 a0 f7 ff ff e8 27 53 17 ff \<0f\> 0b 41 be 8
  RSP: 0018:ffffc90000eabdc0 EFLAGS: 00010246
  RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8214c487
  RDX: 0000000000000000 RSI: ffff88800f5c8000 RDI: 0000000000000002
  RBP: ffffc90000eabe48 R08: 0000000000000000 R09: 0000000000000001
  R10: 0000000000000001 R11: 0000000000000000 R12: 00000000cd2b0000
  R13: 00000000cd2af000 R14: 0000000000000000 R15: ffffc90000eabe68
  FS:  00007f94d76d5740(0000) GS:ffff88807dd00000(0000) knlGS:0000000000000000
  CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  CR2: 0000000020000043 CR3: 0000000006880006 CR4: 0000000000770ee0
  PKRU: 55555554
  Call Trace:
   \<TASK\>
   ? write\_comp\_data+0x2f/0x90
   iommufd\_fops\_ioctl+0x1ef/0x310
   \_\_x64\_sys\_ioctl+0x10e/0x160
   ? \_\_pfx\_iommufd\_fops\_ioctl+0x10/0x10
   do\_syscall\_64+0x3b/0x90
   entry\_SYSCALL\_64\_after\_hwframe+0x72/0xdc

Check that the user memory range doesn't overflow.

## Affected and fixed versions

- Linux: \>= f4b20bb34c83dceade5470288f48f94ce3598ada, \< adac6508c235a092b91ed9c0110ecf140e9e9441; \>= f4b20bb34c83dceade5470288f48f94ce3598ada, \< 3fb3505636d033bbf7a0851dac63d01732c51d62; \>= f4b20bb34c83dceade5470288f48f94ce3598ada, \< fd8c1a4aee973e87d890a5861e106625a33b2c4e (cvelist)
- Linux: 6.2 (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-2023-53327. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53327.md
Affected: Linux >= f4b20bb34c83dceade5470288f48f94ce3598ada, < adac6508c235a092b91ed9c0110ecf140e9e9441; >= f4b20bb34c83dceade5470288f48f94ce3598ada, < 3fb3505636d033bbf7a0851dac63d01732c51d62; >= f4b20bb34c83dceade5470288f48f94ce3598ada, < fd8c1a4aee973e87d890a5861e106625a33b2c4e; Linux 6.2
Fixed in: Linux 3fb3505636d033bbf7a0851dac63d01732c51d62

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-2023-53327 being exploited?

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

### How serious is CVE-2023-53327?

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

### Which versions are affected by CVE-2023-53327?

Linux \>= f4b20bb34c83dceade5470288f48f94ce3598ada, \< adac6508c235a092b91ed9c0110ecf140e9e9441; \>= f4b20bb34c83dceade5470288f48f94ce3598ada, \< 3fb3505636d033bbf7a0851dac63d01732c51d62; \>= f4b20bb34c83dceade5470288f48f94ce3598ada, \< fd8c1a4aee973e87d890a5861e106625a33b2c4e; Linux 6.2.

### Is there a fix for CVE-2023-53327?

Yes. Fixed in Linux 3fb3505636d033bbf7a0851dac63d01732c51d62. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-53327?

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/adac6508c235a092b91ed9c0110ecf140e9e9441>
- patch: <https://git.kernel.org/stable/c/3fb3505636d033bbf7a0851dac63d01732c51d62>
- patch: <https://git.kernel.org/stable/c/fd8c1a4aee973e87d890a5861e106625a33b2c4e>

## 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-2023-53327>

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