ftrace on xenial can be hung, cause an oops or reboot

Bug #1666647 reported by Colin Ian King
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Colin Ian King

Bug Description

== SRU Request, Xenial ==

While writing an ftrace smoke test I managed to hang, oops and reboot the kernel when running the same test on the current xenial kernel on amd64. The test works fine on other kernels, so this is specific to Xenial.

== Test case ==

http://kernel.ubuntu.com/git/ubuntu/autotest-client-tests.git/commit/?id=cb1d178ee4cf42cffbf5ec20b9707365aa941f16

Without the fix, the kernel will hang/crash. With the fix the test will run to completion as expected.

== Fix ==

Upstream commit:

commit 8329e818f14926a6040df86b2668568bde342ebf
Author: Steven Rostedt <email address hidden>
Date: Mon May 16 23:00:35 2016 -0400

    ftrace/x86: Set ftrace_stub to weak to prevent gcc from using short
jumps to it

== Regression Potenial ==

Slim to zero.

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: New → In Progress
assignee: nobody → Colin Ian King (colin-king)
Revision history for this message
Colin Ian King (colin-king) wrote :

This has been merged to master-next on Feb 13, as part of the v4.4.45
update.

Changed in linux (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Colin Ian King (colin-king) wrote :

Checked on 4.4.0-67 kernel and passes tests.

Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.