diff options
author | Ben Kallus <benjamin.p.kallus.gr@dartmouth.edu> | 2025-02-14 00:34:54 -0500 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2025-03-03 18:31:27 -0500 |
commit | 4cf2d869367e3813c6c8f662915dedb1f3830c53 (patch) | |
tree | 6722ce7030179315d44392ddf9333dddf7f6fc1f /sysdeps/powerpc/powerpc32/power7/multiarch | |
parent | 8c6fee9f7f4c09bf96766942fdd430f8beb638b0 (diff) | |
download | glibc-master.zip glibc-master.tar.gz glibc-master.tar.bz2 |
If attacker overwrites the bk_nextsize link in the first chunk of a
largebin that later has a smaller chunk inserted into it, malloc will
write a heap pointer into an attacker-controlled address [0].
This patch adds an integrity check to mitigate this attack.
[0]: https://github.com/shellphish/how2heap/blob/master/glibc_2.39/large_bin_attack.c
Signed-off-by: Ben Kallus <benjamin.p.kallus.gr@dartmouth.edu>
Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'sysdeps/powerpc/powerpc32/power7/multiarch')
0 files changed, 0 insertions, 0 deletions