{"api_version":"1","generated_at":"2026-09-11T22:05:28+00:00","cve":"CVE-2026-89587","urls":{"html":"https://cve.report/CVE-2026-89587","api":"https://cve.report/api/cve/CVE-2026-89587.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-89587","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-89587"},"summary":{"title":"ACPI: pfr_update: fix stack buffer overflow in query_capability()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nACPI: pfr_update: fix stack buffer overflow in query_capability()\n\nquery_capability() copies four ACPI buffer objects returned by the\nfirmware _DSM into fixed-size u8[16] fields in struct\npfru_update_cap_info using memcpy with the firmware-supplied length:\n\n  memcpy(&cap_hdr->code_type,\n         elements[CAP_CODE_TYPE_IDX].buffer.pointer,\n         elements[CAP_CODE_TYPE_IDX].buffer.length);\n\nThe same pattern repeats for drv_type, platform_id, and oem_id.\nIf the firmware returns buffer.length > 16 for any of these fields,\nmemcpy writes past the destination array.\n\nstruct pfru_update_cap_info is stack-allocated in pfru_ioctl().\n\nConfirmed with KASAN on 7.2-rc6: three stack-out-of-bounds reports\nare generated when a DSM returns 64-byte buffers, with writes reaching\n44 bytes past the end of cap_hdr's [64, 156) frame window into\nadjacent stack redzones.\n\nIntroduce a helper pointer to out_obj->package.elements and use it\nto validate each buffer length against its destination field size\nbefore copying, returning -EINVAL if the firmware supplies an\noversized buffer.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-09-11 20:19:43","updated_at":"2026-09-11 20:19:43"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/15d2b7f38f95d28652170344f39ee492c55e567c","name":"https://git.kernel.org/stable/c/15d2b7f38f95d28652170344f39ee492c55e567c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ced45be0073a8a31b30b4a7f68cd3a15734515de","name":"https://git.kernel.org/stable/c/ced45be0073a8a31b30b4a7f68cd3a15734515de","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a2151624b55029dad0ca7efd17fb83a0461c8843","name":"https://git.kernel.org/stable/c/a2151624b55029dad0ca7efd17fb83a0461c8843","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6d4ed2fd022bc862b156e53aae163b61259e1caa","name":"https://git.kernel.org/stable/c/6d4ed2fd022bc862b156e53aae163b61259e1caa","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-89587","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89587","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0db89fa243e5edc5de38c88b369e4c3755c5fb74 a2151624b55029dad0ca7efd17fb83a0461c8843 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0db89fa243e5edc5de38c88b369e4c3755c5fb74 6d4ed2fd022bc862b156e53aae163b61259e1caa git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0db89fa243e5edc5de38c88b369e4c3755c5fb74 15d2b7f38f95d28652170344f39ee492c55e567c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0db89fa243e5edc5de38c88b369e4c3755c5fb74 ced45be0073a8a31b30b4a7f68cd3a15734515de git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.17","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.17 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.109 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.50 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.4 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/acpi/pfr_update.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"a2151624b55029dad0ca7efd17fb83a0461c8843","status":"affected","version":"0db89fa243e5edc5de38c88b369e4c3755c5fb74","versionType":"git"},{"lessThan":"6d4ed2fd022bc862b156e53aae163b61259e1caa","status":"affected","version":"0db89fa243e5edc5de38c88b369e4c3755c5fb74","versionType":"git"},{"lessThan":"15d2b7f38f95d28652170344f39ee492c55e567c","status":"affected","version":"0db89fa243e5edc5de38c88b369e4c3755c5fb74","versionType":"git"},{"lessThan":"ced45be0073a8a31b30b4a7f68cd3a15734515de","status":"affected","version":"0db89fa243e5edc5de38c88b369e4c3755c5fb74","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/acpi/pfr_update.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.17"},{"lessThan":"5.17","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.109","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.50","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.109","versionStartIncluding":"5.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.50","versionStartIncluding":"5.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.4","versionStartIncluding":"5.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3-rc1","versionStartIncluding":"5.17","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nACPI: pfr_update: fix stack buffer overflow in query_capability()\n\nquery_capability() copies four ACPI buffer objects returned by the\nfirmware _DSM into fixed-size u8[16] fields in struct\npfru_update_cap_info using memcpy with the firmware-supplied length:\n\n  memcpy(&cap_hdr->code_type,\n         elements[CAP_CODE_TYPE_IDX].buffer.pointer,\n         elements[CAP_CODE_TYPE_IDX].buffer.length);\n\nThe same pattern repeats for drv_type, platform_id, and oem_id.\nIf the firmware returns buffer.length > 16 for any of these fields,\nmemcpy writes past the destination array.\n\nstruct pfru_update_cap_info is stack-allocated in pfru_ioctl().\n\nConfirmed with KASAN on 7.2-rc6: three stack-out-of-bounds reports\nare generated when a DSM returns 64-byte buffers, with writes reaching\n44 bytes past the end of cap_hdr's [64, 156) frame window into\nadjacent stack redzones.\n\nIntroduce a helper pointer to out_obj->package.elements and use it\nto validate each buffer length against its destination field size\nbefore copying, returning -EINVAL if the firmware supplies an\noversized buffer."}],"providerMetadata":{"dateUpdated":"2026-09-11T19:44:52.066Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/a2151624b55029dad0ca7efd17fb83a0461c8843"},{"url":"https://git.kernel.org/stable/c/6d4ed2fd022bc862b156e53aae163b61259e1caa"},{"url":"https://git.kernel.org/stable/c/15d2b7f38f95d28652170344f39ee492c55e567c"},{"url":"https://git.kernel.org/stable/c/ced45be0073a8a31b30b4a7f68cd3a15734515de"}],"title":"ACPI: pfr_update: fix stack buffer overflow in query_capability()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-89587","datePublished":"2026-09-11T19:44:52.066Z","dateReserved":"2026-09-11T19:38:34.729Z","dateUpdated":"2026-09-11T19:44:52.066Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-11 20:19:43","lastModifiedDate":"2026-09-11 20:19:43","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"89587","Ordinal":"1","Title":"ACPI: pfr_update: fix stack buffer overflow in query_capability(","CVE":"CVE-2026-89587","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"89587","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nACPI: pfr_update: fix stack buffer overflow in query_capability()\n\nquery_capability() copies four ACPI buffer objects returned by the\nfirmware _DSM into fixed-size u8[16] fields in struct\npfru_update_cap_info using memcpy with the firmware-supplied length:\n\n  memcpy(&cap_hdr->code_type,\n         elements[CAP_CODE_TYPE_IDX].buffer.pointer,\n         elements[CAP_CODE_TYPE_IDX].buffer.length);\n\nThe same pattern repeats for drv_type, platform_id, and oem_id.\nIf the firmware returns buffer.length > 16 for any of these fields,\nmemcpy writes past the destination array.\n\nstruct pfru_update_cap_info is stack-allocated in pfru_ioctl().\n\nConfirmed with KASAN on 7.2-rc6: three stack-out-of-bounds reports\nare generated when a DSM returns 64-byte buffers, with writes reaching\n44 bytes past the end of cap_hdr's [64, 156) frame window into\nadjacent stack redzones.\n\nIntroduce a helper pointer to out_obj->package.elements and use it\nto validate each buffer length against its destination field size\nbefore copying, returning -EINVAL if the firmware supplies an\noversized buffer.","Type":"Description","Title":"ACPI: pfr_update: fix stack buffer overflow in query_capability("}]}}}