[SRU][Zesty] Fix lscpu segfault on ARM64 with SMBIOS v2.0
Bug #1716483 reported by
Manoj Iyer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
High
|
Manoj Iyer | ||
Zesty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
On ARM64 systems with smbios v2.0, lscpu segfaults. This is caused by the fact that lspci issues a read() on /dev/mem at the offset where it expects to find the SMBIOS structure array. However, this
region is classified as EFI_RUNTIME_
[Test]
The issue was observed with kexec/kdump usecases when a FPDT ACPI table is presented to HLOS from the firmware.
[Fix]
Fixed upstream:
1151f838cb62 arm64: kernel: restrict /dev/mem read() calls to linear region
[Regression Potential]
The patch is confined to ARM64 arch, and applies only to systems with SMBIOS v2.0. Risk is low.
CVE References
Changed in linux (Ubuntu): | |
importance: | Undecided → High |
Changed in linux (Ubuntu Zesty): | |
status: | New → Fix Committed |
Changed in linux (Ubuntu): | |
status: | Incomplete → Fix Released |
To post a comment you must log in.
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1716483
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.