This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/22396] New: siglongjmp does not restore PKRU register
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sat, 04 Nov 2017 09:28:43 +0000
- Subject: [Bug libc/22396] New: siglongjmp does not restore PKRU register
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=22396
Bug ID: 22396
Summary: siglongjmp does not restore PKRU register
Product: glibc
Version: 2.26
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: fweimer at redhat dot com
CC: drepper.fsp at gmail dot com
Target Milestone: ---
Target: x86-64
When a signal handler is left using siglongjmp, the PKRU value is not restored.
This is problematic because the signal handler has access to all memory
protection keys disabled.
The application may not be able to save and restore the protection bits for all
keys because the kernel API does not actually specify that the set of keys is a
small, fixed set.
--
You are receiving this mail because:
You are on the CC list for the bug.