dmidecode triggers system reboot on Inforce 6640
Bug #1858615 reported by
ethan.hsieh
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Invalid
|
Undecided
|
Unassigned | ||
dmidecode (Debian) |
Fix Released
|
Unknown
|
|||
dmidecode (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
dann frazier | ||
Bionic |
Fix Released
|
Undecided
|
dann frazier | ||
Eoan |
Fix Released
|
Undecided
|
dann frazier | ||
Focal |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
Running 'sudo dmidecode' on non-UEFI ARM systems can cause them to crash/reboot. cloud-init apparently runs dmidecode as root, so it breaks any cloud-init based installation.
[Test Case]
sudo dmidecode
[Fix]
Upstream has the following fix:
commit e12ec26e19e0228
Author: Jean Delvare <email address hidden>
Date: Mon Aug 26 14:20:15 2019 +0200
dmidecode: Only scan /dev/mem for entry point on x86
[Regression Risk]
In Ubuntu, dmidecode only builds on amd64, arm64, armhf & i386.
The fix is to disable code on !x86, so the regression risk is restricted to ARM platforms, where we know /dev/mem trolling is bad news.
description: | updated |
Changed in dmidecode (Ubuntu Xenial): | |
status: | New → In Progress |
assignee: | nobody → dann frazier (dannf) |
Changed in dmidecode (Debian): | |
status: | Unknown → Fix Released |
To post a comment you must log in.
Thanks for filing a bug. I've added a dmidecode task to track the issue with the tool. It may also affect the kernel package, and possibly firmware (though that's not something that Ubuntu provides). Cloud-init and any other tool may invoke this package and it should not reboot the system; but there's no issue with cloud-init or other callers of the tool As such, I'm marking the cloud-init task as invalid.