]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
rtlwifi: rtl_pci: Fix kernel panic
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 21 Dec 2015 23:05:08 +0000 (17:05 -0600)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 30 Dec 2015 15:36:05 +0000 (17:36 +0200)
commitf99551a2d39dc26ea03dc6761be11ac913eb2d57
tree9cec45741d34ba37f6ea551488200a3597b49bd1
parentd47762633fd2b2471868266d55acb6f3a5b4052b
rtlwifi: rtl_pci: Fix kernel panic

In commit 38506ecefab9 (rtlwifi: rtl_pci: Start modification for new
drivers), a bug was introduced that causes a NULL pointer dereference.
As this bug only affects the infrequently used RTL8192EE and only under
low-memory conditions, it has taken a long time for the bug to show up.

The bug was reported on the linux-wireless mailing list and also at
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/ as
bug #1527603 (kernel crashes due to rtl8192ee driver on ubuntu 15.10).

Fixes: 38506ecefab9 ("rtlwifi: rtl_pci: Start modification for new drivers")
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Stable <stable@vger.kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/pci.c