{"id":70471,"date":"2025-09-18T20:32:17","date_gmt":"2025-09-18T17:02:17","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2023-53446-pci-aspm-disable-aspm-on-mfd-function-removal-to-avoid-use-after-free\/"},"modified":"2025-09-18T20:32:17","modified_gmt":"2025-09-18T17:02:17","slug":"cve-2023-53446-pci-aspm-disable-aspm-on-mfd-function-removal-to-avoid-use-after-free","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2023-53446-pci-aspm-disable-aspm-on-mfd-function-removal-to-avoid-use-after-free\/","title":{"rendered":"CVE-2023-53446 &#8211; PCI\/ASPM: Disable ASPM on MFD function removal to avoid use-after-free"},"content":{"rendered":"<p><strong>CVE ID : <\/strong>CVE-2023-53446<br \/>\n<br \/>\n<strong>Published : <\/strong> Sept. 18, 2025, 4:15 p.m. | 45\u00a0minutes ago<br \/>\n<br \/>\n<strong>Description : <\/strong>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>PCI\/ASPM: Disable ASPM on MFD function removal to avoid use-after-free<\/p>\n<p>Struct pcie_link_state-&gt;downstream is a pointer to the pci_dev of function<br \/>\n0.  Previously we retained that pointer when removing function 0, and<br \/>\nsubsequent ASPM policy changes dereferenced it, resulting in a<br \/>\nuse-after-free warning from KASAN, e.g.:<\/p>\n<p>  # echo 1 &gt; \/sys\/bus\/pci\/devices\/0000:03:00.0\/remove<br \/>\n  # echo powersave &gt; \/sys\/module\/pcie_aspm\/parameters\/policy<\/p>\n<p>  BUG: KASAN: slab-use-after-free in pcie_config_aspm_link+0x42d\/0x500<br \/>\n  Call Trace:<br \/>\n   kasan_report+0xae\/0xe0<br \/>\n   pcie_config_aspm_link+0x42d\/0x500<br \/>\n   pcie_aspm_set_policy+0x8e\/0x1a0<br \/>\n   param_attr_store+0x162\/0x2c0<br \/>\n   module_attr_store+0x3e\/0x80<\/p>\n<p>PCIe spec r6.0, sec 7.5.3.7, recommends that software program the same ASPM<br \/>\nControl value in all functions of multi-function devices.<\/p>\n<p>Disable ASPM and free the pcie_link_state when any child function is<br \/>\nremoved so we can discard the dangling pcie_link_state-&gt;downstream pointer<br \/>\nand maintain the same ASPM Control configuration for all functions.<\/p>\n[bhelgaas: commit log and comment]\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-53446 Published : Sept. 18, 2025, 4:15 p.m. | 45\u00a0minutes ago Description : In the Linux kernel, the following vulnerability has been resolved: PCI\/ASPM: Disable ASPM on MFD function removal to avoid use-after-free Struct pcie_link_state-&gt;downstream is a pointer to the pci_dev of function 0. Previously we retained that pointer when removing function &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-70471","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/70471","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=70471"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/70471\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=70471"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=70471"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=70471"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}