{"id":"CVE-2026-139748","state":"PUBLISHED","title":"ACPI: APEI: GHES: Bound AER info copy and sanitize software metadata","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nACPI: APEI: GHES: Bound AER info copy and sanitize software metadata\n\nghes_handle_aer() copies sizeof(struct aer_capability_regs) out of the\nfixed 96-byte pcie_err->aer_info. The struct is larger, so the copy reads\npast the section, and it fills the software-only header_len and flit fields\nof the embedded struct pcie_tlp_log from firmware bytes.\npcie_print_tlp_log() uses both to bound a loop over dw[], so a large value\nwalks past the array. Nothing checks the section can hold a struct\ncper_sec_pcie either.\n\nValidate error_data_length, zero the destination, and map aer_info onto the\nstruct as extlog_print_pcie() does: copy up to the four Header Log DWORDs,\nthen place the TLP Prefix Log from its own offset. The rest stays zero,\ncovering header_len and flit.","publishedAt":"2026-11-30T13:37:36.602Z","updatedAt":"2026-11-30T13:37:36.602Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7e077e6707b3428562ba30d883ff8f54e98dc18b","status":"affected","lessThan":"f2c89bd56419f3b9972c751033f901c5625dde33","versionType":"git"},{"version":"7e077e6707b3428562ba30d883ff8f54e98dc18b","status":"affected","lessThan":"293037dcbe3926184729ab59126d7a7c1fcb768b","versionType":"git"},{"version":"7e077e6707b3428562ba30d883ff8f54e98dc18b","status":"affected","lessThan":"9c3ad3bfff20d2d7a0c9614db2a58e78123bf0ce","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/acpi/apei/ghes.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/acpi/apei/ghes.c"]}],"references":["https://git.kernel.org/stable/c/f2c89bd56419f3b9972c751033f901c5625dde33","https://git.kernel.org/stable/c/293037dcbe3926184729ab59126d7a7c1fcb768b","https://git.kernel.org/stable/c/9c3ad3bfff20d2d7a0c9614db2a58e78123bf0ce"],"weaknesses":[],"ingestedAt":"2026-11-30T13:56:04.579Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139748.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139748","state":"PUBLISHED","datePublished":"2026-11-30T13:37:36.602Z","dateUpdated":"2026-11-30T13:37:36.602Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.951Z"},"containers":{"cna":{"title":"ACPI: APEI: GHES: Bound AER info copy and sanitize software metadata","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nACPI: APEI: GHES: Bound AER info copy and sanitize software metadata\n\nghes_handle_aer() copies sizeof(struct aer_capability_regs) out of the\nfixed 96-byte pcie_err->aer_info. The struct is larger, so the copy reads\npast the section, and it fills the software-only header_len and flit fields\nof the embedded struct pcie_tlp_log from firmware bytes.\npcie_print_tlp_log() uses both to bound a loop over dw[], so a large value\nwalks past the array. Nothing checks the section can hold a struct\ncper_sec_pcie either.\n\nValidate error_data_length, zero the destination, and map aer_info onto the\nstruct as extlog_print_pcie() does: copy up to the four Header Log DWORDs,\nthen place the TLP Prefix Log from its own offset. The rest stays zero,\ncovering header_len and flit."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7e077e6707b3428562ba30d883ff8f54e98dc18b","status":"affected","lessThan":"f2c89bd56419f3b9972c751033f901c5625dde33","versionType":"git"},{"version":"7e077e6707b3428562ba30d883ff8f54e98dc18b","status":"affected","lessThan":"293037dcbe3926184729ab59126d7a7c1fcb768b","versionType":"git"},{"version":"7e077e6707b3428562ba30d883ff8f54e98dc18b","status":"affected","lessThan":"9c3ad3bfff20d2d7a0c9614db2a58e78123bf0ce","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/acpi/apei/ghes.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/acpi/apei/ghes.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/f2c89bd56419f3b9972c751033f901c5625dde33"},{"url":"https://git.kernel.org/stable/c/293037dcbe3926184729ab59126d7a7c1fcb768b"},{"url":"https://git.kernel.org/stable/c/9c3ad3bfff20d2d7a0c9614db2a58e78123bf0ce"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:37:36.602Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}