drm/fbdev: Return -EBUSY when oopsing

Bug #1520427 reported by XiongZhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Joseph Salisbury
Vivid
Fix Released
Medium
Joseph Salisbury
Wily
Fix Released
Medium
Joseph Salisbury
Xenial
Fix Released
Medium
Joseph Salisbury

Bug Description

Issue:
Between upstream kernel v3.19 to v4.2,when Intel SMEP/SMAP protection was triggered by some wild function call or data access, the screen would be frozen and never come back,but the system does not hang.

Generally, an SMEP/SMAP violation should cause the involved process killed, an oops from page fault exception generated to the syslog, and the system survived.

Fix:
One patch from 4.3 kernel fix this issue
commit c50bfd08d60cefbe1714c4a53b1c325982858549
Author: Daniel Vetter <email address hidden>
Date: Tue Jul 28 13:18:40 2015 +0200

    drm/fbdev: Return -EBUSY when oopsing

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1520427

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Incomplete → Triaged
Changed in linux (Ubuntu Wily):
status: New → Triaged
Changed in linux (Ubuntu Vivid):
status: New → Triaged
Changed in linux (Ubuntu Wily):
importance: Undecided → Medium
Changed in linux (Ubuntu Vivid):
importance: Undecided → Medium
tags: added: vivid wily xenial
Changed in linux (Ubuntu Vivid):
assignee: nobody → Joseph Salisbury (jsalisbury)
Changed in linux (Ubuntu Wily):
assignee: nobody → Joseph Salisbury (jsalisbury)
Changed in linux (Ubuntu Xenial):
assignee: nobody → Joseph Salisbury (jsalisbury)
Changed in linux (Ubuntu Vivid):
status: Triaged → In Progress
Changed in linux (Ubuntu Wily):
status: Triaged → In Progress
Changed in linux (Ubuntu Xenial):
status: Triaged → In Progress
status: In Progress → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

I built a test kernel with a cherry pick of commit c50bfd08. The test kernel can be downloaded from:

http://kernel.ubuntu.com/~jsalisbury/lp1520427/

Can you test this kernel and see if it resolves this bug?

Thanks in advance!

Revision history for this message
XiongZhang (xiong-y-zhang) wrote :

I tested the above kernel in comment #2, it pass SMEP/SMAP test and doesn't generate regression.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Thanks for the update. I will submit an SRU request for that commit.

Changed in linux (Ubuntu Xenial):
status: Confirmed → Fix Released
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Commit c50bfd08 does not pick cleanly in the Vivid(3.19) kernel. The 3.19 kernel does not have intel_fbdev_blank() or intel_fbdev_pan_display(). intel_fbdev_blank() was added by commit 03e515f7 in v4.1-rc1. intel_fbdev_pan_display() was added by commit d9a946b5 in v4.2-rc1.

Can you confirm where or not commit c50bfd08 is needed in the 3.19 Wily kernel? If it is, I can backport the commit.

Thanks in advance!

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

It looks like you already submitted an SRU request, so please ignore comment #4. And it looks like apw has performed the backport for #5.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

I built a Vivid test kernel with the backport from Andy Whitcroft. The test kernel can be downloaded from:

http://kernel.ubuntu.com/~jsalisbury/lp1520427/

Can you test this kernel and see if it resolves this bug?

Thanks in advance!

Revision history for this message
XiongZhang (xiong-y-zhang) wrote :

The kernel in comment #7 pass our SMEP/SMAP test and doesn't generate regression.

Luis Henriques (henrix)
Changed in linux (Ubuntu Vivid):
status: In Progress → Fix Committed
Changed in linux (Ubuntu Wily):
status: In Progress → Fix Committed
Revision history for this message
Luis Henriques (henrix) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-wily' to 'verification-done-wily'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-wily
Revision history for this message
Luis Henriques (henrix) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-vivid' to 'verification-done-vivid'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-vivid
tags: added: verification-done-vivid verification-done-wily
removed: verification-needed-vivid verification-needed-wily
Revision history for this message
Andy Whitcroft (apw) wrote :

Fix released in 3.19.0-47.53

Changed in linux (Ubuntu Vivid):
status: Fix Committed → Fix Released
Revision history for this message
Andy Whitcroft (apw) wrote :

Fix released in 4.2.0-27.32

Changed in linux (Ubuntu Wily):
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.