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.
https://git.kernel.org/stable/c/b48b613073c3d652cb1823c15d16f7067cf4cee4
https://git.kernel.org/stable/c/903308ea40adf0577d82eab69882faf8836326ce
https://git.kernel.org/stable/c/5ff385e9403e87ae33f65b8c38698d3b1e92cfde
https://git.kernel.org/stable/c/452eb28e03015abec6d4bf6488ee567706ade4e1