Linux
ACPI: APEI: GHES: fix ARM section length accounting after header
In the Linux kernel, the following vulnerability has been resolved: ACPI: APEI: GHES: fix ARM section length accounting after header In ghes_handle_arm_hw_error(), after skipping the cper_sec_proc_arm header with (err + 1), the remaining length was reduced by sizeof(err) (pointer size) instead of sizeof(*err) (structure size). That overestimates the bytes left for cper_arm_err_info records and can let the parser read past the CPER section when err_info_num is large enough relative to error_data_length. Use sizeof(*err) so the length accounting matches the pointer advance and the earlier sizeof(*err) size check.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 242c652849d979d0133c315a42d9acea0ff88390, < 5ff385e9403e87ae33f65b8c38698d3b1e92cfde
- >= 136093ba4161e0080088abff48273f6830a47766, < 452eb28e03015abec6d4bf6488ee567706ade4e1
- >= 87880af2d24e62a84ed19943dbdd524f097172f2, < b48b613073c3d652cb1823c15d16f7067cf4cee4
- >= 87880af2d24e62a84ed19943dbdd524f097172f2, < 903308ea40adf0577d82eab69882faf8836326ce
- db103b8bd3a4aca69b1b5fe8831a6ed75ac4b3bd
- >= 6.12.75, < 6.12.109
- >= 6.18.16, < 6.18.50
- >= 6.19.6, < 6.20
Fixed in 5ff385e9403e87ae33f65b8c38698d3b1e92cfde, 452eb28e03015abec6d4bf6488ee567706ade4e1, b48b613073c3d652cb1823c15d16f7067cf4cee4, 903308ea40adf0577d82eab69882faf8836326ce, 6.12.109, 6.18.50, 6.20
- 7.0
Fixed in 0, 6.12.109, 6.18.50, 7.2.4, 7.3
Mitigation
Upgrade Linux to 5ff385e9403e87ae33f65b8c38698d3b1e92cfde or 452eb28e03015abec6d4bf6488ee567706ade4e1 or b48b613073c3d652cb1823c15d16f7067cf4cee4 or 903308ea40adf0577d82eab69882faf8836326ce or 6.12.109 or 6.18.50 or 6.20 or later.
Upgrade Linux to 0 or 6.12.109 or 6.18.50 or 7.2.4 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.