ACPI: APEI: GHES: fix ARM section length accounting after header
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.12.109, 6.18.50, 6.20, 7.2.4
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 242c652849d979d0133c315a42d9acea0ff88390 · fixed in 5ff385e9403e87ae33f65b8c38698d3b1e92cfde; From 136093ba4161e0080088abff48273f6830a47766 · fixed in 452eb28e03015abec6d4bf6488ee567706ade4e1; From 87880af2d24e62a84ed19943dbdd524f097172f2 · fixed in b48b613073c3d652cb1823c15d16f7067cf4cee4; From 87880af2d24e62a84ed19943dbdd524f097172f2 · fixed in 903308ea40adf0577d82eab69882faf8836326ce; From 6.12.75 · fixed in 6.12.109; From 6.18.16 · fixed in 6.18.50; From 6.19.6 · fixed in 6.20
- Linux Linux
7.0
- KernelLinux
fixed in 6.12.109; From 6.13.0 · fixed in 6.18.50; From 6.19.0 · fixed in 7.2.4