Private bug reported:

Description:

On TGL,

$ git grep file_end
...
[ 9631.412090] traps: git[1226522] control protection ip:7f0cd6e12e80 
sp:7f0cc4b62b58 error:3(endbranch)
(gdb) bt
#0  0x00007f6e13778580 in ?? ()
#1  0x00007f6e136e3be8 in jit_machine_stack_exec () from /lib64/libpcre2-8.so.0
#2  0x00007f6e13710299 in pcre2_jit_match_8 () from /lib64/libpcre2-8.so.0
#3  0x000055ecc89e7dc5 in patmatch ()
#4  0x000055ecc89e8fb4 in grep_source_1 ()
#5  0x000055ecc890b33a in run ()
#6  0x00007f6e136944e2 in start_thread () from /lib64/libpthread.so.0
#7  0x00007f6e135c34b3 in clone () from /lib64/libc.so.6
(gdb) disass 140110749730176,+16
Dump of assembler code from 0x7f6e13778580 to 0x7f6e13778590:
   0x00007f6e13778580:    push   %rbx  <<< Missing ENDBR64
   0x00007f6e13778581:    push   %r15
   0x00007f6e13778583:    push   %r14
   0x00007f6e13778585:    push   %r13
   0x00007f6e13778587:    push   %rbp
   0x00007f6e13778588:    mov    %rdi,%rbx
   0x00007f6e1377858b:    sub    $0x50,%rsp
   0x00007f6e1377858f:    mov    0x10(%rbx),%rax
End of assembler dump.
(gdb)


https://bugs.exim.org/show_bug.cgi?id=2509
Please follow up there. Fedora will inherit CET support from upstream when it 
become available there. I will close this Fedora bug report is it must be dealt 
in upstream.

The CET enablement landed to PCRE2 upstream with:

commit d0968b38f5e570f4eb061297c1b9f90e7c2a1396
Author: zherczeg <zherczeg@6239d852-aaf2-0410-a92c-79f79f948069>
Date:   Tue Jan 28 14:13:06 2020 +0000

    JIT compiler update.
    
    git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1215 
6239d852-aaf2-0410-a92c-79f79f948069

Target Release: 20.10

** Affects: intel
     Importance: Undecided
         Status: New

** Affects: ubuntu
     Importance: Undecided
         Status: New


** Tags: intel-cet-20.10

** Also affects: ubuntu
   Importance: Undecided
       Status: New

** Information type changed from Public to Private

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1873135

Title:
  [TGL] JIT in pcre2 doesn't support CET

To manage notifications about this bug go to:
https://bugs.launchpad.net/intel/+bug/1873135/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to