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 Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1777840

Title:
  uprobes: fix SIGSEGVs with setjmp/longjmp

Status in Ubuntu on IBM z Systems:
  Triaged
Status in linux package in Ubuntu:
  New

Bug description:
  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

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to