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.
Created sysstat tracking bugs for this issue:
Affects: fedora-all [bug 1679545]
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: