Public bug reported:

Description:  uprobes: fix SIGSEGVs with setjmp/longjmp

Symptom:
 Setting a user space return probe on a function that does not
 return because of a longjmp call may cause SIGSEGV or SIGILL.

Problem: 
 Userspace can do whatever it wants with its stack. Especially
 stack modifications performed with longjmp cannot be handled 100%
 correctly within the uprobes kernel part, which may lead to user
 space observed crashed.

Solution: 
  Implement arch_uretprobe_is_alive() which improves the situation
  a lot and works for many situations.

Upstream-ID:  783c3b53b9506db3e05daacfe34e0287eebb09d8

** Affects: ubuntu-z-systems
     Importance: High
     Assignee: Canonical Kernel Team (canonical-kernel-team)
         Status: Triaged

** Affects: linux (Ubuntu)
     Importance: Undecided
     Assignee: Skipper Bug Screeners (skipper-screen-team)
         Status: New


** Tags: architecture-s39064 bugnameltc-169027 severity-high 
targetmilestone-inin---

** Tags added: architecture-s39064 bugnameltc-169027 severity-high
targetmilestone-inin---

** Changed in: ubuntu
     Assignee: (unassigned) => Skipper Bug Screeners (skipper-screen-team)

** Package changed: ubuntu => linux (Ubuntu)

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

Title:
  uprobes: fix SIGSEGVs with setjmp/longjmp

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1777840/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to