OpenCloudOS-Kernel/drivers/platform/x86
Eric Dumazet 0401846c33 hp-wmi: fix use after free
[  191.310008] WARNING: kmemcheck: Caught 32-bit read from freed memory (f0d25f14)
[  191.310011] c056d2f088000000105fd2f00000000050415353040000000000000000000000
[  191.310020]  i i i i f f f f f f f f f f f f f f f f f f f f f f f f f f f f
[  191.310027]                                          ^
[  191.310029]
[  191.310032] Pid: 737, comm: modprobe Not tainted 3.0.0-rc5+ #268 Hewlett-Packard HP Compaq 6005 Pro SFF PC/3047h
[  191.310036] EIP: 0060:[<f80b3104>] EFLAGS: 00010286 CPU: 0
[  191.310039] EIP is at hp_wmi_perform_query+0x104/0x150 [hp_wmi]
[  191.310041] EAX: f0d25601 EBX: f0d25f00 ECX: 000121cf EDX: 000121ce
[  191.310043] ESI: f0d25f10 EDI: f0f97ea8 EBP: f0f97ec4 ESP: c173f34c
[  191.310045]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[  191.310046] CR0: 8005003b CR2: f540c000 CR3: 30f30000 CR4: 000006d0
[  191.310048] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[  191.310050] DR6: ffff4ff0 DR7: 00000400
[  191.310051]  [<f80b317b>] hp_wmi_dock_state+0x2b/0x40 [hp_wmi]
[  191.310054]  [<f80b6093>] hp_wmi_init+0x93/0x1a8 [hp_wmi]
[  191.310057]  [<c10011f0>] do_one_initcall+0x30/0x170
[  191.310061]  [<c107ab9f>] sys_init_module+0xef/0x1a60
[  191.310064]  [<c149f998>] sysenter_do_call+0x12/0x28
[  191.310067]  [<ffffffff>] 0xffffffff

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
2011-07-11 09:52:35 -04:00
..
Kconfig acerhdf: Drop pointless dependency on THERMAL_HWMON 2011-05-27 12:36:45 -04:00
Makefile platform/x86: Fix Makefile for intel_mid_powerbtn 2011-05-27 12:37:19 -04:00
acer-wmi.c acer-wmi: fix bitwise bug when set device state 2011-07-07 10:38:58 -04:00
acerhdf.c acerhdf: Clean up includes 2011-05-27 12:36:46 -04:00
asus-laptop.c asus: Add pr_fmt and convert printks to pr_<level> 2011-05-27 12:35:46 -04:00
asus-nb-wmi.c asus-nb-wmi: Asus Notebooks WMI Driver 2011-03-28 06:07:23 -04:00
asus-wmi.c platform-drivers-x86: set backlight type to BACKLIGHT_PLATFORM 2011-07-07 11:27:17 -04:00
asus-wmi.h eeepc-wmi: asus generic asus-wmi.ko module 2011-03-28 06:07:20 -04:00
asus_acpi.c asus: Add pr_fmt and convert printks to pr_<level> 2011-05-27 12:35:46 -04:00
classmate-laptop.c backlight: add backlight type 2011-03-22 17:43:59 -07:00
compal-laptop.c drivers/platform/x86: Fix memory leak 2011-07-07 10:39:03 -04:00
dell-laptop.c dell-laptop - using buffer without mutex_lock 2011-07-11 09:52:31 -04:00
dell-wmi-aio.c dell: Convert printks to pr_<level> 2011-05-27 12:35:47 -04:00
dell-wmi.c dell: Convert printks to pr_<level> 2011-05-27 12:35:47 -04:00
eeepc-laptop.c eeepc: Use pr_warn 2011-05-27 12:35:47 -04:00
eeepc-wmi.c eeepc: Use pr_warn 2011-05-27 12:35:47 -04:00
fujitsu-laptop.c fujitsu-laptop: Convert printks to pr_<level> 2011-05-27 12:35:47 -04:00
hdaps.c hdaps: Convert printks to pr_<level> 2011-05-27 12:35:48 -04:00
hp-wmi.c hp-wmi: fix use after free 2011-07-11 09:52:35 -04:00
hp_accel.c hp_accel: Fix driver name 2011-03-21 17:59:36 +01:00
ibm_rtl.c ibm_rtl: Use pr_fmt and pr_<level> 2011-05-27 12:35:49 -04:00
ideapad-laptop.c ideapad-laptop: Add pr_fmt 2011-05-27 12:35:49 -04:00
intel_ips.c x86: remove 32-bit versions of readq()/writeq() 2011-05-25 08:39:44 -07:00
intel_ips.h drm/i915, intel_ips: When i915 loads after IPS, make IPS relink to i915. 2010-12-23 09:51:36 +00:00
intel_menlow.c intel_menlow: Add pr_fmt and use pr_<level> 2011-05-27 12:35:49 -04:00
intel_mid_powerbtn.c platform/x86: Simplify intel_mid_powerbtn 2011-05-27 12:36:46 -04:00
intel_mid_thermal.c platform-x86: intel_mid_thermal: Fix memory leak 2011-05-27 12:37:20 -04:00
intel_oaktrail.c platform-drivers-x86: set backlight type to BACKLIGHT_PLATFORM 2011-07-07 11:27:17 -04:00
intel_pmic_gpio.c intel_pmic_gpio: Convert printks to pr_<level> 2011-05-27 12:35:50 -04:00
intel_rar_register.c platform-drivers: x86: fix common misspellings 2011-03-28 06:46:10 -04:00
intel_scu_ipc.c platform-drivers: x86: fix common misspellings 2011-03-28 06:46:10 -04:00
intel_scu_ipcutil.c intel_scu_ipcutils: Fix the license tag 2011-01-26 08:57:18 +10:00
msi-laptop.c Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mjg59/platform-drivers-x86 2011-05-29 11:44:33 -07:00
msi-wmi.c msi-wmi: Use pr_fmt and pr_<level> 2011-05-27 12:35:51 -04:00
mxm-wmi.c mxm/wmi: add MXMX interface entry point. 2011-05-09 11:40:38 +10:00
panasonic-laptop.c backlight: add backlight type 2011-03-22 17:43:59 -07:00
samsung-laptop.c samsung-laptop: set backlight type 2011-04-12 11:27:40 -04:00
sony-laptop.c platform/x86:delete two unused variables 2011-05-27 12:38:25 -04:00
tc1100-wmi.c tc1100-wmi: Add pr_fmt, use pr_<level> 2011-05-27 12:35:51 -04:00
thinkpad_acpi.c thinkpad-acpi: handle HKEY 0x4010, 0x4011 events 2011-07-07 10:39:05 -04:00
topstar-laptop.c topstar-laptop: Convert remaining printk to pr_info 2011-05-27 12:35:52 -04:00
toshiba_acpi.c toshiba: Convert printks to pr_<level> 2011-05-27 12:35:52 -04:00
toshiba_bluetooth.c toshiba: Convert printks to pr_<level> 2011-05-27 12:35:52 -04:00
wmi.c wmi: Removed trailing whitespace from logging message. 2011-05-27 12:35:53 -04:00
xo1-rfkill.c Add OLPC XO-1 rfkill driver 2010-10-21 10:10:44 -04:00
xo15-ebook.c xo15-ebook: Use pr_<level> 2011-05-27 12:35:53 -04:00