diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2012-03-08 12:16:01 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-03-12 18:00:16 (GMT) |
commit | 210787e82a0ac1ffb5d7be1c796f0c51050849ad (patch) | |
tree | c3474f5ae35a32b24ba0e58e40168b8e3923add1 /drivers/cpuidle/Makefile | |
parent | 182ada1c712a4ebe14d6a023cfab3559b2527d69 (diff) | |
download | linux-fsl-qoriq-210787e82a0ac1ffb5d7be1c796f0c51050849ad.tar.xz |
iwl3945: fix possible il->txq NULL pointer dereference in delayed works
On il3945_down procedure we free tx queue data and nullify il->txq
pointer. After that we drop mutex and then cancel delayed works. There
is possibility, that after drooping mutex and before the cancel, some
delayed work will start and crash while trying to send commands to
the device. For example, here is reported crash in
il3945_bg_reg_txpower_periodic():
https://bugzilla.kernel.org/show_bug.cgi?id=42766#c10
Patch fix problem by adding il->txq check on works that send commands,
hence utilize tx queue.
Reported-by: Clemens Eisserer <linuxhippy@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/cpuidle/Makefile')
0 files changed, 0 insertions, 0 deletions