** Changed in: linux (Ubuntu)
Status: In Progress => Fix Released
** Changed in: linux (Ubuntu Bionic)
Status: In Progress => Fix Released
** Changed in: ubuntu-z-systems
Status: In Progress => Fix Released
--
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:
Fix Released
Status in linux package in Ubuntu:
Fix Released
Status in linux source package in Bionic:
Fix Released
Bug description:
== SRU Justification ==
This commit fixes 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.
This commit has also been cc'd to upstream stable, but it has not landed
in Bionic as of yet.
== Fix ==
783c3b53b950 ("s390/uprobes: implement arch_uretprobe_is_alive()")
== Regression Potential ==
Low. Limited to s390. The commit has also been cc'd to upstream
stable, so it has had additional upstream review.
== Test Case ==
A test kernel was built with this patch and tested by the original bug
reporter.
The bug reporter states the test kernel resolved the bug.
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 : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp