Boston-LC:bos1u1: Stress test on Qlogic Fibre Channel on Ubuntu KVM guest that caused KVM host crashed in qlt_free_session_done call
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Ubuntu-power-systems project |
Fix Released
|
High
|
Canonical Kernel Team | ||
linux (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Bionic |
Fix Released
|
High
|
Unassigned |
Bug Description
Problem Description:
=============
- PCI passthru Qlogic Fibre Channel adapter from Ubuntu 18.04 KVM host to Ubuntu 18.04 KVM guest.
- Stress test on Qlogic Fibre Channel on Ubuntu KVM guest caused KVM host crashed in qlt_free_
- Below stack traces from KVM host:
91:mon> t
[c000200e4e81fb60] c00800001162f044 qlt_free_
[c000200e4e81fc90] c00000000012fbb8 process_
[c000200e4e81fd20] c00000000012ff58 worker_
[c000200e4e81fdc0] c000000000138ae8 kthread+0x1a8/0x1b0
[c000200e4e81fe30] c00000000000b528 ret_from_
91:mon> e
cpu 0x91: Vector: 300 (Data Access) at [c000200e4e81f8e0]
pc: c00800001162ed58: qlt_free_
lr: c00800001162eca8: qlt_free_
sp: c000200e4e81fb60
msr: 900000000280b033
dar: 20
dsisr: 40000000
current = 0xc000200e4e7b0e00
paca = 0xc00000000fae3b00 softe: 0 irq_happened: 0x01
pid = 1119, comm = kworker/145:1
Linux version 4.15.0-
91:mon> r
R00 = c00800001162eca8 R16 = 0000000000000000
R01 = c000200e4e81fb60 R17 = 0000000000000000
R02 = c00800001166ad60 R18 = 0000000000000000
R03 = 0000000000000001 R19 = 0000000000000000
R04 = c000200e44f8c7f8 R20 = c000200e618e7d80
R05 = 000000000000f087 R21 = 0000000000000000
R06 = c00800001165e6c8 R22 = 0000000000000001
R07 = c00800001164adb0 R23 = c000200e44f99d24
R08 = 0000000000000000 R24 = 0000000000000402
R09 = 0000000000000000 R25 = 0000000000000000
R10 = 0000000000000000 R26 = c000000fe1270c20
R11 = c00800001163e170 R27 = c000200e44f99000
R12 = c000000000cfccf0 R28 = c00800001164adb0
R13 = c00000000fae3b00 R29 = c000000fe1270c00
R14 = c000000000138948 R30 = c000200e44f8c7f8
R15 = c000200e4f019440 R31 = c000000fe1270cc0
pc = c00800001162ed58 qlt_free_
cfar= c00800001162ed1c qlt_free_
lr = c00800001162eca8 qlt_free_
msr = 900000000280b033 cr = 28002284
ctr = c000000000cfccf0 xer = 0000000000000000 trap = 300
dar = 0000000000000020 dsisr = 40000000
91:mon>
The crash location seems close to this one fixed about two weeks ago:
scsi: qla2xxx: Fix memory corruption during hba reset test
This patch fixes memory corrpution while performing HBA Reset test.
Following stack trace is seen:
[ 466.397219] BUG: unable to handle kernel NULL pointer dereference at 0000000000000020
[ 466.433669] IP: [<ffffffffc06f5
[ 466.467731] PGD 0
[ 466.476718] Oops: 0000 [#1] SMP
- Luciano built and provided the patch with new Qlogic change on Friday last week.
root@bos1u1p1:
linux-image-
linux-image-
- I configured and ran same test over weekend and test ran good. KVM host did not crash in qlt_free_
- So the patch fixed the problem.
Hi Canonical,
Please review and consider this a request to pull in commit 2ce87cc5b269510
CVE References
tags: | added: architecture-ppc64le bugnameltc-164551 severity-high targetmilestone-inin1804 |
Changed in ubuntu: | |
assignee: | nobody → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) |
affects: | ubuntu → linux (Ubuntu) |
Changed in ubuntu-power-systems: | |
importance: | Undecided → High |
assignee: | nobody → Canonical Kernel Team (canonical-kernel-team) |
tags: | added: triage-g |
Changed in linux (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) → Joseph Salisbury (jsalisbury) |
Changed in ubuntu-power-systems: | |
status: | New → In Progress |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
Changed in ubuntu-power-systems: | |
status: | In Progress → Fix Released |
tags: | added: cscc |
I built a test kernel with commit 2ce87cc5b269510 de9ca1185ca8a6e 10ec78c069. The test kernel can be downloaded from: kernel. ubuntu. com/~jsalisbury /lp1750441
http://
Can you test this kernel and see if it resolves this bug?
Note, to test this kernel, you need to install both the linux-image and linux-image-extra .deb packages.
Thanks in advance!