Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
242c652849d979d0133c315a42d9acea0ff88390 to < 5ff385e9403e87ae33f65b8c38698d3b1e92cfdeaffected136093ba4161e0080088abff48273f6830a47766 to < 452eb28e03015abec6d4bf6488ee567706ade4e1affected87880af2d24e62a84ed19943dbdd524f097172f2 to < b48b613073c3d652cb1823c15d16f7067cf4cee4affected87880af2d24e62a84ed19943dbdd524f097172f2 to < 903308ea40adf0577d82eab69882faf8836326ceaffecteddb103b8bd3a4aca69b1b5fe8831a6ed75ac4b3bdaffected6.12.75 to < 6.12.109affected6.18.16 to < 6.18.50affected6.19.6 to < 6.20affected
Linux Linux
Default version status: affected
7.0affected0 to < 7.0unaffected6.12.109 to ≤ 6.12.*unaffected6.18.50 to ≤ 6.18.*unaffected7.2.4 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected