This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/22396] New: siglongjmp does not restore PKRU register


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]