Hotplugging a SATA disk into a SAS controller may cause crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Hotplugging a SATA disk into a SAS controller may trigger a NULL pointer dereference, leading to a crash:
[ 2366.923208] Unable to handle kernel NULL pointer dereference
at virtual address 000007b8
...
[ 2368.766334] Call trace:
[ 2368.781712] [<ffffffc00065c
[ 2368.800394] [<ffffffc00065c
[ 2368.817975] [<ffffffc00063e
[ 2368.835570] [<ffffffc000640
[ 2368.853034] [<ffffffc0006e5
[ 2368.871614] [<ffffffc0006e5
[ 2368.889152] [<ffffffc0000da
[ 2368.908003] [<ffffffc0000da
[ 2368.924613] [<ffffffc0000e0
[Test Case]
Unplug a SATA disk from a SAS controller and insert a new SATA disk in its place.
[Fix]
The ATA_PFLAG_
[Regression Risk]
The fix is a clean cherry-pick from upstream that is tagged for stable. No subsequent patches in linux-next have a "Fixes:" marker referencing this patch, suggesting no regressions have been found since its introduction.
Changed in linux (Ubuntu): | |
status: | New → In Progress |
Changed in linux (Ubuntu Bionic): | |
status: | New → In Progress |
description: | updated |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu): | |
status: | In Progress → Fix Released |
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- bionic' to 'verification- done-bionic' . If the problem still exists, change the tag 'verification- needed- bionic' to 'verification- failed- bionic' .
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!