android_kernel_xiaomi_sm8350/drivers/pci
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
..
hotplug [PATCH] PCI: rpaphp: remove init error condition 2006-04-14 12:25:25 -07:00
pcie [PATCH] PCI: kzalloc() conversion in drivers/pci 2006-03-23 14:35:17 -08:00
.gitignore
access.c [PATCH] PCI: drivers/pci/: small cleanups 2005-11-10 16:09:18 -08:00
bus.c
hotplug.c [PATCH] driver core: replace "hotplug" by "uevent" 2006-01-04 16:18:08 -08:00
Kconfig [PATCH] PCI: Provide a boot parameter to disable MSI 2006-03-23 14:35:16 -08:00
Makefile [PATCH] PCI express must be initialized before PCI hotplug 2005-12-16 11:25:25 -08:00
msi.c [PATCH] PCI: fix potential resource leak in drivers/pci/msi.c 2006-04-27 13:00:51 -07:00
msi.h [PATCH] PCI: make it easier to see that set_msi_affinity() is used 2006-01-31 18:00:11 -08:00
pci-acpi.c [PATCH] pci: correctly allocate return buffers for osc calls 2006-05-21 12:59:18 -07:00
pci-driver.c [PATCH] pm: print name of failed suspend function 2006-04-14 11:41:25 -07:00
pci-sysfs.c [PATCH] PCI: kzalloc() conversion in drivers/pci 2006-03-23 14:35:17 -08:00
pci.c Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6 2006-04-14 17:08:18 -07:00
pci.h [PATCH] PCI: MSI(X) save/restore for suspend/resume 2006-04-14 12:25:25 -07:00
probe.c [PATCH] PCI: kzalloc() conversion in drivers/pci 2006-03-23 14:35:17 -08:00
proc.c [PATCH] PCI: the scheduled removal of PCI_LEGACY_PROC 2006-03-23 14:35:16 -08:00
quirks.c [PATCH] smbus unhiding kills thermal management 2006-05-15 11:20:57 -07:00
remove.c [PATCH] PCI: drivers/pci: some cleanups 2006-01-09 12:13:20 -08:00
rom.c
search.c [PATCH] PCI: Move pci_dev_put outside a spinlock 2006-03-23 14:35:14 -08:00
setup-bus.c
setup-irq.c
setup-res.c [PATCH] PCI Hotplug/powerpc: module build break 2006-01-31 18:00:12 -08:00
syscall.c