Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2023-53236

published high CVSS 3.1 · 7.8

iommufd: Do not corrupt the pfn list when doing batch carry

Published
15 Sep 2025, 14:22:09 UTC
Updated
05 Aug 2026, 09:13:13 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxf394576eb11dbcd3a740fa41e577b97f0720d26e to < 6ed5784526ddc0fb58b1798af36ec0c3139a8dca · f394576eb11dbcd3a740fa41e577b97f0720d26e to < 13a0d1ae7ee6b438f5537711a8c60cba00554943 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.2 (affected) · 0 to < 6.2 (unaffected · semver) · 6.2.11 through 6.2.* (unaffected · semver) · 6.3 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: iommufd: Do not corrupt the pfn list when doing batch carry If batch->end is 0 then setting npfns[0] before computing the new value of pfns will fail to adjust the pfn and result in various page accounting corruptions. It should be ordered after. This seems to result in various kinds of page meta-data corruption related failures: WARNING: CPU: 1 PID: 527 at mm/gup.c:75 try_grab_folio+0x503/0x740 Modules linked in: CPU: 1 PID: 527 Comm: repro Not tainted 6.3.0-rc2-eeac8ede1755+ #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org 04/01/2014 RIP: 0010:try_grab_folio+0x503/0x740 Code: e3 01 48 89 de e8 6d c1 dd ff 48 85 db 0f 84 7c fe ff ff e8 4f bf dd ff 49 8d 47 ff 48 89 45 d0 e9 73 fe ff ff e8 3d bf dd ff <0f> 0b 31 db e9 d0 fc ff ff e8 2f bf dd ff 48 8b 5d c8 31 ff 48 89 RSP: 0018:ffffc90000f37908 EFLAGS: 00010046 RAX: 0000000000000000 RBX: 00000000fffffc02 RCX: ffffffff81504c26 RDX: 0000000000000000 RSI: ffff88800d030000 RDI: 0000000000000002 RBP: ffffc90000f37948 R08: 000000000003ca24 R09: 0000000000000008 R10: 000000000003ca00 R11: 0000000000000023 R12: ffffea000035d540 R13: 0000000000000001 R14: 0000000000000000 R15: ffffea000035d540 FS: 00007fecbf659740(0000) GS:ffff88807dd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200011c3 CR3: 000000000ef66006 CR4: 0000000000770ee0 PKRU: 55555554 Call Trace: <TASK> internal_get_user_pages_fast+0xd32/0x2200 pin_user_pages_fast+0x65/0x90 pfn_reader_user_pin+0x376/0x390 pfn_reader_next+0x14a/0x7b0 pfn_reader_first+0x140/0x1b0 iopt_area_fill_domain+0x74/0x210 iopt_table_add_domain+0x30e/0x6e0 iommufd_device_selftest_attach+0x7f/0x140 iommufd_test+0x10ff/0x16f0 iommufd_fops_ioctl+0x206/0x330 __x64_sys_ioctl+0x10e/0x160 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x72/0xdc

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerability is reached through ioctl on /dev/iommu (iommufd), a local miscdevice interface; the vulnerable batch_clear_carry path is not reachable from the network stack or remote protocols. AC:L - An attacker who can open iommufd and drive map/unmap plus device attach/detach with an overlapping access can reliably hit the carry path; success does not depend on races or other conditions outside the attacker's control. PR:L - Opening /dev/iommu requires only local device-node access (mode 0660, no capability check on open), and binding a normal IOMMU-backed VFIO device does not require CAP_SYS_RAWIO; this matches other iommufd CVEs scored PR:L. UI:N - Exploitation is performed solely by the attacker's own ioctls (IOAS map/unmap, device attach/detach/destroy); no separate victim action is required. S:U - The bug corrupts page pin accounting within the kernel's own memory management during unpin, enabling local privilege escalation; unlike overlapping-IOVA bugs it does not create a cross-boundary IOMMU/DMA isolation bypass. C:H - Incorrect pfn carry causes unpin_user_page_range_dirty_lock on the wrong pages, producing page-refcount corruption and use-after-free primitives that can be leveraged for arbitrary kernel memory disclosure. I:H - The same page-refcount corruption and UAF from wrong-page unpinning can be turned into arbitrary kernel writes and control-flow hijacking, consistent with guidance that memory-corruption/UAF bugs score Integrity High. A:H - The bug demonstrably triggers kernel WARNINGs in try_grab_folio and related carry failures cause oops/NULL derefs in batch_unpin, so availability impact is a full kernel crash.

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 5.5 medium CISA-ADP · adp CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux f394576eb11dbcd3a740fa41e577b97f0720d26e to < 6ed5784526ddc0fb58b1798af36ec0c3139a8dca (affected · git)f394576eb11dbcd3a740fa41e577b97f0720d26e to < 13a0d1ae7ee6b438f5537711a8c60cba00554943 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.2 (affected)0 to < 6.2 (unaffected · semver)6.2.11 through 6.2.* (unaffected · semver)6.3 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-noinfo Not enough information (CISA-ADP · adp)

References

2

Provider assertions

2

Linux · cna

iommufd: Do not corrupt the pfn list when doing batch carry

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
33dab5a570066c34f5f896e033a6384c6154f5e2f70689397b535b025c8fdffd
Ingested
23 Sep 2026, 08:14:44 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected