qeth: use vzalloc for QUERY OAT buffer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
High
|
Canonical Kernel Team | ||
linux (Ubuntu) |
Fix Released
|
Medium
|
Joseph Salisbury | ||
Xenial |
Fix Released
|
Medium
|
Joseph Salisbury | ||
Bionic |
Fix Released
|
Medium
|
Joseph Salisbury | ||
Cosmic |
Fix Released
|
Medium
|
Joseph Salisbury |
Bug Description
== SRU Justification ==
IBM reports the qethqoat tool fails. qeth_query_
allocates the kernel buffer for the SIOC_QETH_QUERY_OAT ioctl with kzalloc.
This commit will cause the use of vzalloc() instead of kzalloc(), backing
the allocation with non-contiguous memory.
Xenial also needs this commit, but requres a slightly different
backport. It's SRU will be sent separate.
== Fix ==
aec45e857c55 ("s390/qeth: use vzalloc for QUERY OAT buffer")
== Regression Potential ==
Low, limited to s390.
== Test Case ==
IBM verified testing of this commit up-front.
Description: qeth: use vzalloc for QUERY OAT buffer
Symptom: qethqoat tool fails.
Problem: qeth_query_
Solution: Using vzalloc() instead of kzalloc(), backing the allocation with non-contiguous memory.
Commit -ID: aec45e857c55386
kernel 4.19.
To be fixed for 18.10, 18,04 and 16.04.
CVE References
tags: | added: architecture-s39064 bugnameltc-171548 severity-high targetmilestone-inin1810 |
Changed in ubuntu: | |
assignee: | nobody → Skipper Bug Screeners (skipper-screen-team) |
affects: | ubuntu → linux (Ubuntu) |
Changed in ubuntu-z-systems: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Canonical Kernel Team (canonical-kernel-team) |
Changed in linux (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | Skipper Bug Screeners (skipper-screen-team) → Joseph Salisbury (jsalisbury) |
Changed in linux (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in linux (Ubuntu Xenial): | |
status: | New → In Progress |
Changed in linux (Ubuntu Bionic): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Xenial): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Bionic): | |
assignee: | nobody → Joseph Salisbury (jsalisbury) |
Changed in linux (Ubuntu Xenial): | |
assignee: | nobody → Joseph Salisbury (jsalisbury) |
Changed in ubuntu-z-systems: | |
status: | Triaged → In Progress |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
Changed in ubuntu-z-systems: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-z-systems: | |
status: | Fix Committed → Fix Released |
I built Xenial, Bionic and Cosmic test kernels with commit aec45e857c55. The test kernels can be downloaded from: kernel. ubuntu. com/~jsalisbury /lp1793086
http://
Can you test this kernel and see if it resolves this bug?
Note about installing test kernels: unsigned .deb packages.
• If the test kernel is prior to 4.15(Bionic) you need to install the linux-image and linux-image-extra .deb packages.
• If the test kernel is 4.15(Bionic) or newer, you need to install the linux-modules, linux-modules-extra and linux-image-
Thanks in advance!