diff options
author | linted <linted@users.noreply.github.com> | 2023-01-21 15:22:48 -0500 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2023-01-22 09:31:12 +0100 |
commit | 60f1d7cff4c17d3be239bb86237010404d75f7b7 (patch) | |
tree | d6d6e6e9d9f9579360e22edd23e27b2f07ac2bf6 /libpthread/linuxthreads/queue.h | |
parent | 40f4a56f4311c0e39e145160a38c4eff7942b697 (diff) |
Fix for CVE-2022-29503.
Changed linux thread's stack allocation mmap to use new MAP_FIXED_NOREPLACE flag on kernels >4.17.
For older kernels, a check is added to see if requested address matches the address received.
If the addresses don't match, an error is returned and thread creation is aborted.
Signed-off-by: linted <linted@users.noreply.github.com>
Diffstat (limited to 'libpthread/linuxthreads/queue.h')
0 files changed, 0 insertions, 0 deletions