efi/cper: Read only validated fields in cper_mem_err_pack()

Summary

CVECVE-2026-143458
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-05 03:19:58 UTC
Updated2026-12-05 03:19:58 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: efi/cper: Read only validated fields in cper_mem_err_pack() cper_mem_err_pack() copies extended, rank, mem_array_handle and mem_dev_handle unconditionally. Those live at offsets 73 to 79, past the end of struct cper_sec_mem_err_old, the 73-byte UEFI 2.1/2.2 layout that older firmware still emits and that cper_estatus_print_section() admits. On such a record the copy reads up to seven bytes past the payload, and off the end of the error status block when that section is the last one. Copy each of the four only when its validation bit is set, and zero it otherwise. Nothing is lost: a 2.1/2.2 record leaves those bits clear, and every consumer of struct cper_mem_err_compact already gates the fields on the same bits. Zeroing also stops callers reading them back out of the uninitialised on-stack struct they pass in.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 2dfb7d51a61d7ca91b131c8db612f27d9390f2d5 8a9de35a24f6a987fbc8734eb3b67d1fb63d7e5b git Not specified
CNA Linux Linux affected 2dfb7d51a61d7ca91b131c8db612f27d9390f2d5 4d3d97ccc6d064fa1363b2e39aa922bd211d28ef git Not specified
CNA Linux Linux affected 2dfb7d51a61d7ca91b131c8db612f27d9390f2d5 c8b1759e49003a5d0209aa5059d30d7ed6261c99 git Not specified
CNA Linux Linux affected 2dfb7d51a61d7ca91b131c8db612f27d9390f2d5 74cf6dfe833a10d60e1cbd1fe46f741a55e75f57 git Not specified
CNA Linux Linux affected 2dfb7d51a61d7ca91b131c8db612f27d9390f2d5 94a9bffd88863dbb1572b03fe9675b1a9c785067 git Not specified
CNA Linux Linux affected 2dfb7d51a61d7ca91b131c8db612f27d9390f2d5 cb567ce5e4c776d9b0f06821f3b84ed5c55f6018 git Not specified
CNA Linux Linux affected 2dfb7d51a61d7ca91b131c8db612f27d9390f2d5 b824024d2c8a2dcb3fca591c671153ad1e931691 git Not specified
CNA Linux Linux affected 2dfb7d51a61d7ca91b131c8db612f27d9390f2d5 92480a2b00a15b0add512b6fc474151ec5340a8e git Not specified
CNA Linux Linux affected 3.17 Not specified
CNA Linux Linux unaffected 3.17 semver Not specified
CNA Linux Linux unaffected 5.10.275 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.226 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.119 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.65 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.6 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/94a9bffd88863dbb1572b03fe9675b1a9c785067 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/4d3d97ccc6d064fa1363b2e39aa922bd211d28ef 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b824024d2c8a2dcb3fca591c671153ad1e931691 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/74cf6dfe833a10d60e1cbd1fe46f741a55e75f57 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/cb567ce5e4c776d9b0f06821f3b84ed5c55f6018 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/8a9de35a24f6a987fbc8734eb3b67d1fb63d7e5b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c8b1759e49003a5d0209aa5059d30d7ed6261c99 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/92480a2b00a15b0add512b6fc474151ec5340a8e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report