{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-53446","id":"CVE-2023-53446","title":"PCI/ASPM: Disable ASPM on MFD function removal to avoid use-after-free","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI/ASPM: Disable ASPM on MFD function removal to avoid use-after-free\n\nStruct pcie_link_state->downstream is a pointer to the pci_dev of function\n0.  Previously we retained that pointer when removing function 0, and\nsubsequent ASPM policy changes dereferenced it, resulting in a\nuse-after-free warning from KASAN, e.g.:\n\n  # echo ","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI/ASPM: Disable ASPM on MFD function removal to avoid use-after-free\n\nStruct pcie_link_state->downstream is a pointer to the pci_dev of function\n0.  Previously we retained that pointer when removing function 0, and\nsubsequent ASPM policy changes dereferenced it, resulting in a\nuse-after-free warning from KASAN, e.g.:\n\n  # echo 1 > /sys/bus/pci/devices/0000:03:00.0/remove\n  # echo powersave > /sys/module/pcie_aspm/parameters/policy\n\n  BUG: KASAN: slab-use-after-free in pcie_config_aspm_link+0x42d/0x500\n  Call Trace:\n   kasan_report+0xae/0xe0\n   pcie_config_aspm_link+0x42d/0x500\n   pcie_aspm_set_policy+0x8e/0x1a0\n   param_attr_store+0x162/0x2c0\n   module_attr_store+0x3e/0x80\n\nPCIe spec r6.0, sec 7.5.3.7, recommends that software program the same ASPM\nControl value in all functions of multi-function devices.\n\nDisable ASPM and free the pcie_link_state when any child function is\nremoved so we can discard the dangling pcie_link_state->downstream pointer\nand maintain the same ASPM Control configuration for all functions.\n\n[bhelgaas: commit log and comment]","published":"2025-09-18T16:04:21.939Z","updated":"2026-10-28T02:31:14.604154966Z","reserved":"2025-09-17T14:54:09.753Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b5a0a9b59c8185aebcd9a717e2e6258b58c72c06","lessThan":"666e7f9d60cee23077ea3e6331f6f8a19f7ea03f","status":"affected","versionType":"git"},{"version":"b5a0a9b59c8185aebcd9a717e2e6258b58c72c06","lessThan":"7badf4d6f49a358a01ab072bbff88d3ee886c33b","status":"affected","versionType":"git"},{"version":"b5a0a9b59c8185aebcd9a717e2e6258b58c72c06","lessThan":"9856c0de49052174ab474113f4ba40c02aaee086","status":"affected","versionType":"git"},{"version":"b5a0a9b59c8185aebcd9a717e2e6258b58c72c06","lessThan":"7aecdd47910c51707696e8b0e045b9f88bd4230f","status":"affected","versionType":"git"},{"version":"b5a0a9b59c8185aebcd9a717e2e6258b58c72c06","lessThan":"d51d2eeae4ce54d542909c4d9d07bf371a78592c","status":"affected","versionType":"git"},{"version":"b5a0a9b59c8185aebcd9a717e2e6258b58c72c06","lessThan":"4203722d51afe3d239e03f15cc73efdf023a7103","status":"affected","versionType":"git"},{"version":"b5a0a9b59c8185aebcd9a717e2e6258b58c72c06","lessThan":"456d8aa37d0f56fc9e985e812496e861dcd6f2f2","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.11","status":"affected"},{"version":"0","lessThan":"4.11","status":"unaffected","versionType":"semver"},{"version":"5.4.251","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.188","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.121","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.39","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.3.13","lessThanOrEqual":"6.3.*","status":"unaffected","versionType":"semver"},{"version":"6.4.4","lessThanOrEqual":"6.4.*","status":"unaffected","versionType":"semver"},{"version":"6.5","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/666e7f9d60cee23077ea3e6331f6f8a19f7ea03f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/7badf4d6f49a358a01ab072bbff88d3ee886c33b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/9856c0de49052174ab474113f4ba40c02aaee086","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/7aecdd47910c51707696e8b0e045b9f88bd4230f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d51d2eeae4ce54d542909c4d9d07bf371a78592c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/4203722d51afe3d239e03f15cc73efdf023a7103","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/456d8aa37d0f56fc9e985e812496e861dcd6f2f2","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53446.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53446","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.0016,"epssPercentile":0.05244,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-53446","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53446","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-53446","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-53446","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}