2022-01-27 13:40:46 |
Tim Gardner |
bug |
|
|
added bug |
2022-01-27 13:41:01 |
Tim Gardner |
tags |
|
bot-stop-nagging |
|
2022-01-27 13:41:57 |
Tim Gardner |
nominated for series |
|
Ubuntu Focal |
|
2022-01-27 13:41:57 |
Tim Gardner |
bug task added |
|
linux-azure (Ubuntu Focal) |
|
2022-01-27 13:41:57 |
Tim Gardner |
nominated for series |
|
Ubuntu Bionic |
|
2022-01-27 13:41:57 |
Tim Gardner |
bug task added |
|
linux-azure (Ubuntu Bionic) |
|
2022-01-27 13:41:57 |
Tim Gardner |
nominated for series |
|
Ubuntu Impish |
|
2022-01-27 13:41:57 |
Tim Gardner |
bug task added |
|
linux-azure (Ubuntu Impish) |
|
2022-01-27 13:41:57 |
Tim Gardner |
nominated for series |
|
Ubuntu Jammy |
|
2022-01-27 13:41:57 |
Tim Gardner |
bug task added |
|
linux-azure (Ubuntu Jammy) |
|
2022-01-27 13:42:09 |
Tim Gardner |
linux-azure (Ubuntu Bionic): status |
New |
In Progress |
|
2022-01-27 13:42:13 |
Tim Gardner |
linux-azure (Ubuntu Focal): status |
New |
In Progress |
|
2022-01-27 13:42:17 |
Tim Gardner |
linux-azure (Ubuntu Impish): status |
New |
In Progress |
|
2022-01-27 13:42:22 |
Tim Gardner |
linux-azure (Ubuntu Jammy): status |
New |
In Progress |
|
2022-01-27 13:42:27 |
Tim Gardner |
linux-azure (Ubuntu Bionic): importance |
Undecided |
Medium |
|
2022-01-27 13:42:30 |
Tim Gardner |
linux-azure (Ubuntu Focal): importance |
Undecided |
Medium |
|
2022-01-27 13:42:34 |
Tim Gardner |
linux-azure (Ubuntu Impish): importance |
Undecided |
Medium |
|
2022-01-27 13:42:37 |
Tim Gardner |
linux-azure (Ubuntu Jammy): importance |
Undecided |
Medium |
|
2022-01-27 13:42:42 |
Tim Gardner |
linux-azure (Ubuntu Bionic): assignee |
|
Tim Gardner (timg-tpi) |
|
2022-01-27 13:42:45 |
Tim Gardner |
linux-azure (Ubuntu Focal): assignee |
|
Tim Gardner (timg-tpi) |
|
2022-01-27 13:42:49 |
Tim Gardner |
linux-azure (Ubuntu Impish): assignee |
|
Tim Gardner (timg-tpi) |
|
2022-01-27 13:42:53 |
Tim Gardner |
linux-azure (Ubuntu Jammy): assignee |
|
Tim Gardner (timg-tpi) |
|
2022-01-27 16:16:29 |
Tim Gardner |
bug task added |
|
linux-azure-4.15 (Ubuntu) |
|
2022-01-27 16:16:45 |
Tim Gardner |
linux-azure-4.15 (Ubuntu Bionic): status |
New |
In Progress |
|
2022-01-27 16:16:45 |
Tim Gardner |
linux-azure-4.15 (Ubuntu Bionic): assignee |
|
Tim Gardner (timg-tpi) |
|
2022-01-27 16:17:04 |
Tim Gardner |
linux-azure-4.15 (Ubuntu Focal): status |
New |
Invalid |
|
2022-01-27 16:17:21 |
Tim Gardner |
linux-azure-4.15 (Ubuntu Impish): status |
New |
Invalid |
|
2022-01-27 16:17:35 |
Tim Gardner |
linux-azure-4.15 (Ubuntu Jammy): status |
New |
Invalid |
|
2022-01-27 16:17:52 |
Tim Gardner |
linux-azure (Ubuntu Jammy): status |
In Progress |
Fix Committed |
|
2022-01-27 16:18:49 |
Tim Gardner |
bug task added |
|
linux-azure-5.13 (Ubuntu) |
|
2022-01-27 16:20:01 |
Tim Gardner |
linux-azure-5.13 (Ubuntu Focal): importance |
Undecided |
Medium |
|
2022-01-27 16:20:01 |
Tim Gardner |
linux-azure-5.13 (Ubuntu Focal): status |
New |
In Progress |
|
2022-01-27 16:20:01 |
Tim Gardner |
linux-azure-5.13 (Ubuntu Focal): assignee |
|
Tim Gardner (timg-tpi) |
|
2022-01-27 16:20:17 |
Tim Gardner |
linux-azure-4.15 (Ubuntu Bionic): importance |
Undecided |
Medium |
|
2022-01-27 16:20:35 |
Tim Gardner |
linux-azure-5.13 (Ubuntu Bionic): status |
New |
Invalid |
|
2022-01-27 16:20:47 |
Tim Gardner |
linux-azure-5.13 (Ubuntu Impish): status |
New |
Invalid |
|
2022-01-27 16:21:04 |
Tim Gardner |
linux-azure-5.13 (Ubuntu Jammy): status |
New |
Invalid |
|
2022-01-27 16:21:33 |
Tim Gardner |
bug task added |
|
linux-azure-5.11 (Ubuntu) |
|
2022-01-27 16:21:48 |
Tim Gardner |
linux-azure-5.11 (Ubuntu Bionic): status |
New |
Invalid |
|
2022-01-27 16:22:09 |
Tim Gardner |
linux-azure-5.11 (Ubuntu Focal): importance |
Undecided |
Medium |
|
2022-01-27 16:22:09 |
Tim Gardner |
linux-azure-5.11 (Ubuntu Focal): status |
New |
In Progress |
|
2022-01-27 16:22:09 |
Tim Gardner |
linux-azure-5.11 (Ubuntu Focal): assignee |
|
Tim Gardner (timg-tpi) |
|
2022-01-27 16:22:23 |
Tim Gardner |
linux-azure-5.11 (Ubuntu Impish): status |
New |
Invalid |
|
2022-01-27 16:22:35 |
Tim Gardner |
linux-azure-5.11 (Ubuntu Jammy): status |
New |
Invalid |
|
2022-01-28 12:39:11 |
Tim Gardner |
description |
SRU Justification
[Impact]
Secure boot instances of linux-azure require an EFI framebuffer in some cases in order for the VM to boot.
[Test Case]
Microsoft tested. This config is also enabled on the master branch.
[Where things could go wrong]
VMs on certain instance types could fail to boot.
[Other Info]
SF: #00327005 |
SRU Justification
[Impact]
Secure boot instances of linux-azure require an EFI framebuffer in some cases in order for the VM to boot.
The issue was noticed in Ubuntu 18.04 linux-azure kernel, but actually exists in the latest mainline kernel. The issue happens when the below conditions are met:
hyperv_pci is built into the kernel and hyperv_fb is not, i.e., this means hyperv_pci loads before hyperv_fb loads.
CONFIG_FB_EFI is not defined, i.e., the efifb driver is not used.
Here is how the bug happens:
Linux VM starts, and vmbus_reserve_fb() reserves the VRAM [base=0xf8000000, length=8MB].
hyper-pci loads, gets MMIO [base=0xf8800000, lengh=8KB] as the bridge config window, and may get some other 64-bit MMIO ranges, and some 32-bit MMIO ranges (if needed.)
hyperv-fb loads, and gets MMIO [base=0xf8000000, lengh=8MB or a different length], and sets screen_info.lfb_base = 0.
VM panics.
The kdump kernel starts to run, and vmbus_reserve_fb() is not reserving [base=0xf8000000, length=8MB] due to the lfb_base==0.
hyperv-pci loads and gets [base=0xf8000000, lengh=8KB] and the host PCI VSP driver rejects this address as the bridge config window.
The crux of the problem is that Linux vmbus driver itself is unable to detect the VRAM base/length (it looks like a video BIOS call is needed to get this info and such a BIOS call is inappropriate or impossible in hv_vmbus) and has to rely on screen_info.lfb_base (which is set by grub or the kdump/kexec tool and can be reset to zero by hyperv_fb/drm).
Solution: Enable CONFIG_FB_EFI=y
[Test Case]
Microsoft tested. This config is also enabled on the master branch.
[Where things could go wrong]
VMs on certain instance types could fail to boot.
[Other Info]
SF: #00327005 |
|
2022-02-03 23:09:19 |
Dexuan Cui |
bug |
|
|
added subscriber Dexuan Cui |
2022-02-04 15:36:29 |
Tim Gardner |
linux-azure-4.15 (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2022-02-04 15:46:59 |
Tim Gardner |
linux-azure-5.11 (Ubuntu Focal): status |
In Progress |
Fix Committed |
|
2022-02-04 15:59:32 |
Tim Gardner |
linux-azure-5.13 (Ubuntu Focal): status |
In Progress |
Fix Committed |
|
2022-02-04 16:33:26 |
Tim Gardner |
linux-azure (Ubuntu Impish): status |
In Progress |
Fix Committed |
|
2022-02-04 16:33:40 |
Tim Gardner |
linux-azure (Ubuntu Focal): status |
In Progress |
Fix Committed |
|
2022-02-04 16:33:56 |
Tim Gardner |
linux-azure (Ubuntu Bionic): importance |
Medium |
Undecided |
|
2022-02-04 16:33:56 |
Tim Gardner |
linux-azure (Ubuntu Bionic): status |
In Progress |
Invalid |
|
2022-02-04 16:33:56 |
Tim Gardner |
linux-azure (Ubuntu Bionic): assignee |
Tim Gardner (timg-tpi) |
|
|
2022-02-10 04:21:19 |
Ubuntu Kernel Bot |
tags |
bot-stop-nagging |
bot-stop-nagging verification-needed-focal |
|
2022-02-10 13:42:12 |
Tim Gardner |
tags |
bot-stop-nagging verification-needed-focal |
bot-stop-nagging verification-done-focal |
|
2022-02-12 09:24:33 |
Ubuntu Kernel Bot |
tags |
bot-stop-nagging verification-done-focal |
bot-stop-nagging verification-done-focal verification-needed-impish |
|
2022-02-18 22:35:54 |
Ian May |
tags |
bot-stop-nagging verification-done-focal verification-needed-impish |
bot-stop-nagging verification-done-focal verification-done-impish |
|
2022-02-21 15:27:36 |
Launchpad Janitor |
linux-azure (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|
2022-02-21 15:27:36 |
Launchpad Janitor |
cve linked |
|
2021-4083 |
|
2022-02-21 15:27:36 |
Launchpad Janitor |
cve linked |
|
2021-4155 |
|
2022-02-21 15:27:36 |
Launchpad Janitor |
cve linked |
|
2022-0330 |
|
2022-02-21 15:27:36 |
Launchpad Janitor |
cve linked |
|
2022-22942 |
|
2022-02-21 15:31:08 |
Launchpad Janitor |
linux-azure (Ubuntu Impish): status |
Fix Committed |
Fix Released |
|
2022-02-24 16:48:19 |
Ubuntu Kernel Bot |
tags |
bot-stop-nagging verification-done-focal verification-done-impish |
bot-stop-nagging verification-done-focal verification-done-impish verification-needed-bionic |
|
2022-02-25 13:11:48 |
Tim Gardner |
tags |
bot-stop-nagging verification-done-focal verification-done-impish verification-needed-bionic |
bot-stop-nagging verification-done-bionic verification-done-focal verification-done-impish |
|
2022-02-28 09:50:01 |
Launchpad Janitor |
linux-azure-5.13 (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|
2022-03-21 21:24:40 |
Launchpad Janitor |
linux-azure-4.15 (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2022-03-21 21:24:40 |
Launchpad Janitor |
cve linked |
|
2021-3506 |
|
2022-03-21 21:24:40 |
Launchpad Janitor |
cve linked |
|
2022-0435 |
|
2022-03-21 21:24:40 |
Launchpad Janitor |
cve linked |
|
2022-0492 |
|
2022-03-21 21:24:40 |
Launchpad Janitor |
cve linked |
|
2022-0847 |
|