summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorRobert Moore <robert.moore@intel.com>2009-05-02 11:48:37 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-05-02 11:48:37 -0700
commit53951bd57dfe2da58f86cdf276719082d80d8485 (patch)
treedbea9369911bb400a8f0d363a56f1156be994099 /mm
parent091438dd5668396328a3419abcbc6591159eb8d1 (diff)
downloadop-kernel-dev-53951bd57dfe2da58f86cdf276719082d80d8485.zip
op-kernel-dev-53951bd57dfe2da58f86cdf276719082d80d8485.tar.gz
acpica: validate package element more carefully in acpi_rs_get_pci_routing_table_length
acpi_rs_get_pci_routing_table_length is not performing sufficient validation on the package returned from _PRT. It assumes a package of packages and fails/faults if this is not the case. We should validate each subpackage when extracted from the parent package, and not accept objects of the wrong type, since that will just cause the scanning to fail (likely with a kernel oops). This can only happen with a serious BIOS bug, and is accompanied by a warning something like this: ACPI Warning (nspredef-0949): \_SB_.PCI0.PEG4._PRT: Return Package type mismatch at index 0 - found Integer, expected Package [20090320] Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud