2020-04-21 12:10:06 |
bugproxy |
bug |
|
|
added bug |
2020-04-21 12:10:08 |
bugproxy |
tags |
|
architecture-s39064 bugnameltc-184167 severity-medium targetmilestone-inin2004 |
|
2020-04-21 12:10:09 |
bugproxy |
ubuntu: assignee |
|
Skipper Bug Screeners (skipper-screen-team) |
|
2020-04-21 12:10:15 |
bugproxy |
affects |
ubuntu |
linux (Ubuntu) |
|
2020-04-21 12:23:26 |
Heinz-Werner Seeck |
summary |
s390x/pci: do not allow to create more pci functions than configured via CONFIG_PCI_NR_FUNCTIONS |
[UBUNTU 20.04] s390x/pci: do not allow to create more pci functions than configured via CONFIG_PCI_NR_FUNCTIONS |
|
2020-04-21 14:40:51 |
Frank Heimes |
description |
Description will follow |
PCI Functions with UIDs >128 are currently not accounted correctly in the s390x/pci code. Furthermore, the code allows that more than CONFIG_PCI_NR_FUNCTIONS are created. This can lead to issues with data structures which were only allocated for CONFIG_PCI_NR_FUNCTIONS.
This has been fixed in the following upstream commit:
969ae01bab2fe938b4c8324836038b5ac1c78fac
("s390/pci: Fix zpci_alloc_domain() over allocation") |
|
2020-04-21 18:12:32 |
Andrew Cloke |
bug task added |
|
ubuntu-z-systems |
|
2020-04-21 18:12:40 |
Andrew Cloke |
ubuntu-z-systems: importance |
Undecided |
Medium |
|
2020-04-21 18:12:48 |
Andrew Cloke |
ubuntu-z-systems: assignee |
|
Canonical Kernel Team (canonical-kernel-team) |
|
2020-04-21 18:12:59 |
Andrew Cloke |
linux (Ubuntu): assignee |
Skipper Bug Screeners (skipper-screen-team) |
|
|
2020-04-22 08:40:18 |
bugproxy |
attachment added |
|
s390/pci: Fix zpci_alloc_domain() over allocation (for focal) https://bugs.launchpad.net/bugs/1874057/+attachment/5357850/+files/0001-s390-pci-Fix-zpci_alloc_domain-over-allocation-for-focal.patch |
|
2020-04-23 10:12:18 |
Frank Heimes |
ubuntu-z-systems: status |
New |
Triaged |
|
2020-04-27 19:00:31 |
Frank Heimes |
description |
PCI Functions with UIDs >128 are currently not accounted correctly in the s390x/pci code. Furthermore, the code allows that more than CONFIG_PCI_NR_FUNCTIONS are created. This can lead to issues with data structures which were only allocated for CONFIG_PCI_NR_FUNCTIONS.
This has been fixed in the following upstream commit:
969ae01bab2fe938b4c8324836038b5ac1c78fac
("s390/pci: Fix zpci_alloc_domain() over allocation") |
SRU Justification:
==================
[Impact]
* PCI Functions with UIDs >128 are currently not accounted correctly in the s390x/pci (zPCI) code.
* Furthermore, the code allows that more than CONFIG_PCI_NR_FUNCTIONS are created.
* This can lead to issues with data structures which were only allocated for CONFIG_PCI_NR_FUNCTIONS.
[Fix]
* https://bugs.launchpad.net/ubuntu-z-systems/+bug/1874057/+attachment/5357850/+files/0001-s390-pci-Fix-zpci_alloc_domain-over-allocation-for-focal.patch
[Test Case]
* Set the kernel parameter CONFIG_PCI_NR_FUNCTIONS to a specific (reasonablly low) number.
* And check if more PCI functions can be created than specified by CONFIG_PCI_NR_FUNCTIONS (e.g. using a RoCE adapter) and watch for kernel message 'Adding PCI function ... failed'
[Regression Potential]
* There is regression potential can be considered as low, since:
* the zPCI cards are less wide spread than for example ccw adapters on s390x
* the fix got already upstream accepted in 5.7, hence upstream reviewed, too
* the modifications span just two files and both are s390x arch specific
[Other Info]
* the above patch-file is based on commit 969ae01bab2fe938b4c8324836038b5ac1c78fac ("s390/pci: Fix zpci_alloc_domain() over allocation"), but this backport was needed for getting this applied to focal master-next
* and this patch got upstream accepted with kernel v5.7-rc1, hence on the long term it should be in 'gorilla'
__________
PCI Functions with UIDs >128 are currently not accounted correctly in the s390x/pci code. Furthermore, the code allows that more than CONFIG_PCI_NR_FUNCTIONS are created. This can lead to issues with data structures which were only allocated for CONFIG_PCI_NR_FUNCTIONS.
This has been fixed in the following upstream commit:
969ae01bab2fe938b4c8324836038b5ac1c78fac
("s390/pci: Fix zpci_alloc_domain() over allocation") |
|
2020-04-28 08:35:25 |
Frank Heimes |
linux (Ubuntu): status |
New |
In Progress |
|
2020-04-28 08:35:29 |
Frank Heimes |
ubuntu-z-systems: status |
Triaged |
In Progress |
|
2020-05-04 13:59:43 |
bugproxy |
attachment added |
|
s390/pci: Fix zpci_alloc_domain() over allocation (for focal 2) https://bugs.launchpad.net/bugs/1874057/+attachment/5366222/+files/0001-s390-pci-Fix-zpci_alloc_domain-over-allocation.patch |
|
2020-05-05 07:40:01 |
Frank Heimes |
description |
SRU Justification:
==================
[Impact]
* PCI Functions with UIDs >128 are currently not accounted correctly in the s390x/pci (zPCI) code.
* Furthermore, the code allows that more than CONFIG_PCI_NR_FUNCTIONS are created.
* This can lead to issues with data structures which were only allocated for CONFIG_PCI_NR_FUNCTIONS.
[Fix]
* https://bugs.launchpad.net/ubuntu-z-systems/+bug/1874057/+attachment/5357850/+files/0001-s390-pci-Fix-zpci_alloc_domain-over-allocation-for-focal.patch
[Test Case]
* Set the kernel parameter CONFIG_PCI_NR_FUNCTIONS to a specific (reasonablly low) number.
* And check if more PCI functions can be created than specified by CONFIG_PCI_NR_FUNCTIONS (e.g. using a RoCE adapter) and watch for kernel message 'Adding PCI function ... failed'
[Regression Potential]
* There is regression potential can be considered as low, since:
* the zPCI cards are less wide spread than for example ccw adapters on s390x
* the fix got already upstream accepted in 5.7, hence upstream reviewed, too
* the modifications span just two files and both are s390x arch specific
[Other Info]
* the above patch-file is based on commit 969ae01bab2fe938b4c8324836038b5ac1c78fac ("s390/pci: Fix zpci_alloc_domain() over allocation"), but this backport was needed for getting this applied to focal master-next
* and this patch got upstream accepted with kernel v5.7-rc1, hence on the long term it should be in 'gorilla'
__________
PCI Functions with UIDs >128 are currently not accounted correctly in the s390x/pci code. Furthermore, the code allows that more than CONFIG_PCI_NR_FUNCTIONS are created. This can lead to issues with data structures which were only allocated for CONFIG_PCI_NR_FUNCTIONS.
This has been fixed in the following upstream commit:
969ae01bab2fe938b4c8324836038b5ac1c78fac
("s390/pci: Fix zpci_alloc_domain() over allocation") |
SRU Justification:
==================
[Impact]
* PCI Functions with UIDs >128 are currently not accounted correctly in the s390x/pci (zPCI) code.
* Furthermore, the code allows that more than CONFIG_PCI_NR_FUNCTIONS are created.
* This can lead to issues with data structures which were only allocated for CONFIG_PCI_NR_FUNCTIONS.
[Fix]
* https://launchpadlibrarian.net/478235080/0001-s390-pci-Fix-zpci_alloc_domain-over-allocation.patch
[Test Case]
* Set the kernel parameter CONFIG_PCI_NR_FUNCTIONS to a specific (reasonablly low) number.
* And check if more PCI functions can be created than specified by CONFIG_PCI_NR_FUNCTIONS (e.g. using a RoCE adapter) and watch for kernel message 'Adding PCI function ... failed'
[Regression Potential]
* There is regression potential can be considered as low, since:
* the zPCI cards are less wide spread than for example ccw adapters on s390x
* the fix got already upstream accepted in 5.7, hence upstream reviewed, too
* the modifications span just two files and both are s390x arch specific
[Other Info]
* the above patch-file is based on commit 969ae01bab2fe938b4c8324836038b5ac1c78fac ("s390/pci: Fix zpci_alloc_domain() over allocation"), but this backport was needed for getting this applied to focal master-next
* and this patch got upstream accepted with kernel v5.7-rc1, hence on the long term it should be in 'gorilla'
__________
PCI Functions with UIDs >128 are currently not accounted correctly in the s390x/pci code. Furthermore, the code allows that more than CONFIG_PCI_NR_FUNCTIONS are created. This can lead to issues with data structures which were only allocated for CONFIG_PCI_NR_FUNCTIONS.
This has been fixed in the following upstream commit:
969ae01bab2fe938b4c8324836038b5ac1c78fac
("s390/pci: Fix zpci_alloc_domain() over allocation") |
|
2020-05-13 08:19:04 |
Frank Heimes |
linux (Ubuntu): status |
In Progress |
Fix Committed |
|
2020-05-13 08:19:08 |
Frank Heimes |
ubuntu-z-systems: status |
In Progress |
Fix Committed |
|
2020-05-13 10:00:31 |
Frank Heimes |
nominated for series |
|
Ubuntu Groovy |
|
2020-05-13 10:00:31 |
Frank Heimes |
bug task added |
|
linux (Ubuntu Groovy) |
|
2020-05-13 10:00:31 |
Frank Heimes |
nominated for series |
|
Ubuntu Focal |
|
2020-05-13 10:00:31 |
Frank Heimes |
bug task added |
|
linux (Ubuntu Focal) |
|
2020-05-13 10:00:40 |
Frank Heimes |
linux (Ubuntu Groovy): status |
Fix Committed |
In Progress |
|
2020-05-13 10:00:47 |
Frank Heimes |
linux (Ubuntu Focal): status |
New |
In Progress |
|
2020-05-13 10:00:52 |
Frank Heimes |
ubuntu-z-systems: status |
Fix Committed |
In Progress |
|
2020-05-14 04:20:59 |
Khaled El Mously |
linux (Ubuntu Focal): status |
In Progress |
Fix Committed |
|
2020-05-14 05:17:25 |
Frank Heimes |
linux (Ubuntu Focal): assignee |
|
Canonical Kernel Team (canonical-kernel-team) |
|
2020-05-14 05:17:33 |
Frank Heimes |
linux (Ubuntu Groovy): assignee |
|
Canonical Kernel Team (canonical-kernel-team) |
|
2020-05-14 05:17:38 |
Frank Heimes |
ubuntu-z-systems: status |
In Progress |
Fix Committed |
|
2020-05-19 14:32:42 |
Ubuntu Kernel Bot |
tags |
architecture-s39064 bugnameltc-184167 severity-medium targetmilestone-inin2004 |
architecture-s39064 bugnameltc-184167 severity-medium targetmilestone-inin2004 verification-needed-focal |
|
2020-05-20 12:40:11 |
bugproxy |
tags |
architecture-s39064 bugnameltc-184167 severity-medium targetmilestone-inin2004 verification-needed-focal |
architecture-s39064 bugnameltc-184167 severity-medium targetmilestone-inin2004 verification-done-focal |
|
2020-06-09 21:04:04 |
Launchpad Janitor |
linux (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|
2020-06-09 21:04:04 |
Launchpad Janitor |
cve linked |
|
2020-0543 |
|
2020-07-28 00:57:39 |
Launchpad Janitor |
linux (Ubuntu Groovy): status |
In Progress |
Fix Released |
|
2020-07-28 00:57:39 |
Launchpad Janitor |
cve linked |
|
2019-16089 |
|
2020-07-28 00:57:39 |
Launchpad Janitor |
cve linked |
|
2019-19642 |
|
2020-07-28 00:57:39 |
Launchpad Janitor |
cve linked |
|
2020-11935 |
|
2020-07-28 05:54:00 |
Frank Heimes |
ubuntu-z-systems: status |
Fix Committed |
Fix Released |
|