PAX: size overflow detected in function acpi_ex_do_math_op
Posted: Tue Oct 20, 2015 11:54 am
Heres a size overflow detected after enabling CONFIG_PAX_SIZE_OVERFLOW_DISABLE_KILL=y as of the october,20,2015 patches.before this the kernel would hang at loading.There are two detections listed below.
1.First Detection
2.Second Detection
1.First Detection
- Code: Select all
Oct 20 11:48:24 none kernel: ACPI : EC: EC started
Oct 20 11:48:24 none kernel: ACPI: Interpreter enabled
Oct 20 11:48:24 none kernel: ACPI: (supports S0 S5)
Oct 20 11:48:24 none kernel: ACPI: Using IOAPIC for interrupt routing
Oct 20 11:48:24 none kernel: PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xe0000000-0xefffffff] (base 0xe0000000)
Oct 20 11:48:24 none kernel: PAX: size overflow detected in function acpi_ex_do_math_op drivers/acpi/acpica/exmisc.c:414 cicus.45_57 min, count: 30, decl: acpi_ex_do_math_op; num: 0; context: fndecl;
Oct 20 11:48:24 none kernel: CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.2.3-grsec #1
Oct 20 11:48:24 none kernel: Hardware name: System manufacturer System Product Name/M4A88T-V EVO/USB3, BIOS 0307 12/15/2010
Oct 20 11:48:24 none kernel: ffffffff81a0676b 0000000000000000 0000000000000000 0000000000000000
Oct 20 11:48:24 none kernel: ffffc9000000b8e8 ffffffff81641700 0000000000000001 ffffffff818e83f3
Oct 20 11:48:24 none kernel: ffffc9000000b918 ffffffff81121013 ffffffff01400000 0000000000000000
Oct 20 11:48:24 none kernel: Call Trace:
Oct 20 11:48:24 none kernel: [<ffffffff81641700>] dump_stack+0x45/0x5d
Oct 20 11:48:24 none kernel: [<ffffffff81121013>] report_size_overflow+0x33/0x60
Oct 20 11:48:24 none kernel: [<ffffffff812d2a25>] acpi_ex_do_math_op+0x124/0x135
Oct 20 11:48:24 none kernel: [<ffffffff812d169a>] acpi_ex_opcode_2A_1T_1R+0x7c/0x39b
Oct 20 11:48:24 none kernel: [<ffffffff812c83d9>] acpi_ds_exec_end_op+0xdb/0x406
Oct 20 11:48:24 none kernel: [<ffffffff812dc1ba>] acpi_ps_parse_loop+0x52e/0x59a
Oct 20 11:48:24 none kernel: [<ffffffff812dcd1d>] acpi_ps_parse_aml+0x95/0x273
Oct 20 11:48:24 none kernel: [<ffffffff812dd5c0>] acpi_ps_execute_method+0x1c8/0x272
Oct 20 11:48:24 none kernel: [<ffffffff812d75e3>] acpi_ns_evaluate+0x1eb/0x281
Oct 20 11:48:24 none kernel: [<ffffffff812e3368>] acpi_ut_evaluate_object+0x67/0x195
Oct 20 11:48:24 none kernel: [<ffffffff812df353>] acpi_rs_get_method_data+0x39/0x77
Oct 20 11:48:24 none kernel: [<ffffffff815749e0>] ? list_add_sorted+0xc0/0xc0
Oct 20 11:48:24 none kernel: [<ffffffff812dfa0c>] acpi_walk_resources+0x7b/0xc5
Oct 20 11:48:24 none kernel: [<ffffffff815748ea>] find_mboard_resource+0x2a/0x60
Oct 20 11:48:24 none kernel: [<ffffffff812da447>] acpi_ns_get_device_callback+0x151/0x17a
Oct 20 11:48:24 none kernel: [<ffffffff812da1ff>] acpi_ns_walk_namespace+0xfc/0x1b9
Oct 20 11:48:24 none kernel: [<ffffffff812da2f6>] ? acpi_os_allocate_zeroed+0x3a/0x3a
Oct 20 11:48:24 none kernel: [<ffffffff812da2f6>] ? acpi_os_allocate_zeroed+0x3a/0x3a
Oct 20 11:48:24 none kernel: [<ffffffff815748c0>] ? is_acpi_reserved+0xa0/0xa0
Oct 20 11:48:24 none kernel: [<ffffffff812da955>] acpi_get_devices+0x75/0xac
Oct 20 11:48:24 none kernel: [<ffffffff815748c0>] ? is_acpi_reserved+0xa0/0xa0
Oct 20 11:48:24 none kernel: [<ffffffff8157486c>] is_acpi_reserved+0x4c/0xa0
Oct 20 11:48:24 none kernel: [<ffffffff81574820>] ? pci_conf2_write+0x160/0x160
Oct 20 11:48:24 none kernel: [<ffffffff8163e818>] is_mmconf_reserved+0x78/0x1a0
Oct 20 11:48:24 none kernel: [<ffffffff8163e9b9>] pci_mmcfg_check_reserved+0x79/0xc0
Oct 20 11:48:24 none kernel: [<ffffffff81c3a119>] __pci_mmcfg_init+0x27/0xad
Oct 20 11:48:24 none kernel: [<ffffffff81c31373>] ? acpi_sleep_init+0xea/0xea
Oct 20 11:48:24 none kernel: [<ffffffff81c3a969>] pci_mmcfg_late_init+0x35/0x3d
Oct 20 11:48:24 none kernel: [<ffffffff81c315d0>] acpi_init+0x25d/0x27b
Oct 20 11:48:24 none kernel: [<ffffffff81c31373>] ? acpi_sleep_init+0xea/0xea
Oct 20 11:48:24 none kernel: [<ffffffff81c13160>] do_one_initcall+0xf6/0x16d
Oct 20 11:48:24 none kernel: [<ffffffff81c132f9>] kernel_init_freeable+0x122/0x1b3
Oct 20 11:48:24 none kernel: [<ffffffff8163d500>] ? rest_init+0x80/0x80
Oct 20 11:48:24 none kernel: [<ffffffff8163d509>] kernel_init+0x9/0xe0
Oct 20 11:48:24 none kernel: [<ffffffff8164a4ce>] ret_from_fork+0x3e/0x70
Oct 20 11:48:24 none kernel: [<ffffffff8163d500>] ? rest_init+0x80/0x80
Oct 20 11:48:24 none kernel: PCI: MMCONFIG at [mem 0xe0000000-0xefffffff] reserved in ACPI motherboard resources
Oct 20 11:48:24 none kernel: PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
Oct 20 11:48:24 none kernel: ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
Oct 20 11:48:24 none kernel: acpi PNP0A03:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
Oct 20 11:48:24 none kernel: acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
2.Second Detection
- Code: Select all
Oct 20 11:48:25 none kernel: system 00:04: Plug and Play ACPI device, IDs PNP0c02 (active)
Oct 20 11:48:25 none kernel: system 00:05: [io 0x0230-0x023f] has been reserved
Oct 20 11:48:25 none kernel: system 00:05: [io 0x0290-0x029f] has been reserved
Oct 20 11:48:25 none kernel: system 00:05: [io 0x0300-0x030f] has been reserved
Oct 20 11:48:25 none kernel: system 00:05: [io 0x0a30-0x0a3f] has been reserved
Oct 20 11:48:25 none kernel: system 00:05: Plug and Play ACPI device, IDs PNP0c02 (active)
Oct 20 11:48:25 none kernel: system 00:06: [mem 0xe0000000-0xefffffff] has been reserved
Oct 20 11:48:25 none kernel: system 00:06: Plug and Play ACPI device, IDs PNP0c02 (active)
Oct 20 11:48:25 none kernel: PAX: size overflow detected in function acpi_ex_do_math_op drivers/acpi/acpica/exmisc.c:414 cicus.45_57 min, count: 30, decl: acpi_ex_do_math_op; num: 0; context: fndecl;
Oct 20 11:48:25 none kernel: CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.2.3-grsec #1
Oct 20 11:48:25 none kernel: Hardware name: System manufacturer System Product Name/M4A88T-V EVO/USB3, BIOS 0307 12/15/2010
Oct 20 11:48:25 none kernel: ffffffff81a0676b 0000000000000000 0000000000000000 0000000000000000
Oct 20 11:48:25 none kernel: ffffc9000000b9f8 ffffffff81641700 0000000000000001 ffffffff818e83f3
Oct 20 11:48:25 none kernel: ffffc9000000ba28 ffffffff81121013 ffffffff01400000 0000000000000000
Oct 20 11:48:25 none kernel: Call Trace:
Oct 20 11:48:25 none kernel: [<ffffffff81641700>] dump_stack+0x45/0x5d
Oct 20 11:48:25 none kernel: [<ffffffff81121013>] report_size_overflow+0x33/0x60
Oct 20 11:48:25 none kernel: [<ffffffff812d2a25>] acpi_ex_do_math_op+0x124/0x135
Oct 20 11:48:25 none kernel: [<ffffffff812d169a>] acpi_ex_opcode_2A_1T_1R+0x7c/0x39b
Oct 20 11:48:25 none kernel: [<ffffffff812c83d9>] acpi_ds_exec_end_op+0xdb/0x406
Oct 20 11:48:25 none kernel: [<ffffffff812dc1ba>] acpi_ps_parse_loop+0x52e/0x59a
Oct 20 11:48:25 none kernel: [<ffffffff812dcd1d>] acpi_ps_parse_aml+0x95/0x273
Oct 20 11:48:25 none kernel: [<ffffffff812dd5c0>] acpi_ps_execute_method+0x1c8/0x272
Oct 20 11:48:25 none kernel: [<ffffffff812d75e3>] acpi_ns_evaluate+0x1eb/0x281
Oct 20 11:48:25 none kernel: [<ffffffff812e3368>] acpi_ut_evaluate_object+0x67/0x195
Oct 20 11:48:25 none kernel: [<ffffffff812df353>] acpi_rs_get_method_data+0x39/0x77
Oct 20 11:48:25 none kernel: [<ffffffff812f23c0>] ? decode_irq_flags+0xa0/0xa0
Oct 20 11:48:25 none kernel: [<ffffffff812dfa0c>] acpi_walk_resources+0x7b/0xc5
Oct 20 11:48:25 none kernel: [<ffffffff812f26da>] pnpacpi_parse_allocated_resource+0x3a/0x80
Oct 20 11:48:25 none kernel: [<ffffffff81c32db7>] pnpacpi_add_device_handler+0x1b7/0x266
Oct 20 11:48:25 none kernel: [<ffffffff812da447>] acpi_ns_get_device_callback+0x151/0x17a
Oct 20 11:48:25 none kernel: [<ffffffff812b750a>] ? acpi_os_signal_semaphore+0x2b/0x41
Oct 20 11:48:25 none kernel: [<ffffffff812da1ff>] acpi_ns_walk_namespace+0xfc/0x1b9
Oct 20 11:48:25 none kernel: [<ffffffff812da2f6>] ? acpi_os_allocate_zeroed+0x3a/0x3a
Oct 20 11:48:25 none kernel: [<ffffffff812da2f6>] ? acpi_os_allocate_zeroed+0x3a/0x3a
Oct 20 11:48:25 none kernel: [<ffffffff81c32c00>] ? ispnpidacpi+0x8a/0x8a
Oct 20 11:48:25 none kernel: [<ffffffff812da955>] acpi_get_devices+0x75/0xac
Oct 20 11:48:25 none kernel: [<ffffffff81c32c00>] ? ispnpidacpi+0x8a/0x8a
Oct 20 11:48:25 none kernel: [<ffffffff81c32e66>] ? pnpacpi_add_device_handler+0x266/0x266
Oct 20 11:48:25 none kernel: [<ffffffff81c32eb4>] pnpacpi_init+0x4e/0x74
Oct 20 11:48:25 none kernel: [<ffffffff81c13160>] do_one_initcall+0xf6/0x16d
Oct 20 11:48:25 none kernel: [<ffffffff81c132f9>] kernel_init_freeable+0x122/0x1b3
Oct 20 11:48:25 none kernel: [<ffffffff8163d500>] ? rest_init+0x80/0x80
Oct 20 11:48:25 none kernel: [<ffffffff8163d509>] kernel_init+0x9/0xe0
Oct 20 11:48:25 none kernel: [<ffffffff8164a4ce>] ret_from_fork+0x3e/0x70
Oct 20 11:48:25 none kernel: [<ffffffff8163d500>] ? rest_init+0x80/0x80
Oct 20 11:48:25 none kernel: system 00:07: [mem 0x00000000-0x0009ffff] could not be reserved
Oct 20 11:48:25 none kernel: system 00:07: [mem 0x000c0000-0x000cffff] could not be reserved
Oct 20 11:48:25 none kernel: system 00:07: [mem 0x000e0000-0x000fffff] could not be reserved
Oct 20 11:48:25 none kernel: system 00:07: [mem 0x00100000-0xcfefffff] could not be reserved
Oct 20 11:48:25 none kernel: system 00:07: [mem 0xfec00000-0xffffffff] could not be reserved
Oct 20 11:48:25 none kernel: system 00:07: Plug and Play ACPI device, IDs PNP0c01 (active)