** Description changed:

+ === SRU Justification ===
+ [Impact]
+ NULL pointer dereference in acpi_quirk_matches_bios_ids() renders kernel
+ unbootable.
+ 
+ [Fix]
+ It's a regression caused by commit abd273f52766 ("UBUNTU: SAUCE: ACPI /
+ bus: Add some Lenovo laptops in list of acpi table term list").
+ 
+ When both bios_vendor and bios_ver are NULL then a NULL string is passed
+ to strncmp() and the issue occurs.
+ 
+ VMs may not provides string bios_vendor or bios_ver, so bail out early
+ when either bios_vendor or bios_ver is NULL.
+ 
+ [Test]
+ User reported the test kernel with proposed fix solves the issue.
+ 
+ [Regression Potenial]
+ Low. It's quite trivial so I don't think it'll regress anything.
+ 
+ === Original Bug Report ===
  After upgrading HWE-16.04-kernel from 4.15.0-48 to 4.15.0-50 the kernel 
crashes while booting as PVH-Guest with Xen 4.12 (booting as PV works).
  Kernel 4.15.0-48 and prior did boot without any problems as PVH.
  
  We have the same problem for Ubuntu 18.04 with Kernel 4.15.0-50. Ubunutu
  18.04 with HWE-Kernel 4.18.0-20 boots without problems as PVH-DomU.
  
  See also https://lists.xenproject.org/archives/html/xen-
  users/2019-05/msg00010.html

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1829378

Title:
  Kernel 4.15.0-50 or newer wont boot as Xen-DomU with PVH

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1829378/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to