Skip to content

dmidecode triggers system reboot on Inforce 6640 #3525

@ubuntu-server-builder

Description

@ubuntu-server-builder

This bug was originally filed in Launchpad as LP: #1858615

Launchpad details
affected_projects = ['dmidecode (Ubuntu)', 'dmidecode (Ubuntu Xenial)', 'dmidecode (Ubuntu Bionic)', 'dmidecode (Ubuntu Eoan)', 'dmidecode (Ubuntu Focal)', 'dmidecode (Debian)']
assignee = None
assignee_name = None
date_closed = 2020-01-09T00:26:28.132896+00:00
date_created = 2020-01-07T08:29:52.548932+00:00
date_fix_committed = None
date_fix_released = None
id = 1858615
importance = undecided
is_complete = True
lp_url = https://bugs.launchpad.net/cloud-init/+bug/1858615
milestone = None
owner = ethan.hsieh
owner_name = ethan.hsieh
private = False
status = invalid
submitter = ethan.hsieh
submitter_name = ethan.hsieh
tags = ['verification-done', 'verification-done-bionic', 'verification-done-eoan', 'verification-done-xenial']
duplicates = []

Launchpad user ethan.hsieh(ethan.hsieh) wrote on 2020-01-07T08:29:52.548932+00:00

[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 e12ec26e19e02281d3e7258c3aabb88a5cf5ec1d
Author: Jean Delvare jdelvare@suse.de
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    launchpadMigrated from Launchpad

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions