{"id":65939,"date":"2025-07-10T14:32:17","date_gmt":"2025-07-10T11:02:17","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-38345-virtual-box-acpica-memory-leak\/"},"modified":"2025-07-10T14:32:17","modified_gmt":"2025-07-10T11:02:17","slug":"cve-2025-38345-virtual-box-acpica-memory-leak","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-38345-virtual-box-acpica-memory-leak\/","title":{"rendered":"CVE-2025-38345 &#8211; Virtual Box ACPICA Memory Leak"},"content":{"rendered":"<p><strong>CVE ID : <\/strong>CVE-2025-38345<br \/>\n<br \/>\n<strong>Published : <\/strong> July 10, 2025, 9:15 a.m. | 53\u00a0minutes ago<br \/>\n<br \/>\n<strong>Description : <\/strong>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ACPICA: fix acpi operand cache leak in dswstate.c<\/p>\n<p>ACPICA commit 987a3b5cf7175916e2a4b6ea5b8e70f830dfe732<\/p>\n<p>I found an ACPI cache leak in ACPI early termination and boot continuing case.<\/p>\n<p>When early termination occurs due to malicious ACPI table, Linux kernel<br \/>\nterminates ACPI function and continues to boot process. While kernel terminates<br \/>\nACPI function, kmem_cache_destroy() reports Acpi-Operand cache leak.<\/p>\n<p>Boot log of ACPI operand cache leak is as follows:<br \/>\n&gt;[    0.585957] ACPI: Added _OSI(Module Device)<br \/>\n&gt;[    0.587218] ACPI: Added _OSI(Processor Device)<br \/>\n&gt;[    0.588530] ACPI: Added _OSI(3.0 _SCP Extensions)<br \/>\n&gt;[    0.589790] ACPI: Added _OSI(Processor Aggregator Device)<br \/>\n&gt;[    0.591534] ACPI Error: Illegal I\/O port address\/length above 64K: C806E00000004002\/0x2 (20170303\/hwvalid-155)<br \/>\n&gt;[    0.594351] ACPI Exception: AE_LIMIT, Unable to initialize fixed events (20170303\/evevent-88)<br \/>\n&gt;[    0.597858] ACPI: Unable to start the ACPI Interpreter<br \/>\n&gt;[    0.599162] ACPI Error: Could not remove SCI handler (20170303\/evmisc-281)<br \/>\n&gt;[    0.601836] kmem_cache_destroy Acpi-Operand: Slab cache still has objects<br \/>\n&gt;[    0.603556] CPU: 0 PID: 1 Comm: swapper\/0 Not tainted 4.12.0-rc5 #26<br \/>\n&gt;[    0.605159] Hardware name: innotek gmb_h virtual_box\/virtual_box, BIOS virtual_box 12\/01\/2006<br \/>\n&gt;[    0.609177] Call Trace:<br \/>\n&gt;[    0.610063]  ? dump_stack+0x5c\/0x81<br \/>\n&gt;[    0.611118]  ? kmem_cache_destroy+0x1aa\/0x1c0<br \/>\n&gt;[    0.612632]  ? acpi_sleep_proc_init+0x27\/0x27<br \/>\n&gt;[    0.613906]  ? acpi_os_delete_cache+0xa\/0x10<br \/>\n&gt;[    0.617986]  ? acpi_ut_delete_caches+0x3f\/0x7b<br \/>\n&gt;[    0.619293]  ? acpi_terminate+0xa\/0x14<br \/>\n&gt;[    0.620394]  ? acpi_init+0x2af\/0x34f<br \/>\n&gt;[    0.621616]  ? __class_create+0x4c\/0x80<br \/>\n&gt;[    0.623412]  ? video_setup+0x7f\/0x7f<br \/>\n&gt;[    0.624585]  ? acpi_sleep_proc_init+0x27\/0x27<br \/>\n&gt;[    0.625861]  ? do_one_initcall+0x4e\/0x1a0<br \/>\n&gt;[    0.627513]  ? kernel_init_freeable+0x19e\/0x21f<br \/>\n&gt;[    0.628972]  ? rest_init+0x80\/0x80<br \/>\n&gt;[    0.630043]  ? kernel_init+0xa\/0x100<br \/>\n&gt;[    0.631084]  ? ret_from_fork+0x25\/0x30<br \/>\n&gt;[    0.633343] vgaarb: loaded<br \/>\n&gt;[    0.635036] EDAC MC: Ver: 3.0.0<br \/>\n&gt;[    0.638601] PCI: Probing PCI hardware<br \/>\n&gt;[    0.639833] PCI host bridge to bus 0000:00<br \/>\n&gt;[    0.641031] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]\n&gt; &#8230; Continue to boot and log is omitted &#8230;<\/p>\n<p>I analyzed this memory leak in detail and found acpi_ds_obj_stack_pop_and_<br \/>\ndelete() function miscalculated the top of the stack. acpi_ds_obj_stack_push()<br \/>\nfunction uses walk_state-&gt;operand_index for start position of the top, but<br \/>\nacpi_ds_obj_stack_pop_and_delete() function considers index 0 for it.<br \/>\nTherefore, this causes acpi operand memory leak.<\/p>\n<p>This cache leak causes a security threat because an old kernel (<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-2025-38345 Published : July 10, 2025, 9:15 a.m. | 53\u00a0minutes ago Description : In the Linux kernel, the following vulnerability has been resolved: ACPICA: fix acpi operand cache leak in dswstate.c ACPICA commit 987a3b5cf7175916e2a4b6ea5b8e70f830dfe732 I found an ACPI cache leak in ACPI early termination and boot continuing case. When early termination occurs &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-65939","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/65939","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=65939"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/65939\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=65939"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=65939"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=65939"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}