← Back to team overview

kernel-packages team mailing list archive

[Bug 1388952] Re: CONFIG_IPMI_SI_PROBE_DEFAULTS should be disabled on ARM

 

Trusty verified:

dannf@mustang:~$ cat /proc/version
Linux version 3.13.0-40-generic (buildd@auburn) (gcc version 4.8.2 (Ubuntu/Linaro 4.8.2-19ubuntu1) ) #68-Ubuntu SMP4
dannf@mustang:~$ sudo modprobe ipmi_si
modprobe: ERROR: could not insert 'ipmi_si': No such device


** Tags removed: verification-needed-trusty
** Tags added: verification-done-trusty

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1388952

Title:
  CONFIG_IPMI_SI_PROBE_DEFAULTS should be disabled on ARM

Status in “linux” package in Ubuntu:
  Fix Committed
Status in “linux” source package in Trusty:
  Fix Committed
Status in “linux” source package in Utopic:
  Fix Committed
Status in “linux” source package in Vivid:
  Fix Committed

Bug description:
  [Impact]
  Causes fault which can lead to a hang or crash on ARM systems when loading the ipmi_si module.

  The ipmi_si driver includes code that probes into iospace for a KCS
  interface. This is to support platforms that don't expose this
  interface in SMBIOS/ACPI tables, and this is a defined discovery
  mechanism as per the IPMI Spec (v2.0r1, section 9.5).  However, this
  assumption is x86-centric. It is not safe to blindly probe I/O space
  on ARM platforms.

  [Test Case]
  sudo modprobe ipmi_si

  This should discover an IPMI system interface if present, or fail to
  load otherwise. But it should not cause a hang, a synchronous external
  abort, or other kernel failure.

  [Regression Risk]
  The proposed fix is only to the ARM config, so the risk to other architectures is negligible. There is a risk that there exists some system out there where this probing works - but I'm highly confident no such system exists. Existing ARM systems supported by Ubuntu either describe their IPMI/KCS interface using device-tree or do not provide one.

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


References