An issue was discovered in sysstat 12.1.1. The remap_struct function in sa_common.c has an out-of-bounds read during a memset call, as demonstrated by sadf. Upstream issue: https://github.com/sysstat/sysstat/issues/199 Upstream patch: https://github.com/sysstat/sysstat/commit/fbc691eaaa10d0bcea6741d5a223dc3906106548
Created sysstat tracking bugs for this issue: Affects: fedora-all [bug 1679545]
Statement: This issue did not affect the versions of sysstat as shipped with Red Hat Enterprise Linux 5, 6, and 7 as they did not include the vulnerable function, which was introduced in newer version of the package.
The vulnerable function, remap_struct, was introduced upstream with the following commit in version v11.7.1: https://github.com/sysstat/sysstat/commit/65ac30359e49ee717397e39950d7c24a6610d57c