1. 30 Nov, 2008 37 commits
  2. 28 Nov, 2008 1 commit
    • Arjan van de Ven's avatar
      toshiba_acpi: close race in toshiba_acpi driver · 23d0a65c
      Arjan van de Ven authored
      the toshiba ACPI driver will, in a failure case, free the rfkill state
      before stopping the polling timer that would use this state. More interesting,
      in the same failure case handling, it calls the exit function, which also
      frees the rfkill state, but after stopping the polling.
      
      If the race happens, a NULL pointer is passed to rfkill_force_state()
      which then causes a nice dereference.
      
      Fix the race by just not doing the too-early freeing of the rfkill state.
      
      This appears to be the cause of a hot issue on kerneloops.org; while I
      have no solid evidence of that this patch will fix the issue, the race
      appears rather real.
      Signed-off-by: default avatarArjan van de Ven <arjan@linux.intel.com>
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      23d0a65c
  3. 27 Nov, 2008 2 commits