Public bug reported:

[Impact]
If you attempt to remove and insert the ipmi_ssif module a number of times, it 
would result in a kernel panic. This is due to mod_timer from arming a timer 
that was already removed by del_timer during module unload.

[Fix]
In linux-next:
0711e8c1b457 ipmi: Fix timer race with module unload

[Test]
-- Test Case --
for i in {1..500}; do sudo modprobe -r ipmi_ssif; sleep 2s ; sudo modprobe 
ipmi_ssif || exit; done
----------------
After the patch was applied, no kernel panics were obsereved. Tested on Cavium 
ThunderX2.

[Regression Risk]
The patch was applied to bionic and tested tested on a Cavium ThunderX2 and no 
regressions were found. Risk of regression none.

** Affects: linux (Ubuntu)
     Importance: Critical
     Assignee: Canonical Kernel Team (canonical-kernel-team)
         Status: Incomplete


** Tags: bionic cavium

-- 
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/1799281

Title:
  [Bionic][Cosmic]  ipmi: Fix timer race with module unload

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  [Impact]
  If you attempt to remove and insert the ipmi_ssif module a number of times, 
it would result in a kernel panic. This is due to mod_timer from arming a timer 
that was already removed by del_timer during module unload.

  [Fix]
  In linux-next:
  0711e8c1b457 ipmi: Fix timer race with module unload

  [Test]
  -- Test Case --
  for i in {1..500}; do sudo modprobe -r ipmi_ssif; sleep 2s ; sudo modprobe 
ipmi_ssif || exit; done
  ----------------
  After the patch was applied, no kernel panics were obsereved. Tested on 
Cavium ThunderX2.

  [Regression Risk]
  The patch was applied to bionic and tested tested on a Cavium ThunderX2 and 
no regressions were found. Risk of regression none.

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to