UIO: mutex used in interrupt handler causes crash
Bug #1843487 reported by
Tom Brezinski
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Undecided
|
Kamal Mostafa | ||
Bionic |
Fix Released
|
Medium
|
Kamal Mostafa |
Bug Description
Running:
Bionic Beaver
Ubuntu 4.15.0-
Problem since: Ubuntu-4.15.0-59.66
In commit 725bbc87 on 2/13/2019 in uio.c a mutex_lock was added to uio_interrupt. This results in a "scheduling while atomic" error if someone else owns the mutex at the time it is invoked.
The following commit in the kernel mainline appears to fix this issue:
https:/
description: | updated |
tags: | added: bionic |
description: | updated |
description: | updated |
Changed in linux (Ubuntu): | |
status: | Confirmed → In Progress |
assignee: | nobody → Kamal Mostafa (kamalmostafa) |
Changed in linux (Ubuntu Bionic): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu): | |
status: | In Progress → Invalid |
To post a comment you must log in.
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1843487
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.