android_kernel_xiaomi_sm7250/drivers
Kristen Accardi 593ee20766 [PATCH] pci: correctly allocate return buffers for osc calls
The OSC set and query functions do not allocate enough space for return
values, and set the output buffer length to a false, too large value.  This
causes the acpi-ca code to assume that the output buffer is larger than it
actually is, and overwrite memory when copying acpi return buffers into
this caller provided buffer.  In some cases this can cause kernel oops if
the memory that is overwritten is a pointer.  This patch will change these
calls to use a dynamically allocated output buffer, thus allowing the
acpi-ca code to decide how much space is needed.

Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Cc: "Brown, Len" <len.brown@intel.com>
Cc: "Yu, Luming" <luming.yu@intel.com>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-05-21 12:59:18 -07:00
..
acorn
acpi
amba
atm
base
block [PATCH] USB: ub oops in block_uevent 2006-05-08 23:43:55 -07:00
bluetooth
cdrom
char Merge master.kernel.org:/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog 2006-05-19 16:41:59 -07:00
connector
cpufreq [PATCH] x86_64: Move ondemand timer into own work queue 2006-05-08 09:34:56 -07:00
crypto
dio
edac
eisa
fc4
firmware
hwmon
i2c [PATCH] scx200_acb: Fix for the CS5535 errata 2006-05-09 13:04:21 -07:00
ide [PATCH] powerpc: Fix ide-pmac sysfs entry 2006-05-21 12:59:16 -07:00
ieee1394 [PATCH] ohci1394, sbp2: fix "scsi_add_device failed" with PL-3507 based devices 2006-05-17 21:32:22 -07:00
infiniband IB/mthca: Fix posting lists of 256 receive requests for Tavor 2006-05-18 11:37:03 -07:00
input
isdn [PATCH] gigaset: endian fix 2006-05-15 11:20:57 -07:00
leds [PATCH] LED: Fix sysfs store function error handling 2006-05-15 11:20:56 -07:00
macintosh
mca
md [PATCH] md: Fix inverted test for 'repair' directive. 2006-05-21 12:59:17 -07:00
media
message [SCSI] mptfc: race between mptfc_register_dev and mptfc_target_alloc 2006-05-10 09:54:42 -05:00
mfd
misc
mmc [ARM] 3531/1: i.MX/MX1 SD/MMC ensure, that clock are stopped before new command and cleanups 2006-05-19 21:48:03 +01:00
mtd
net [PATCH] forcedeth: fix multi irq issues 2006-05-21 12:59:16 -07:00
nubus
oprofile
parisc
parport
pci [PATCH] pci: correctly allocate return buffers for osc calls 2006-05-21 12:59:18 -07:00
pcmcia [PATCH] pcmcia Oopses fixes 2006-05-15 11:20:54 -07:00
pnp
rapidio
rtc
s390 [PATCH] s390: lcs incorrect test 2006-05-15 11:20:55 -07:00
sbus [SPARC]: Fix warning on prom_getproperty in openprom.c 2006-05-12 12:53:59 -07:00
scsi [PATCH] libata-core: fix current kernel-doc warnings 2006-05-20 00:33:51 -04:00
serial [ARM] 3523/1: Serial core pm_state 2006-05-16 11:28:49 +01:00
sh
sn
spi [PATCH] SPI: spi_bitbang: clocking fixes 2006-05-16 14:33:58 -07:00
tc
telephony
usb [PATCH] HID read busywait fix 2006-05-21 12:59:17 -07:00
video [PATCH] matroxfb: fix DVI setup to be more compatible 2006-05-21 12:59:16 -07:00
w1
zorro
Kconfig
Makefile