APPLIED: [SRU] [Bionic] [PATCH 0/1] Fix unbootable kernel inside VMs
Khaled Elmously
khalid.elmously at canonical.com
Fri Jul 12 06:41:45 UTC 2019
On 2019-07-09 19:11:33 , Kai-Heng Feng wrote:
> BugLink: https://bugs.launchpad.net/bugs/1829378
>
> [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.
>
> Kai-Heng Feng (1):
> UBUNTU: SAUCE: ACPI / bus: Fix NULL pointer dereference in
> acpi_quirk_matches_bios_ids()
>
> drivers/acpi/bus.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> --
> 2.17.1
>
>
> --
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
More information about the kernel-team
mailing list