~vicamo/+git/ubuntu-kernel:bug-1895909/debug/2

Last commit made on 2020-09-17
Get this branch:
git clone -b bug-1895909/debug/2 https://git.launchpad.net/~vicamo/+git/ubuntu-kernel
Only You-Sheng Yang can upload to this branch. If you are You-Sheng Yang please log in for upload directions.

Branch merges

Branch information

Name:
bug-1895909/debug/2
Repository:
lp:~vicamo/+git/ubuntu-kernel

Recent commits

eb6fe26... by You-Sheng Yang

Bug 1895909: After upgrade kernel 5.6.0-1028-oem, system can not reboot

ddb27a4... by You-Sheng Yang

UBUNTU: SAUCE: PCI/ASPM: VMD: add ASPM quirk for 8086:a0bc

BugLink: https://bugs.launchpad.net/bugs/1893194

One VMD equipped platform has another PCI bridge with PCI ID [8086:a0bc]
that is not already in Ubuntu sauced PCI_DEV_FLAGS_ENABLE_ASPM list.
Link Capability Register shows ASPM L1 supported, but has ASPM Disabled
in Link Control status:

10000:e0:1c.4 PCI bridge [0604]: Intel Corporation Device [8086:a0bc]
(rev 20) (prog-if 00 [Normal decode])
        ...
 Capabilities: [40] Express (v2) Root Port (Slot+), MSI 00
  ...
  LnkCap: Port #5, Speed 8GT/s, Width x4, ASPM L1, Exit Latency L1 <16us
   ClockPM- Surprise- LLActRep+ BwNot+ ASPMOptComp+
  LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk+
   ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-

This adds an additional device [8086:a0bc], a PCI bridge behind VMD
controller, to enable its ASPM.

Signed-off-by: You-Sheng Yang <email address hidden>
Signed-off-by: Timo Aaltonen <email address hidden>

d4544cb... by Jonathan Derrick

UBUNTU: SAUCE: PCI: vmd: Add AHCI to fast interrupt list

BugLink: https://bugs.launchpad.net/bugs/1894778

Some platforms have an AHCI controller behind VMD. These platforms are
working correctly except for a case when the AHCI MSI is programmed with
VMD IRQ vector 0 (0xfee00000). When programmed with any other interrupt
(0xfeeNN000), the MSI is routed correctly and is handled by VMD. Placing
the AHCI MSI(s) in the fast-interrupt allow list solves the issue.

This also requires that VMD allocate more than one MSI/X vector and
changes the minimum MSI/X vectors allocated to two.

Signed-off-by: Jon Derrick <email address hidden>
(cherry-picked from https://patchwork.kernel.org/patch/11758345/)
Signed-off-by: You-Sheng Yang <email address hidden>
Signed-off-by: Timo Aaltonen <email address hidden>

34e99d9... by Timo Aaltonen

UBUNTU: Ubuntu-oem-5.6-5.6.0-1027.27

Signed-off-by: Timo Aaltonen <email address hidden>

cdfe9c1... by Nehal Bakulchandra Shah

UBUNTU: SAUCE: xhci: workaround for S3 issue on AMD SNPS 3.0 xHC

BugLink: https://bugs.launchpad.net/bugs/1893914

On some platform of AMD, S3 fails with HCE and SRE errors.To fix this,
sparse controller enable bit has to be disabled.

Signed-off-by: Nehal Bakulchandra Shah <email address hidden>
(backported from https://lkml.org/lkml/2020/8/31/86)
Signed-off-by: Aaron Ma <email address hidden>
Signed-off-by: Timo Aaltonen <email address hidden>

6bc5de3... by Timo Aaltonen

UBUNTU: link-to-tracker: update tracking bug

BugLink: https://bugs.launchpad.net/bugs/1894714
Properties: no-test-build
Signed-off-by: Timo Aaltonen <email address hidden>

da2181f... by Timo Aaltonen

UBUNTU: Start new release

Ignore: yes
Signed-off-by: Timo Aaltonen <email address hidden>

aa114ae... by Kleber Sacilotto de Souza

UBUNTU: Ubuntu-oem-5.6-5.6.0-1026.26

Signed-off-by: Kleber Sacilotto de Souza <email address hidden>

a8cd6c1... by Kleber Sacilotto de Souza

UBUNTU: link-to-tracker: update tracking bug

BugLink: https://bugs.launchpad.net/bugs/1894292
Properties: no-test-build
Signed-off-by: Kleber Sacilotto de Souza <email address hidden>

affa77c... by Or Cohen <email address hidden>

UBUNTU: SAUCE: net/packet: fix overflow in tpacket_rcv

Using tp_reserve to calculate netoff can overflow as
tp_reserve is unsigned int and netoff is unsigned short.

This may lead to macoff receving a smaller value then
sizeof(struct virtio_net_hdr), and if po->has_vnet_hdr
is set, an out-of-bounds write will occur when
calling virtio_net_hdr_from_skb.

The bug is fixed by converting netoff to unsigned int
and checking if it exceeds USHRT_MAX.

This addresses CVE-2020-14386

Fixes: 8913336a7e8d ("packet: add PACKET_RESERVE sockopt")
Signed-off-by: Or Cohen <email address hidden>
Signed-off-by: Eric Dumazet <email address hidden>
CVE-2020-14386
Signed-off-by: Thadeu Lima de Souza Cascardo <email address hidden>
Acked-by: Marcelo Henrique Cerri <email address hidden>
Acked-by: Ian May <email address hidden>
Signed-off-by: Kleber Sacilotto de Souza <email address hidden>