FKIE_CVE-2023-54239
Vulnerability from fkie_nvd - Published: 2025-12-30 13:16 - Updated: 2026-06-17 06:47
Severity
Summary
In the Linux kernel, the following vulnerability has been resolved:
iommufd: Check for uptr overflow
syzkaller found that setting up a map with a user VA that wraps past zero
can trigger WARN_ONs, particularly from pin_user_pages weirdly returning 0
due to invalid arguments.
Prevent creating a pages with a uptr and size that would math overflow.
WARNING: CPU: 0 PID: 518 at drivers/iommu/iommufd/pages.c:793 pfn_reader_user_pin+0x2e6/0x390
Modules linked in:
CPU: 0 PID: 518 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:pfn_reader_user_pin+0x2e6/0x390
Code: b1 11 e9 25 fe ff ff e8 28 e4 0f ff 31 ff 48 89 de e8 2e e6 0f ff 48 85 db 74 0a e8 14 e4 0f ff e9 4d ff ff ff e8 0a e4 0f ff <0f> 0b bb f2 ff ff ff e9 3c ff ff ff e8 f9 e3 0f ff ba 01 00 00 00
RSP: 0018:ffffc90000f9fa30 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff821e2b72
RDX: 0000000000000000 RSI: ffff888014184680 RDI: 0000000000000002
RBP: ffffc90000f9fa78 R08: 00000000000000ff R09: 0000000079de6f4e
R10: ffffc90000f9f790 R11: ffff888014185418 R12: ffffc90000f9fc60
R13: 0000000000000002 R14: ffff888007879800 R15: 0000000000000000
FS: 00007f4227555740(0000) GS:ffff88807dc00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000043 CR3: 000000000e748005 CR4: 0000000000770ef0
PKRU: 55555554
Call Trace:
<TASK>
pfn_reader_next+0x14a/0x7b0
? interval_tree_double_span_iter_update+0x11a/0x140
pfn_reader_first+0x140/0x1b0
iopt_pages_rw_slow+0x71/0x280
? __this_cpu_preempt_check+0x20/0x30
iopt_pages_rw_access+0x2b2/0x5b0
iommufd_access_rw+0x19f/0x2f0
iommufd_test+0xd11/0x16f0
? write_comp_data+0x2f/0x90
iommufd_fops_ioctl+0x206/0x330
__x64_sys_ioctl+0x10e/0x160
? __pfx_iommufd_fops_ioctl+0x10/0x10
do_syscall_64+0x3b/0x90
entry_SYSCALL_64_after_hwframe+0x72/0xdc
References
Impacted products
| Vendor | Product | Version |
|---|
{
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/iommu/iommufd/pages.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "800963e7eb001ada8cf2418f159fb649694467f1",
"status": "affected",
"version": "8d160cd4d5066f864ec0f2c981470e55ac03ac27",
"versionType": "git"
},
{
"lessThan": "e4395701330fc4aee530905039516fe770b81417",
"status": "affected",
"version": "8d160cd4d5066f864ec0f2c981470e55ac03ac27",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/iommu/iommufd/pages.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.2"
},
{
"lessThan": "6.2",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.2.*",
"status": "unaffected",
"version": "6.2.11",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "6.3",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\niommufd: Check for uptr overflow\n\nsyzkaller found that setting up a map with a user VA that wraps past zero\ncan trigger WARN_ONs, particularly from pin_user_pages weirdly returning 0\ndue to invalid arguments.\n\nPrevent creating a pages with a uptr and size that would math overflow.\n\n WARNING: CPU: 0 PID: 518 at drivers/iommu/iommufd/pages.c:793 pfn_reader_user_pin+0x2e6/0x390\n Modules linked in:\n CPU: 0 PID: 518 Comm: repro Not tainted 6.3.0-rc2-eeac8ede1755+ #1\n Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org 04/01/2014\n RIP: 0010:pfn_reader_user_pin+0x2e6/0x390\n Code: b1 11 e9 25 fe ff ff e8 28 e4 0f ff 31 ff 48 89 de e8 2e e6 0f ff 48 85 db 74 0a e8 14 e4 0f ff e9 4d ff ff ff e8 0a e4 0f ff \u003c0f\u003e 0b bb f2 ff ff ff e9 3c ff ff ff e8 f9 e3 0f ff ba 01 00 00 00\n RSP: 0018:ffffc90000f9fa30 EFLAGS: 00010246\n RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff821e2b72\n RDX: 0000000000000000 RSI: ffff888014184680 RDI: 0000000000000002\n RBP: ffffc90000f9fa78 R08: 00000000000000ff R09: 0000000079de6f4e\n R10: ffffc90000f9f790 R11: ffff888014185418 R12: ffffc90000f9fc60\n R13: 0000000000000002 R14: ffff888007879800 R15: 0000000000000000\n FS: 00007f4227555740(0000) GS:ffff88807dc00000(0000) knlGS:0000000000000000\n CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033\n CR2: 0000000020000043 CR3: 000000000e748005 CR4: 0000000000770ef0\n PKRU: 55555554\n Call Trace:\n \u003cTASK\u003e\n pfn_reader_next+0x14a/0x7b0\n ? interval_tree_double_span_iter_update+0x11a/0x140\n pfn_reader_first+0x140/0x1b0\n iopt_pages_rw_slow+0x71/0x280\n ? __this_cpu_preempt_check+0x20/0x30\n iopt_pages_rw_access+0x2b2/0x5b0\n iommufd_access_rw+0x19f/0x2f0\n iommufd_test+0xd11/0x16f0\n ? write_comp_data+0x2f/0x90\n iommufd_fops_ioctl+0x206/0x330\n __x64_sys_ioctl+0x10e/0x160\n ? __pfx_iommufd_fops_ioctl+0x10/0x10\n do_syscall_64+0x3b/0x90\n entry_SYSCALL_64_after_hwframe+0x72/0xdc"
},
{
"lang": "es",
"value": "En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\niommufd: Comprobar desbordamiento de uptr\n\nsyzkaller encontr\u00f3 que configurar un mapa con una VA de usuario que se envuelve m\u00e1s all\u00e1 de cero puede activar WARN_ONs, particularmente de pin_user_pages devolviendo 0 de forma extra\u00f1a debido a argumentos inv\u00e1lidos.\n\nEvitar la creaci\u00f3n de p\u00e1ginas con un uptr y un tama\u00f1o que causar\u00edan un desbordamiento matem\u00e1tico.\n\n ADVERTENCIA: CPU: 0 PID: 518 en drivers/iommu/iommufd/pages.c:793 pfn_reader_user_pin+0x2e6/0x390\n M\u00f3dulos enlazados:\n CPU: 0 PID: 518 Comm: repro No contaminado 6.3.0-rc2-eeac8ede1755+ #1\n Nombre del hardware: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org 04/01/2014\n RIP: 0010:pfn_reader_user_pin+0x2e6/0x390\n Code: b1 11 e9 25 fe ff ff e8 28 e4 0f ff 31 ff 48 89 de e8 2e e6 0f ff 48 85 db 74 0a e8 14 e4 0f ff e9 4d ff ff ff e8 0a e4 0f ff \u0026lt;0f\u0026gt; 0b bb f2 ff ff ff e9 3c ff ff ff e8 f9 e3 0f ff ba 01 00 00 00\n RSP: 0018:ffffc90000f9fa30 EFLAGS: 00010246\n RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff821e2b72\n RDX: 0000000000000000 RSI: ffff888014184680 RDI: 0000000000000002\n RBP: ffffc90000f9fa78 R08: 00000000000000ff R09: 0000000079de6f4e\n R10: ffffc90000f9f790 R11: ffff888014185418 R12: ffffc90000f9fc60\n R13: 0000000000000002 R14: ffff888007879800 R15: 0000000000000000\n FS: 00007f4227555740(0000) GS:ffff88807dc00000(0000) knlGS:0000000000000000\n CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033\n CR2: 0000000020000043 CR3: 000000000e748005 CR4: 0000000000770ef0\n PKRU: 55555554\n Rastreo de llamadas:\n \n pfn_reader_next+0x14a/0x7b0\n ? interval_tree_double_span_iter_update+0x11a/0x140\n pfn_reader_first+0x140/0x1b0\n iopt_pages_rw_slow+0x71/0x280\n ? __this_cpu_preempt_check+0x20/0x30\n iopt_pages_rw_access+0x2b2/0x5b0\n iommufd_access_rw+0x19f/0x2f0\n iommufd_test+0xd11/0x16f0\n ? write_comp_data+0x2f/0x90\n iommufd_fops_ioctl+0x206/0x330\n __x64_sys_ioctl+0x10e/0x160\n ? __pfx_iommufd_fops_ioctl+0x10/0x10\n do_syscall_64+0x3b/0x90\n entry_SYSCALL_64_after_hwframe+0x72/0xdc"
}
],
"id": "CVE-2023-54239",
"lastModified": "2026-06-17T06:47:04.393",
"metrics": {},
"published": "2025-12-30T13:16:12.417",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/800963e7eb001ada8cf2418f159fb649694467f1"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/e4395701330fc4aee530905039516fe770b81417"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Deferred"
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Loading…
Loading…