{"id":70175,"date":"2025-09-15T18:32:32","date_gmt":"2025-09-15T15:02:32","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2023-53236-iommufd-do-not-corrupt-the-pfn-list-when-doing-batch-carry\/"},"modified":"2025-09-15T18:32:32","modified_gmt":"2025-09-15T15:02:32","slug":"cve-2023-53236-iommufd-do-not-corrupt-the-pfn-list-when-doing-batch-carry","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2023-53236-iommufd-do-not-corrupt-the-pfn-list-when-doing-batch-carry\/","title":{"rendered":"CVE-2023-53236 &#8211; iommufd: Do not corrupt the pfn list when doing batch carry"},"content":{"rendered":"<p><strong>CVE ID : <\/strong>CVE-2023-53236<br \/>\n<br \/>\n<strong>Published : <\/strong> Sept. 15, 2025, 2:22 p.m. | 32\u00a0minutes ago<br \/>\n<br \/>\n<strong>Description : <\/strong>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>iommufd: Do not corrupt the pfn list when doing batch carry<\/p>\n<p>If batch-&gt;end is 0 then setting npfns[0] before computing the new value of<br \/>\npfns will fail to adjust the pfn and result in various page accounting<br \/>\ncorruptions. It should be ordered after.<\/p>\n<p>This seems to result in various kinds of page meta-data corruption related<br \/>\nfailures:<\/p>\n<p>  WARNING: CPU: 1 PID: 527 at mm\/gup.c:75 try_grab_folio+0x503\/0x740<br \/>\n  Modules linked in:<br \/>\n  CPU: 1 PID: 527 Comm: repro Not tainted 6.3.0-rc2-eeac8ede1755+ #1<br \/>\n  Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org 04\/01\/2014<br \/>\n  RIP: 0010:try_grab_folio+0x503\/0x740<br \/>\n  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  0b 31 db e9 d0 fc ff ff e8 2f bf dd ff 48 8b 5d c8 31 ff 48 89<br \/>\n  RSP: 0018:ffffc90000f37908 EFLAGS: 00010046<br \/>\n  RAX: 0000000000000000 RBX: 00000000fffffc02 RCX: ffffffff81504c26<br \/>\n  RDX: 0000000000000000 RSI: ffff88800d030000 RDI: 0000000000000002<br \/>\n  RBP: ffffc90000f37948 R08: 000000000003ca24 R09: 0000000000000008<br \/>\n  R10: 000000000003ca00 R11: 0000000000000023 R12: ffffea000035d540<br \/>\n  R13: 0000000000000001 R14: 0000000000000000 R15: ffffea000035d540<br \/>\n  FS:  00007fecbf659740(0000) GS:ffff88807dd00000(0000) knlGS:0000000000000000<br \/>\n  CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033<br \/>\n  CR2: 00000000200011c3 CR3: 000000000ef66006 CR4: 0000000000770ee0<br \/>\n  PKRU: 55555554<br \/>\n  Call Trace:<\/p>\n<p>   internal_get_user_pages_fast+0xd32\/0x2200<br \/>\n   pin_user_pages_fast+0x65\/0x90<br \/>\n   pfn_reader_user_pin+0x376\/0x390<br \/>\n   pfn_reader_next+0x14a\/0x7b0<br \/>\n   pfn_reader_first+0x140\/0x1b0<br \/>\n   iopt_area_fill_domain+0x74\/0x210<br \/>\n   iopt_table_add_domain+0x30e\/0x6e0<br \/>\n   iommufd_device_selftest_attach+0x7f\/0x140<br \/>\n   iommufd_test+0x10ff\/0x16f0<br \/>\n   iommufd_fops_ioctl+0x206\/0x330<br \/>\n   __x64_sys_ioctl+0x10e\/0x160<br \/>\n   do_syscall_64+0x3b\/0x90<br \/>\n   entry_SYSCALL_64_after_hwframe+0x72\/0xdc<br \/>\n<br \/>\n<strong>Severity:<\/strong> 0.0 | NA<br \/>\n<br \/>\nVisit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2023-53236 Published : Sept. 15, 2025, 2:22 p.m. | 32\u00a0minutes ago Description : In the Linux kernel, the following vulnerability has been resolved: iommufd: Do not corrupt the pfn list when doing batch carry If batch-&gt;end is 0 then setting npfns[0] before computing the new value of pfns will fail to adjust &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-70175","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/70175","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=70175"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/70175\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=70175"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=70175"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=70175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}