[PATCH 0/1] Fix NULL pointer dereference in ACPI tables parsing code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello ACPI gurus,

I'm experiencing a NULL pointer dereference on acpi_ds_load1_begin_op() from
drivers/acpi/acpica/dswload.c, when running on a Acer Aspire E14 ES1-432-P06A
laptop. Before the kernel panic stack trace, I see the following warnings and
error (sorry for any typos, as I had to manually type this):

ACPI Core revision 20160422
ACPI Warning: Unsupported module-level executable opcode 0x80 at table offset 0x0190 (20160422/psloop-222)
ACPI Warning: Unsupported module-level executable opcode 0x80 at table offset 0x0196 (20160422/psloop-222)
ACPI Error: Unknown opcode 0x03 at table offset 0x0171, ignoring (20160422/psobject-108)

I'm not exactly sure how to map these addresses to the DSDT ASL code, so any
suggestions in that direction or to better understand the whole picture are
appreciated. The disassembled DSDT can be found here:
https://gist.github.com/jprvita/c6373856f6672a06b9031c67e2980bdd, and I can
provide the binary tables if necessary.

The following patch fixes the NULL pointer dereference, and things seem to be
working normally.

João Paulo Rechi Vita (1):
  acpi: Check walk_state->scope_info before dereferencing

 drivers/acpi/acpica/dswload.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
2.8.1

--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux