среда

[Bug 1799281] Re: [Bionic][Cosmic] ipmi: Fix timer race with module unload

** Changed in: linux (Ubuntu Bionic)
Status: In Progress => Fix Committed

** Changed in: linux (Ubuntu Cosmic)
Status: In Progress => Fix Committed

--
You received this bug notification because you are subscribed to linux
in Ubuntu.
Matching subscriptions: Bgg, Bmail, Nb
https://bugs.launchpad.net/bugs/1799281

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

Status in linux package in Ubuntu:
Triaged
Status in linux source package in Bionic:
Fix Committed
Status in linux source package in Cosmic:
Fix Committed

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

Комментариев нет:

Отправить комментарий