size overflow detected in function resource_size

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

size overflow detected in function resource_size

Postby gaima » Wed Apr 10, 2013 11:33 am

Hi,

I've got a bit of a problem with 3.2.42 and grsecurity-2.9.1-3.2.42-201304091938
The problem existed with grsecurity-2.9.1-3.2.42-201304052303 as well.
It kernel panics during start up.
The key being this;
PAX: size overflow detected in function resource_size include/linux/ioport.h:171 cicus.52_9 min, count: 6


Or more fully, this;
Code: Select all
[    0.000000] Initializing cgroup subsys cpu                                   
[    0.000000] Linux version 3.2.42-hardened-r1 (root@bdb64serv) (gcc version 4.6.3 (Gentoo Hardened 4.6.3 p1.11, pie-0.5.2) ) #1 SMP Wed Apr 10 15:20:46 BST 2013
[    0.000000] Command line: root=/dev/ram0 init=/linuxrc real_root=/dev/sda3 console=ttyS1,115200 console=tty0
[    0.000000] BIOS-provided physical RAM map:                                 
[    0.000000]  BIOS-e820: 0000000000000000 - 0000000000096c00 (usable)         
[    0.000000]  BIOS-e820: 0000000000096c00 - 00000000000a0000 (reserved)       f
[    0.000000]  BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)       
[    0.000000]  BIOS-e820: 0000000000100000 - 00000000bf780000 (usable)         
[    0.000000]  BIOS-e820: 00000000bf78e000 - 00000000bf790000 type 9           
[    0.000000]  BIOS-e820: 00000000bf790000 - 00000000bf79e000 (ACPI data)     
[    0.000000]  BIOS-e820: 00000000bf79e000 - 00000000bf7d0000 (ACPI NVS)       6
[    0.000000]  BIOS-e820: 00000000bf7d0000 - 00000000bf7e0000 (reserved)       
[    0.000000]  BIOS-e820: 00000000bf7ec000 - 00000000c0000000 (reserved)       
[    0.000000]  BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)       
[    0.000000]  BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)       
[    0.000000]  BIOS-e820: 00000000ffc00000 - 0000000100000000 (reserved)     
[    0.000000]  BIOS-e820: 0000000100000000 - 0000000640000000 (usable)
[    0.000000] NX (Execute Disable) protection: active.42-hardened-r1 #3
[    0.000000] SMBIOS 2.6 present.
[    0.000000] No AGP bridge found>] ? panic+0xb3/0x1b9
[    0.000000] last_pfn = 0x640000 max_arch_pfn = 0x400000000
[    0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
[    0.000000] last_pfn = 0xbf780 max_arch_pfn = 0x4000000000x2c/0x2c
[    0.000000] Using GB pages for direct mappingresources_sorted+0x156/0x289
[    0.000000] init_memory_mapping: 0000000000000000-00000000bf780000d/0xd9
[    0.000000] init_memory_mapping: 0000000100000000-0000000640000000s+0xff/0x3ef
[    0.000000] RAMDISK: 37d2d000 - 37ff0000find_device+0x7a/0x88
[    0.000000] ACPI: RSDP 00000000000fabe0 00024 (v02 ACPIAM)x3c
[    0.000000] ACPI: XSDT 00000000bf790100 0008C (v01 SMCI            20110827 MSFT 00000097)
[    0.000000] ACPI: FACP 00000000bf790290 000F4 (v03 082711 FACP1642 20110827 MSFT 00000097)
[    0.000000] ACPI: DSDT 00000000bf7906a0 06630 (v01  10006 10006000 00000000 INTL 20051117)
[    0.000000] ACPI: FACS 00000000bf79e000 00040itcall+0x73/0x120
[    0.000000] ACPI: APIC 00000000bf790390 0011E (v01 082711 APIC1642 20110827 MSFT 00000097)
[    0.000000] ACPI: MCFG 00000000bf7904b0 0003C (v01 082711 OEMMCFG  20110827 MSFT 00000097)
[    0.000000] ACPI: SLIT 00000000bf7904f0 00030 (v01 082711 OEMSLIT  20110827 MSFT 00000097)
[    0.000000] ACPI: OEMB 00000000bf79e040 00085 (v01 082711 OEMB1642 20110827 MSFT 00000097)
[    0.000000] ACPI: SRAT 00000000bf79a6a0 001D0 (v01 082711 OEMSRAT  00000001 INTL 00000001)
[    0.000000] ACPI: HPET 00000000bf79a870 00038 (v01 082711 OEMHPET  20110827 MSFT 00000097)
[    0.000000] ACPI: DMAR 00000000bf79e0d0 00128 (v01    AMI  OEMDMAR 00000001 MSFT 00000097)
[    0.000000] ACPI: SSDT 00000000bf7a1b30 00363 (v01 DpgPmm    CpuPm 00000012 INTL 20051117)
[    0.000000] ACPI: EINJ 00000000bf79a8b0 00130 (v01  AMIER AMI_EINJ 20110827 MSFT 00000097)
[    0.000000] ACPI: BERT 00000000bf79aa40 00030 (v01  AMIER AMI_BERT 20110827 MSFT 00000097)
[    0.000000] ACPI: ERST 00000000bf79aa70 001B0 (v01  AMIER AMI_ERST 20110827 MSFT 00000097)
[    0.000000] ACPI: HEST 00000000bf79ac20 000A8 (v01  AMIER ABC_HEST 20110827 MSFT 00000097)
[    0.000000] SRAT: PXM 0 -> APIC 0x00 -> Node 0
[    0.000000] SRAT: PXM 0 -> APIC 0x02 -> Node 0
[    0.000000] SRAT: PXM 0 -> APIC 0x12 -> Node 0.04
[    0.000000] SRAT: PXM 0 -> APIC 0x14 -> Node 0, Ltd.
[    0.000000] SRAT: PXM 0 -> APIC 0x01 -> Node 0
[    0.000000] SRAT: PXM 0 -> APIC 0x03 -> Node 0
[    0.000000] SRAT: PXM 0 -> APIC 0x13 -> Node 0
[    0.000000] SRAT: PXM 0 -> APIC 0x15 -> Node 0
[    0.000000] SRAT: PXM 1 -> APIC 0x20 -> Node 1
[    0.000000] SRAT: PXM 1 -> APIC 0x22 -> Node 1
[    0.000000] SRAT: PXM 1 -> APIC 0x32 -> Node 1
[    0.000000] SRAT: PXM 1 -> APIC 0x34 -> Node 1
[    0.000000] SRAT: PXM 1 -> APIC 0x21 -> Node 1
[    0.000000] SRAT: PXM 1 -> APIC 0x23 -> Node 1ession
[    0.000000] SRAT: PXM 1 -> APIC 0x33 -> Node 1
[    0.000000] SRAT: PXM 1 -> APIC 0x35 -> Node 1
[    0.000000] SRAT: Node 0 PXM 0 0-a0000
[    0.000000] SRAT: Node 0 PXM 0 100000-c0000000
[    0.000000] SRAT: Node 0 PXM 0 100000000-340000000
[    0.000000] SRAT: Node 1 PXM 1 340000000-640000000
[    0.000000] NUMA: Node 0 [0,a0000) + [100000,c0000000) -> [0,c0000000)
[    0.000000] NUMA: Node 0 [0,c0000000) + [100000000,340000000) -> [0,340000000)
[    0.000000] Initmem setup node 0 0000000000000000-0000000340000000
[    0.000000]   NODE_DATA [000000033fffb000 - 000000033fffffff]
[    0.000000] Initmem setup node 1 0000000340000000-0000000640000000
[    0.000000]   NODE_DATA [000000063fffa000 - 000000063fffefff]
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA      0x00000010 -> 0x00001000
[    0.000000]   DMA32    0x00001000 -> 0x00100000
[    0.000000]   Normal   0x00100000 -> 0x00640000
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[4] active PFN ranges
[    0.000000]     0: 0x00000010 -> 0x00000096
[    0.000000]     0: 0x00000100 -> 0x000bf780
[    0.000000]     0: 0x00100000 -> 0x00340000
[    0.000000]     1: 0x00340000 -> 0x00640000
[    0.000000] ACPI: PM-Timer IO Port: 0x808
[    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x12] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x14] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x05] lapic_id[0x20] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x06] lapic_id[0x22] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x07] lapic_id[0x32] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x08] lapic_id[0x34] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x09] lapic_id[0x01] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x0a] lapic_id[0x03] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x0b] lapic_id[0x13] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x0c] lapic_id[0x15] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x0d] lapic_id[0x21] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x0e] lapic_id[0x23] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x0f] lapic_id[0x33] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x10] lapic_id[0x35] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x11] lapic_id[0x90] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x12] lapic_id[0x91] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x13] lapic_id[0x92] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x14] lapic_id[0x93] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x15] lapic_id[0x94] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x16] lapic_id[0x95] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x17] lapic_id[0x96] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x18] lapic_id[0x97] disabled)
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[    0.000000] ACPI: IOAPIC (id[0x06] address[0xfec00000] gsi_base[0])
[    0.000000] IOAPIC[0]: apic_id 6, version 32, address 0xfec00000, GSI 0-23
[    0.000000] ACPI: IOAPIC (id[0x07] address[0xfec8a000] gsi_base[24])
[    0.000000] IOAPIC[1]: apic_id 7, version 32, address 0xfec8a000, GSI 24-47
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x8086a301 base: 0xfed00000
[    0.000000] SMP: Allowing 24 CPUs, 8 hotplug CPUs
[    0.000000] Allocating PCI resources starting at c0000000 (gap: c0000000:20000000)
[    0.000000] Booting paravirtualized kernel on bare hardware
[    0.000000] setup_percpu: NR_CPUS:80 nr_cpumask_bits:80 nr_cpu_ids:24 nr_node_ids:2
[    0.000000] PERCPU: Embedded 23 pages/cpu @ffff88033fc00000 s62976 r8192 d23040 u131072
[    0.000000] Built 2 zonelists in Zone order, mobility grouping on.  Total pages: 6199556
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: root=/dev/ram0 init=/linuxrc real_root=/dev/sda3 console=ttyS1,115200 console=tty0
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Checking aperture...
[    0.000000] No AGP bridge found
[    0.000000] Memory: 24731968k/26214400k available (4456k kernel code, 1057768k absent, 424664k reserved, 3137k data, 684k init)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:5376 nr_irqs:1280 16
[    0.000000] Extended CMOS year: 2000
[    0.000000] Console: colour VGA+ 80x25
[    0.000000] console [tty0] enabled
[    0.000000] console [ttyS1] enabled
[    0.000000] allocated 201326592 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] Fast TSC calibration using PIT
[    0.004000] Detected 2400.475 MHz processor.
[    0.000007] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.95 BogoMIPS (lpj=9601900)
[    0.010747] pid_max: default: 32768 minimum: 501
[    0.017323] Dentry cache hash table entries: 4194304 (order: 13, 33554432 bytes)
[    0.032940] Inode-cache hash table entries: 2097152 (order: 12, 16777216 bytes)
[    0.043955] Mount-cache hash table entries: 256
[    0.048718] Initializing cgroup subsys cpuacct
[    0.053225] Initializing cgroup subsys memory
[    0.057658] Initializing cgroup subsys devices
[    0.062157] Initializing cgroup subsys freezer
[    0.066657] Initializing cgroup subsys blkio
[    0.071019] CPU: Physical Processor ID: 0
[    0.075086] CPU: Processor Core ID: 0
[    0.078815] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
[    0.078816] ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8)
[    0.091977] mce: CPU supports 9 MCE banks
[    0.096052] CPU0: Thermal monitoring enabled (TM1)
[    0.100903] using mwait in idle threads.
[    0.106651] ACPI: Core revision 20110623
[    0.137095] Switched APIC routing to physical flat.
[    0.142562] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.189098] CPU0: Intel(R) Xeon(R) CPU           E5620  @ 2.40GHz stepping 02
[    0.304066] Performance Events: PEBS fmt1+, Westmere events, Intel PMU driver.
[    0.311537] ... version:                3
[    0.315602] ... bit width:              48
[    0.319749] ... generic registers:      4
[    0.323816] ... value mask:             0000ffffffffffff
[    0.329180] ... max period:             000000007fffffff
[    0.339530] ... fixed-purpose events:   3
[    0.343597] ... event mask:             000000070000000f
[    0.349188] Booting Node   0, Processors  #1
[    0.464034]  #2
[    0.575824]  #3
[    0.687761]  Ok.
[    0.689656] Booting Node   1, Processors  #4
[    0.803497]  #5
[    0.915383]  #6
[    1.027149]  #7
[    1.138993]  Ok.
[    1.140890] Booting Node   0, Processors  #8
[    1.254810]  #9
[    1.366687]  #10
[    1.478458]  #11
[    1.590368]  Ok.
[    1.592264] Booting Node   1, Processors  #12
[    1.706110]  #13
[    1.817997]  #14
[    1.929747]  #15
[    2.041489] Brought up 16 CPUs
[    2.044599] Total of 16 processors activated (76803.51 BogoMIPS).
[    2.069062] devtmpfs: initialized
[    2.074845] xor: automatically using best checksumming function: generic_sse
[    2.101291]    generic_sse:  9075.000 MB/sec
[    2.105615] xor: using function: generic_sse (9075.000 MB/sec)
[    2.111587] NET: Registered protocol family 16
[    2.116490] ACPI: bus type pci registered
[    2.121674] PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xe0000000-0xefffffff] (base 0xe0000000)
[    2.131041] PCI: MMCONFIG at [mem 0xe0000000-0xefffffff] reserved in E820
[    2.158434] PCI: Using configuration type 1 for base access
[    2.170456] bio: create slab <bio-0> at 0
[    2.241091] raid6: int64x1   2387 MB/s
[    2.308973] raid6: int64x2   2356 MB/s
[    2.376876] raid6: int64x4   2034 MB/s
[    2.444765] raid6: int64x8   1589 MB/s
[    2.512661] raid6: sse2x1    5813 MB/s
[    2.580551] raid6: sse2x2    6875 MB/s
[    2.648447] raid6: sse2x4    7853 MB/s
[    2.652253] raid6: using algorithm sse2x4 (7853 MB/s)
[    2.657451] ACPI: Added _OSI(Module Device)
[    2.661689] ACPI: Added _OSI(Processor Device)
[    2.666187] ACPI: Added _OSI(3.0 _SCP Extensions)
[    2.670948] ACPI: Added _OSI(Processor Aggregator Device)
[    2.678290] ACPI: Executed 1 blocks of module-level executable AML code
[    2.736346] ACPI: SSDT 00000000bf79e200 02FB4 (v01 DpgPmm  P001Ist 00000011 INTL 20051117)
[    2.746427] ACPI: Dynamic OEM Table Load:
[    2.750609] ACPI: SSDT            (nil) 02FB4 (v01 DpgPmm  P001Ist 00000011 INTL 20051117)
[    2.759183] ACPI: SSDT 00000000bf7a11c0 00961 (v01  PmRef  P001Cst 00003001 INTL 20051117)
[    2.767924] ACPI: Dynamic OEM Table Load:
[    2.772112] ACPI: SSDT            (nil) 00961 (v01  PmRef  P001Cst 00003001 INTL 20051117)
[    2.780832] ACPI: Interpreter enabled
[    2.784549] ACPI: (supports S0 S5)
[    2.788142] ACPI: Using IOAPIC for interrupt routing
[    2.803997] ACPI: No dock devices found.
[    2.807979] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    2.817409] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    2.823918] pci_root PNP0A08:00: host bridge window [io  0x0000-0x03af]
[    2.830587] pci_root PNP0A08:00: host bridge window [io  0x03e0-0x0cf7]
[    2.837250] pci_root PNP0A08:00: host bridge window [io  0x03b0-0x03bb]
[    2.843913] pci_root PNP0A08:00: host bridge window [io  0x03c0-0x03df]
[    2.850576] pci_root PNP0A08:00: host bridge window [io  0x0d00-0xefff]
[    2.857241] pci_root PNP0A08:00: host bridge window [io  0xf000-0xffff]
[    2.863912] pci_root PNP0A08:00: host bridge window [mem 0x000a0000-0x000bffff]
[    2.871283] pci_root PNP0A08:00: host bridge window [mem 0x000d0000-0x000dffff]
[    2.878657] pci_root PNP0A08:00: host bridge window [mem 0xc0000000-0xdfffffff]
[    2.886030] pci_root PNP0A08:00: host bridge window [mem 0xf0000000-0xfed8ffff]
[    2.893401] pci_root PNP0A08:00: host bridge window [mem 0xfed40000-0xfed44fff]
[    2.900774] pci_root PNP0A08:00: host bridge window expanded to [mem 0xf0000000-0xfed8ffff]; [mem 0xfed40000-0xfed44fff] ignored
[    2.912400] pci_root PNP0A08:00: ignoring host bridge window [mem 0x000d0000-0x000dffff] (conflicts with Adapter ROM [mem 0x000cb000-0x000d13ff])
[    2.928103] pci 0000:00:1f.0: ICH7 LPC Generic IO decode 1 PIO at 0a00 (mask 00ff)
[    2.935736] pci 0000:00:1f.0: ICH7 LPC Generic IO decode 2 PIO at 4700 (mask 00ff)
[    2.943370] pci 0000:00:1f.0: ICH7 LPC Generic IO decode 4 PIO at 0ca0 (mask 000f)
[    2.951253] pci 0000:00:01.0: PCI bridge to [bus 01-01]
[    2.956567] pci 0000:00:03.0: PCI bridge to [bus 02-02]
[    2.961879] pci 0000:00:07.0: PCI bridge to [bus 03-03]
[    2.971958] pci 0000:00:09.0: PCI bridge to [bus 04-04]
[    2.977290] pci 0000:00:1c.0: PCI bridge to [bus 05-05]
[    2.987937] pci 0000:00:1c.4: PCI bridge to [bus 06-06]
[    2.999919] pci 0000:00:1c.5: PCI bridge to [bus 07-07]
[    3.005373] pci 0000:00:1e.0: PCI bridge to [bus 08-08] (subtractive decode)
[    3.013389]  pci0000:00: Requesting ACPI _OSC control (0x1d)
[    3.019444]  pci0000:00: ACPI _OSC control (0x1c) granted
[    3.047112] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 6 7 10 *11 12 14 15)
[    3.054744] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 6 7 *10 11 12 14 15)
[    3.062375] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 6 7 10 11 12 14 *15)
[    3.070009] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 6 7 10 11 12 *14 15)
[    3.077642] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 6 7 10 11 12 14 15) *0, disabled.
[    3.086529] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 6 *7 10 11 12 14 15)
[    3.094161] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 *6 7 10 11 12 14 15)
[    3.101791] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 6 7 *10 11 12 14 15)
[    3.109677] vgaarb: device added: PCI:0000:08:01.0,decodes=io+mem,owns=io+mem,locks=none
[    3.117832] vgaarb: loaded
[    3.120597] vgaarb: bridge control possible 0000:08:01.0
[    3.126213] SCSI subsystem initialized
[    3.130349] PCI: Using ACPI for IRQ routing
[    3.140297] PCI: Discovered peer bus fe
[    3.146096] PCI: Discovered peer bus ff
[    3.152344] Switching to clocksource hpet
[    3.156610] pnp: PnP ACPI init
[    3.159748] ACPI: bus type pnp registered
[    3.164330] system 00:01: [mem 0xfed1c000-0xfed1ffff] has been reserved
[    3.171749] system 00:06: [io  0x0a10-0x0a1f] has been reserved
[    3.178840] system 00:09: [io  0x0ca2-0x0ca3] has been reserved
[    3.184822] system 00:09: [io  0x0cf8-0x0cff] could not be reserved
[    3.191144] system 00:09: [io  0x04d0-0x04d1] has been reserved
[    3.197116] system 00:09: [io  0x0800-0x087f] has been reserved
[    3.203084] system 00:09: [io  0x0500-0x057f] has been reserved
[    3.209057] system 00:09: [mem 0x00000400-0x000004ff] could not be reserved
[    3.216074] system 00:09: [mem 0xfed1c000-0xfed1ffff] has been reserved
[    3.222738] system 00:09: [mem 0xfed20000-0xfed3ffff] has been reserved
[    3.229408] system 00:09: [mem 0xfed40000-0xfed8ffff] has been reserved
[    3.236464] system 00:0b: [mem 0xfec00000-0xfec00fff] could not be reserved
[    3.243480] system 00:0b: [mem 0xfee00000-0xfee00fff] has been reserved
[    3.251510] system 00:0c: [mem 0xe0000000-0xefffffff] has been reserved
[    3.258456] system 00:0d: [mem 0x000c0000-0x000cffff] could not be reserved
[    3.265469] system 00:0d: [mem 0x000e0000-0x000fffff] could not be reserved
[    3.272488] system 00:0d: [mem 0xfed90000-0xffffffff] could not be reserved
[    3.279652] pnp: PnP ACPI: found 14 devices
[    3.283890] ACPI: ACPI bus type pnp unregistered
[    3.298717] PAX: size overflow detected in function resource_size include/linux/ioport.h:171 cicus.52_9 min, count: 6
[    3.309385] Pid: 1, comm: swapper/0 Not tainted 3.2.42-hardened-r1 #1
[    3.315874] Call Trace:
[    3.318391]  [<ffffffff810ce0f8>] ? report_size_overflow+0x22/0x2c
[    3.324627]  [<ffffffff8126ffba>] ? __assign_resources_sorted+0x156/0x289
[    3.331472]  [<ffffffff81430de2>] ? __pci_bus_assign_resources+0x4d/0xd9
[    3.338228]  [<ffffffff817b7844>] ? pci_assign_unassigned_resources+0xff/0x3ef
[    3.345516]  [<ffffffff812efd6d>] ? bus_find_device+0x7a/0x88
[    3.351321]  [<ffffffff81267690>] ? pci_do_find_bus+0x3c/0x3c
[    3.357127]  [<ffffffff812678ac>] ? pci_get_subsys+0x67/0x79
[    3.362846]  [<ffffffff817c7ffa>] ? pcibios_assign_resources+0xe3/0xf1
[    3.369430]  [<ffffffff817c7f17>] ? pcibios_allocate_bus_resources+0x106/0x106
[    3.376727]  [<ffffffff81002073>] ? do_one_initcall+0x73/0x120
[    3.382613]  [<ffffffff8177e0fc>] ? kernel_init+0x125/0x212
[    3.388245]  [<ffffffff81452bc4>] ? kernel_thread_helper+0x4/0x10
[    3.394397]  [<ffffffff8177dfd7>] ? start_kernel+0x444/0x444
[    3.400108]  [<ffffffff81452bc0>] ? gs_change+0x13/0x13
[    3.405390] Kernel panic - not syncing: Attempted to kill init!
[    3.411362] Pid: 1, comm: swapper/0 Not tainted 3.2.42-hardened-r1 #1
[    3.417850] Call Trace:
[    3.420355]  [<ffffffff8144668d>] ? panic+0xb3/0x1b9
[    3.425373]  [<ffffffff81040001>] ? do_exit+0xa0/0x76a
[    3.430564]  [<ffffffff810409af>] ? do_group_exit+0x7e/0xa8
[    3.436188]  [<ffffffff810ce102>] ? report_size_overflow+0x2c/0x2c
[    3.442420]  [<ffffffff8126ffba>] ? __assign_resources_sorted+0x156/0x289
[    3.449256]  [<ffffffff81430de2>] ? __pci_bus_assign_resources+0x4d/0xd9
[    3.456005]  [<ffffffff817b7844>] ? pci_assign_unassigned_resources+0xff/0x3ef
[    3.463291]  [<ffffffff812efd6d>] ? bus_find_device+0x7a/0x88
[    3.469089]  [<ffffffff81267690>] ? pci_do_find_bus+0x3c/0x3c
[    3.474886]  [<ffffffff812678ac>] ? pci_get_subsys+0x67/0x79
[    3.480598]  [<ffffffff817c7ffa>] ? pcibios_assign_resources+0xe3/0xf1
[    3.487175]  [<ffffffff817c7f17>] ? pcibios_allocate_bus_resources+0x106/0x106
[    3.494462]  [<ffffffff81002073>] ? do_one_initcall+0x73/0x120
[    3.500346]  [<ffffffff8177e0fc>] ? kernel_init+0x125/0x212
[    3.507070]  [<ffffffff81452bc4>] ? kernel_thread_helper+0x4/0x10
[    3.513214]  [<ffffffff8177dfd7>] ? start_kernel+0x444/0x444
[    3.518924]  [<ffffffff81452bc0>] ? gs_change+0x13/0x13


3.2.42 without the grsecurity patches, and the same .config works fine.

Cheers

Mike
gaima
 
Posts: 27
Joined: Fri Feb 12, 2010 12:17 pm

Re: size overflow detected in function resource_size

Postby PaX Team » Wed Apr 10, 2013 11:57 am

can you add this:
Code: Select all
printk("PAX: %pR\n", res);

into include/linux/ioport.h:resource_size() just before the return? this will probably produce quite a few more lines of logs, let's hope you can capture them. we'll need the line printed just before the overflow message.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Re: size overflow detected in function resource_size

Postby gaima » Wed Apr 10, 2013 1:02 pm

PaX Team wrote:can you add this:
Code: Select all
printk("PAX: %pR\n", res);

into include/linux/ioport.h:resource_size() just before the return? this will probably produce quite a few more lines of logs, let's hope you can capture them. we'll need the line printed just before the overflow message.



Sure thing, here's the output you requested, and a bit more just in case!

Code: Select all
[    3.306035] PAX: [io  0x0000]
[    3.309066] PAX: [mem 0x00000000 pref]
[    3.312874] PAX: [mem 0x00000000]
[    3.316249] PAX: [io  0x0000]
[    3.319271] PAX: [mem 0x00000000 pref]
[    3.323074] PAX: [mem 0x00000000]
[    3.326451] PAX: [io  0x0000]
[    3.329478] PAX: [mem 0x00000000 pref]
[    3.333285] PAX: [mem 0x00000000]
[    3.336664] PAX: [mem 0x00000000 pref]
[    3.340472] PAX: [io  0x0000]
[    3.343492] PAX: [io  0x0000]
[    3.346516] PAX: [mem 0x00000000 pref]
[    3.350323] PAX: [mem 0x00000000 pref]
[    3.354131] PAX: [mem 0x00000000]
[    3.357507] PAX: [mem 0x00000000]
[    3.360885] PAX: [mem 0x00000000 pref]
[    3.364687] PAX: [mem 0x00000000 pref]
[    3.368502] PAX: [mem 0x00000000 pref]
[    3.372312] PAX: [mem 0x00000000 pref]
[    3.376125] PAX: [io  0x0000]
[    3.379152] PAX: [mem 0x00100000-0x000fffff]
[    3.383476] PAX: size overflow detected in function resource_size include/linux/ioport.h:173 cicus.52_10 min, count: 6
[    3.394233] Pid: 1, comm: swapper/0 Not tainted 3.2.42-hardened-r1 #2
gaima
 
Posts: 27
Joined: Fri Feb 12, 2010 12:17 pm

Re: size overflow detected in function resource_size

Postby PaX Team » Wed Apr 10, 2013 1:44 pm

looks like there's a real bug somewhere as this is an invalid range: 0x00100000-0x000fffff (start > end). now the question is where this bad range comes from. can you try to determine on a vanilla kernel what pci device reports or gets assigned such a memory range?

edit: try to enable CONFIG_PCI_DEBUG and see if it spits out something useful during boot.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Re: size overflow detected in function resource_size

Postby gaima » Thu Apr 11, 2013 7:02 am

PaX Team wrote:looks like there's a real bug somewhere as this is an invalid range: 0x00100000-0x000fffff (start > end). now the question is where this bad range comes from. can you try to determine on a vanilla kernel what pci device reports or gets assigned such a memory range?

edit: try to enable CONFIG_PCI_DEBUG and see if it spits out something useful during boot.


Sorry, I can't find anything.
Nothing in lspci or dmesg suggest any device is given that range.
CONFIG_PCI_DEBUG likewise doesn't show anything like that, I've tried it with both vanilla and grsecurity patched kernels.
gaima
 
Posts: 27
Joined: Fri Feb 12, 2010 12:17 pm

Re: size overflow detected in function resource_size

Postby roedie_nl » Mon Apr 15, 2013 7:40 am

Hi,

This is actually a sort of 'me too' message since I also have this problem since 3.2.42. Sorry bout that...

Weird thing is I also have it on almost identical hardware. One of them works (1u server) and the other panics (blade). lspci gives almost the same output on both. Capturing kernel output will be difficult since I do not have a serial console set up on these servers.
roedie_nl
 
Posts: 3
Joined: Mon Apr 15, 2013 7:29 am

Re: size overflow detected in function resource_size

Postby roedie_nl » Mon Apr 15, 2013 9:54 am

Hi,

I have the same issue. Capturing kernel output will be difficult since I do not have a serial console connected to the servers.

Any way I can help?
roedie_nl
 
Posts: 3
Joined: Mon Apr 15, 2013 7:29 am

Re: size overflow detected in function resource_size

Postby gaima » Mon Apr 15, 2013 10:07 am

gaima wrote:Sorry, I can't find anything.
Nothing in lspci or dmesg suggest any device is given that range.
CONFIG_PCI_DEBUG likewise doesn't show anything like that, I've tried it with both vanilla and grsecurity patched kernels.


I've added a similar printk() to a vanilla 3.2.43. It too spits out 0x00100000-0x000fffff, so grsecurity/PAX is just trying to protect me from a "fault".
However it seems that 0x00100000-0x000fffff isn't an unusual range to see, so as wrong as it seems this may not be a fault.
Google has many results for that range in relation to PCI devices (bridges mostly), many of which are years old too.

I'd try removing the check on resource_size/resource_size_t, but I'm so over my head I'd probably make it much worse!
gaima
 
Posts: 27
Joined: Fri Feb 12, 2010 12:17 pm

Re: size overflow detected in function resource_size

Postby PaX Team » Mon Apr 15, 2013 11:39 am

can you guys try to add this somewhere at the beginning of kernel/resource.c:allocate_resource()
Code: Select all
printk("PAX: root:%pR new:%pR\n", root, new);dump_stack();

and send me the results (or just show here the log related to the bad range)? also i expect that the primary caller will be drivers/pci/bus.c:pci_bus_alloc_resource and it'd be nice if you could print out the pci bus info there but i don't know if there's a handy function for it or not.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Re: size overflow detected in function resource_size

Postby danielb2010 » Mon Apr 15, 2013 11:42 am

Hi,

same problem here with the most recent grsecurity patch against kernel 3.2.43. In my case the memory regions are different (0x40000000-0x40007fff) and are apparently used by the VMware SVGA II adapter. The machine is a VM running under ESX 4 - Debian Wheezy. I enabled CONFIG_PCI_DEBUG, but it does not seem to print anything more than the stuff already shown here, unless I have to activate that somehow ?

Thanks in advance
danielb2010
 
Posts: 8
Joined: Mon Apr 15, 2013 8:56 am

Re: size overflow detected in function resource_size

Postby PaX Team » Mon Apr 15, 2013 11:45 am

danielb2010 wrote:same problem here with the most recent grsecurity patch against kernel 3.2.43. In my case the memory regions are different (0x40000000-0x40007fff) and are apparently used by the VMware SVGA II adapter. The machine is a VM running under ESX 4 - Debian Wheezy.
can you post the kernel logs corresponding to this (also add the printk above please)? the range you show is a valid one, so i'm thinking it a different issue.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Re: size overflow detected in function resource_size

Postby danielb2010 » Mon Apr 15, 2013 12:38 pm

I added the printk and this is what is shows:

PAX: root:[mem 0x000a0000-0x000bffff] new:[0x00000000-0x00007fff pref]

Regarding the full output, I only got a screenshot right now, since I cannot capture the boot process at the moment :(

http://s24.postimg.org/71tze9jp1/pax_screenshot.jpg
danielb2010
 
Posts: 8
Joined: Mon Apr 15, 2013 8:56 am

Re: size overflow detected in function resource_size

Postby PaX Team » Mon Apr 15, 2013 1:04 pm

danielb2010 wrote:Regarding the full output, I only got a screenshot right now, since I cannot capture the boot process at the moment :(

http://s24.postimg.org/71tze9jp1/pax_screenshot.jpg
i'm afraid this doesn't show the error case, it's just normal looking ranges, and not the one you reported previously. and i'd also need the size overflow message. perhaps you can get a serial console to work even under vmware? it used to work fine in workstation at least.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Re: size overflow detected in function resource_size

Postby danielb2010 » Mon Apr 15, 2013 1:44 pm

Right, got a serial console attached, here is the full output booting up:

Code: Select all
Linux version 3.2.43-grsec (root@mail-failover-1) (gcc version 4.7.2 (Debian 4.7.2-5) ) #5 SMP Mon Apr 15 18:22:24 CEST 2013
Command line: BOOT_IMAGE=Linux ro root=805 "console=ttyS0,9600"
Disabled fast string operations
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
 BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000ca000 - 00000000000cc000 (reserved)
 BIOS-e820: 00000000000dc000 - 00000000000e4000 (reserved)
 BIOS-e820: 00000000000e8000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000003fef0000 (usable)
 BIOS-e820: 000000003fef0000 - 000000003feff000 (ACPI data)
 BIOS-e820: 000000003feff000 - 000000003ff00000 (ACPI NVS)
 BIOS-e820: 000000003ff00000 - 0000000040000000 (usable)
 BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
 BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000fffe0000 - 0000000100000000 (reserved)
NX (Execute Disable) protection: active
SMBIOS 2.4 present.
Hypervisor detected: VMware
No AGP bridge found
last_pfn = 0x40000 max_arch_pfn = 0x400000000
x86 PAT enabled: cpu 0, old 0x0, new 0x7010600070106
found SMP MP-table at [ffff8800000f69b0] f69b0
init_memory_mapping: 0000000000000000-0000000040000000
RAMDISK: 3fc23000 - 3fef0000
ACPI: RSDP 00000000000f6940 00024 (v02 PTLTD )
ACPI: XSDT 000000003fef0885 0004C (v01 INTEL  440BX    06040000 VMW  01324272)
ACPI: FACP 000000003fefee98 000F4 (v04 INTEL  440BX    06040000 PTL  000F4240)
ACPI: DSDT 000000003fef0a3d 0E45B (v01 PTLTD  Custom   06040000 MSFT 03000001)
ACPI: FACS 000000003fefffc0 00040
ACPI: BOOT 000000003fef0a15 00028 (v01 PTLTD  $SBFTBL$ 06040000  LTP 00000001)
ACPI: APIC 000000003fef09c5 00050 (v01 PTLTD  ? APIC   06040000  LTP 00000000)
ACPI: MCFG 000000003fef0989 0003C (v01 PTLTD  $PCITBL$ 06040000  LTP 00000001)
ACPI: SRAT 000000003fef0909 00080 (v02 VMWARE MEMPLUG  06040000 VMW  00000001)
Zone PFN ranges:
  DMA      0x00000010 -> 0x00001000
  DMA32    0x00001000 -> 0x00100000
  Normal   empty
Movable zone start PFN for each node
early_node_map[3] active PFN ranges
    0: 0x00000010 -> 0x0000009f
    0: 0x00000100 -> 0x0003fef0
    0: 0x0003ff00 -> 0x00040000
ACPI: PM-Timer IO Port: 0x1008
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge)
Using ACPI (MADT) for SMP configuration information
SMP: Allowing 1 CPUs, 0 hotplug CPUs
Allocating PCI resources starting at 40000000 (gap: 40000000:a0000000)
setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:1 nr_node_ids:1
PERCPU: Embedded 23 pages/cpu @ffff88003fa00000 s61192 d24512 u2097152
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 257917
Kernel command line: BOOT_IMAGE=Linux ro root=805 "console=ttyS0,9600"
PID hash table entries: 4096 (order: 3, 32768 bytes)
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
Checking aperture...
No AGP bridge found
Memory: 1015276k/1048576k available (5932k kernel code, 516k absent, 32784k reserved, 2709k data, 684k init)
SLUB: Genslabs=15, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.NFIG_RCU_FANOUT set to non-default value of 32
NR_IRQS:4352 nr_irqs:256 16
Extended CMOS year: 2000
Console: colour VGA+ 80x25
console [ttyS0] enabled
TSC freq read from hypervisor : 2000.071 MHz
Detected 2000.071 MHz processor.
Calibrating delay loop (skipped) preset value.. 4000.14 BogoMIPS (lpj=2000071)
pid_max: default: 32768 minimum: 501
Security Framework initialized
Mount-cache hash table entries: 256
Disabled fast string operations
CPU: Physical Processor ID: 0
SMP alternatives: switching to UP code
Freeing SMP alternatives: 24k freed
ACPI: Core revision 20110623
..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
CPU0: Intel(R) Xeon(R) CPU           E5504  @ 2.00GHz stepping 05
Performance Events: erratum AAJ80 worked around, Nehalem events, Broken PMU hardware detected, using software events only.
Brought up 1 CPUs
Total of 1 processors activated (4000.14 BogoMIPS).
x86 PAT enabled: cpu 0, old 0x0, new 0x7010600070106
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: MMCONFIG for domain 0000 [bus 00-ff] at [mem 0xe0000000-0xefffffff] (base 0xe0000000)
PCI: MMCONFIG at [mem 0xe0000000-0xefffffff] reserved in E820
PCI: Using configuration type 1 for base access
bio: create slab <bio-0> at 0
ACPI: Added _OSI(Module Device)
ACPI: Adde(Processor Device)
ACPI: Added _OSI(3.0 _SCP Extensions)
ACPI: Added _OSI(Processor Aggregator Device)
[Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
ACPI: Interpreter enabled
ACPI: (supports S0 S5)
ACPI: Using IOAPIC for interrupt routing
ACPI: No dock devices found.
PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
pci_root PNP0A03:00: host bridge window [mem 0x000a0000-0x000bffff]
pci_root PNP0A03:00: host bridge window [mem 0x000cc000-0x000cffff]
pci_root PNP0A03:00: host bridge window [mem 0x000d0000-0x000d3fff]
pci_root PNP0A03:00: host bridge window [mem 4000-0x000d7fff]
pci_root PNP0A03:00: host bridge window [mem 0x000d8000-0x000dbfff]
pci_root PNP0A03:00: host bridge window [mem 0x000e4000-0x000e7fff]
pci_root PNP0A03:00: host bridge window [mem 0x40000000-0xfebfffff]
pci_root PNP0A03:00: host bridge window [io  0x0000-0x0cf7]
pci_root PNP0A03:00: host bridge window [io  0x0d00-0xfeff]
pci 0000:00:07.3: quirk: [io  0x1000-0x103f] claimed by PIIX4 ACPI
pci 0000:00:07.3: quirk: [io  0x1040-0x104f] claimed by PIIX4 SMB
pci 0000:00:01.0: PCI bridge to [bus 01-01]
pci 0000:00:11.0: PCI bridge to [bus 02-02] (subtractive decode)
pci 0000:00:15.0: PCI bridge to [bus 03-03]
pci 0000:00:15.1: PCI bridge to [bus 04-04]
pci 0000:00:15. bridge to [bus 05-05]
pci 0000:00:15.3: PCI bridge to [bus 06-06]
pci 0000:00:15.4: PCI bridge to [bus 07-07]
pci 0000:00:15.5: PCI bridge to [bus 08-08]
pci 0000:00:15.6: PCI bridge to [bus 09-09]
pci 0000:00:15.7: PCI bridge to [bus 0a-0a]
pci 0000:00:16.0: PCI bridge to [bus 0b-0b]
pci 0000:00:16.1: PCI bridge to [bus 0c-0c]
pci 0000:00:16.2: PCI bridge to [bus 0d-0d]
pci 0000:00:16.3: PCI bridge to [bus 0e-0e]
pci 0000:00:16.4: PCI bridge to [bus 0f-0f]
pci 0000:00:16.5: PCI bridge to [bus 10-10]
pci 0000:00:16.6: PCI bridge to [bus 11-11]
pci 0000:00:16.7: PCI bridge to [bus 12-12]
pci 0000:00:17.0: PCI bridge s 13-13]
pci 0000:00:17.1: PCI bridge to [bus 14-14]
pci 0000:00:17.2: PCI bridge to [bus 15-15]
pci 0000:00:17.3: PCI bridge to [bus 16-16]
pci 0000:00:17.4: PCI bridge to [bus 17-17]
pci 0000:00:17.5: PCI bridge to [bus 18-18]
pci 0000:00:17.6: PCI bridge to [bus 19-19]
pci 0000:00:17.7: PCI bridge to [bus 1a-1a]
pci 0000:00:18.0: PCI bridge to [bus 1b-1b]
pci 0000:00:18.1: PCI bridge to [bus 1c-1c]
pci 0000:00:18.2: PCI bridge to [bus 1d-1d]
pci 0000:00:18.3: PCI bridge to [bus 1e-1e]
pci 0000:00:18.4: PCI bridge to [bus 1f-1f]
pci 0000:00:18.5: PCI bridge to [bus 20-20]
pci 0000:00:18.6: PCI bridge to [bus
pci 0000:00:18.7: PCI bridge to [bus 22-22]
 pci0000:00: Requesting ACPI _OSC control (0x1d)
 pci0000:00: ACPI _OSC control (0x15) granted
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 *9 10 11 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 *11 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 *10 11 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 11 14 15) *0, disabled.
vgaarb: device added: PCI:0000:00:0f.0,decodes=io+mem,owns=io+mem,locks=none
vgaarb: loaded
vgaarb: bridge control possible 0000:00:0f.0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ roupci 0000:00:18.2: no compatible bridge window for [io  0xf000-0xffff]
pnp: PnP ACPI init
ACPI: bus type pnp registered
system 00:01: [io  0x1000-0x103f] has been reserved
system 00:01: [io  0x1040-0x104f] has been reserved
system 00:01: [io  0x0cf0-0x0cf1] has been reserved
system 00:0c: [io  0x1060-0x107f] has been reserved
system 00:0c: [mem 0xe0000000-0xefffffff] has been reserved
system 00:0c: [mem 0xdbe00000-0xdbffffff] has been reserved
pnp: PnP ACPI: found 13 devices
ACPI: ACPI bus type pnp unregistered
Switching to clocksource acpi_pm
PAX: root:[mem 0x000a0000-0x000bffff] new:[mem 0x00000000-0x00007fff pref]
Pid: 1, comm: swapper/0 Not tainted 3.2.43-grsec #5
Call Trace:
 [<ffffffff814f2700>] ? intel_map_sg+0x240
 [<ffffffff8105788d>] allocate_resource+0x4d/0x110
 [<ffffffff812e7009>] pci_bus_alloc_resource+0xa9/0xe0
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812f0f93>] ? pdev_sort_resources+0x103/0x160
 [<ffffffff812f07bf>] _pci_assign_resource+0xef/0x1c0
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812f0cfb>] pci_assign_resource+0x9b/0x230
 [<ffffffff812f9832>] assign_requested_resources_sorted.isra.8+0xe2/0x1a0
 [<ffffffff815a69e8>] __pci_bus_assign_resources+0x58/0x140
 [<ffffffff81a4838c>] pci_assign_unassigned_resources+0x127/0x43e
 [<ffffffff811165ac>] ? kfree+0x3c/0 [<ffffffff812ee19d>] ? pci_get_subsys+0x8d/0xd0
 [<ffffffff81a60d24>] pcibios_assign_resources+0xf5/0x10c
 [<ffffffff8135a43f>] ? mix_pool_bytes.constprop.14+0x4f/0x70
 [<ffffffff81a60c2f>] ? pcibios_allocate_bus_resources+0x177/0x177
 [<ffffffff810002df>] do_one_initcall+0x14f/0x180
 [<ffffffff81a1114f>] kernel_init+0xff/0x1ed
 [<ffffffff815c95c9>] kernel_thread_helper+0x9/0x20
 [<ffffffff815c763f>] ? retint_restore_args+0x6/0xd
 [<ffffffff81a11050>] ? start_kernel+0x3b4/0x3b4
 [<ffffffff815c95c0>] ? gs_change+0x1b/0x1b
PAX: root:[mem 0x000cc000-0x000cffff] new:[mem 0x00000000-0x00007fff pref]
P, comm: swapper/0 Not tainted 3.2.43-grsec #5
Call Trace:
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff8105788d>] allocate_resource+0x4d/0x110
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812e7009>] pci_bus_alloc_resource+0xa9/0xe0
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812f0f93>] ? pdev_sort_resources+0x103/0x160
 [<ffffffff812f07bf>] _pci_assign_resource+0xef/0x1c0
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812f0cfb>] pci_assign_resource+0x9b/0x230
 [<ffffffff812f9832>] assign_requested_resources_sorted.isra.8+0xe2/0x1a0
 [<ff815a69e8>] __pci_bus_assign_resources+0x58/0x140
 [<ffffffff81a4838c>] pci_assign_unassigned_resources+0x127/0x43e
 [<ffffffff811165ac>] ? kfree+0x3c/0x130
 [<ffffffff812ee19d>] ? pci_get_subsys+0x8d/0xd0
 [<ffffffff81a60d24>] pcibios_assign_resources+0xf5/0x10c
 [<ffffffff8135a43f>] ? mix_pool_bytes.constprop.14+0x4f/0x70
 [<ffffffff81a60c2f>] ? pcibios_allocate_bus_resources+0x177/0x177
 [<ffffffff810002df>] do_one_initcall+0x14f/0x180
 [<ffffffff81a1114f>] kernel_init+0xff/0x1ed
 [<ffffffff815c95c9>] kernel_thread_helper+0x9/0x20
 [<ffffffff815c763f>] ? retint_restore_args+0x6/0xd
 [<ffffffff81>] ? start_kernel+0x3b4/0x3b4
 [<ffffffff815c95c0>] ? gs_change+0x1b/0x1b
PAX: root:[mem 0x000d0000-0x000d3fff] new:[mem 0x00000000-0x00007fff pref]
Pid: 1, comm: swapper/0 Not tainted 3.2.43-grsec #5
Call Trace:
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff8105788d>] allocate_resource+0x4d/0x110
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812e7009>] pci_bus_alloc_resource+0xa9/0xe0
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812f0f93>] ? pdev_sort_resources+0x103/0x160
 [<ffffffff812f07bf>] _pci_assign_resource+0xef/0x1c0
 [<ffffffff814f2700>] ? inp_sg+0x240/0x240
 [<ffffffff812f0cfb>] pci_assign_resource+0x9b/0x230
 [<ffffffff812f9832>] assign_requested_resources_sorted.isra.8+0xe2/0x1a0
 [<ffffffff815a69e8>] __pci_bus_assign_resources+0x58/0x140
 [<ffffffff81a4838c>] pci_assign_unassigned_resources+0x127/0x43e
 [<ffffffff811165ac>] ? kfree+0x3c/0x130
 [<ffffffff812ee19d>] ? pci_get_subsys+0x8d/0xd0
 [<ffffffff81a60d24>] pcibios_assign_resources+0xf5/0x10c
 [<ffffffff8135a43f>] ? mix_pool_bytes.constprop.14+0x4f/0x70
 [<ffffffff81a60c2f>] ? pcibios_allocate_bus_resources+0x177/0x177
 [<ffffffff810002df>] do_one_initcall+0x14f/0x180
 [<fffff1114f>] kernel_init+0xff/0x1ed
 [<ffffffff815c95c9>] kernel_thread_helper+0x9/0x20
 [<ffffffff815c763f>] ? retint_restore_args+0x6/0xd
 [<ffffffff81a11050>] ? start_kernel+0x3b4/0x3b4
 [<ffffffff815c95c0>] ? gs_change+0x1b/0x1b
PAX: root:[mem 0x000d4000-0x000d7fff] new:[mem 0x00000000-0x00007fff pref]
Pid: 1, comm: swapper/0 Not tainted 3.2.43-grsec #5
Call Trace:
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff8105788d>] allocate_resource+0x4d/0x110
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812e7009>] pci_bus_alloc_resource+0xa9/0xe0
 [<ffffffff814f2700>] ? intelg+0x240/0x240
 [<ffffffff812f0f93>] ? pdev_sort_resources+0x103/0x160
 [<ffffffff812f07bf>] _pci_assign_resource+0xef/0x1c0
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812f0cfb>] pci_assign_resource+0x9b/0x230
 [<ffffffff812f9832>] assign_requested_resources_sorted.isra.8+0xe2/0x1a0
 [<ffffffff815a69e8>] __pci_bus_assign_resources+0x58/0x140
 [<ffffffff81a4838c>] pci_assign_unassigned_resources+0x127/0x43e
 [<ffffffff811165ac>] ? kfree+0x3c/0x130
 [<ffffffff812ee19d>] ? pci_get_subsys+0x8d/0xd0
 [<ffffffff81a60d24>] pcibios_assign_resources+0xf5/0x10c
 [<ffffffff8135a43f>] ? mix_pool_bytstprop.14+0x4f/0x70
 [<ffffffff81a60c2f>] ? pcibios_allocate_bus_resources+0x177/0x177
 [<ffffffff810002df>] do_one_initcall+0x14f/0x180
 [<ffffffff81a1114f>] kernel_init+0xff/0x1ed
 [<ffffffff815c95c9>] kernel_thread_helper+0x9/0x20
 [<ffffffff815c763f>] ? retint_restore_args+0x6/0xd
 [<ffffffff81a11050>] ? start_kernel+0x3b4/0x3b4
 [<ffffffff815c95c0>] ? gs_change+0x1b/0x1b
PAX: root:[mem 0x000d8000-0x000dbfff] new:[mem 0x00000000-0x00007fff pref]
Pid: 1, comm: swapper/0 Not tainted 3.2.43-grsec #5
Call Trace:
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff8105788d>] allocate_resou4d/0x110
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812e7009>] pci_bus_alloc_resource+0xa9/0xe0
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812f0f93>] ? pdev_sort_resources+0x103/0x160
 [<ffffffff812f07bf>] _pci_assign_resource+0xef/0x1c0
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812f0cfb>] pci_assign_resource+0x9b/0x230
 [<ffffffff812f9832>] assign_requested_resources_sorted.isra.8+0xe2/0x1a0
 [<ffffffff815a69e8>] __pci_bus_assign_resources+0x58/0x140
 [<ffffffff81a4838c>] pci_assign_unassigned_resources+0x127/0x43e
 [<ffffffff811165ac>] ? kfree0x130
 [<ffffffff812ee19d>] ? pci_get_subsys+0x8d/0xd0
 [<ffffffff81a60d24>] pcibios_assign_resources+0xf5/0x10c
 [<ffffffff8135a43f>] ? mix_pool_bytes.constprop.14+0x4f/0x70
 [<ffffffff81a60c2f>] ? pcibios_allocate_bus_resources+0x177/0x177
 [<ffffffff810002df>] do_one_initcall+0x14f/0x180
 [<ffffffff81a1114f>] kernel_init+0xff/0x1ed
 [<ffffffff815c95c9>] kernel_thread_helper+0x9/0x20
 [<ffffffff815c763f>] ? retint_restore_args+0x6/0xd
 [<ffffffff81a11050>] ? start_kernel+0x3b4/0x3b4
 [<ffffffff815c95c0>] ? gs_change+0x1b/0x1b
PAX: root:[mem 0x000e4000-0x000e7fff] new:[mem 0x00000000-0x00007ff]
Pid: 1, comm: swapper/0 Not tainted 3.2.43-grsec #5
Call Trace:
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff8105788d>] allocate_resource+0x4d/0x110
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812e7009>] pci_bus_alloc_resource+0xa9/0xe0
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812f0f93>] ? pdev_sort_resources+0x103/0x160
 [<ffffffff812f07bf>] _pci_assign_resource+0xef/0x1c0
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812f0cfb>] pci_assign_resource+0x9b/0x230
 [<ffffffff812f9832>] assign_requested_resources_sorted.isra.8+0xe2/0x [<ffffffff815a69e8>] __pci_bus_assign_resources+0x58/0x140
 [<ffffffff81a4838c>] pci_assign_unassigned_resources+0x127/0x43e
 [<ffffffff811165ac>] ? kfree+0x3c/0x130
 [<ffffffff812ee19d>] ? pci_get_subsys+0x8d/0xd0
 [<ffffffff81a60d24>] pcibios_assign_resources+0xf5/0x10c
 [<ffffffff8135a43f>] ? mix_pool_bytes.constprop.14+0x4f/0x70
 [<ffffffff81a60c2f>] ? pcibios_allocate_bus_resources+0x177/0x177
 [<ffffffff810002df>] do_one_initcall+0x14f/0x180
 [<ffffffff81a1114f>] kernel_init+0xff/0x1ed
 [<ffffffff815c95c9>] kernel_thread_helper+0x9/0x20
 [<ffffffff815c763f>] ? retint_restore_args+0x6/0xd
 [fff81a11050>] ? start_kernel+0x3b4/0x3b4
 [<ffffffff815c95c0>] ? gs_change+0x1b/0x1b
PAX: root:[mem 0x40000000-0xfebfffff] new:[mem 0x00000000-0x00007fff pref]
Pid: 1, comm: swapper/0 Not tainted 3.2.43-grsec #5
Call Trace:
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff8105788d>] allocate_resource+0x4d/0x110
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812e7009>] pci_bus_alloc_resource+0xa9/0xe0
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812f0f93>] ? pdev_sort_resources+0x103/0x160
 [<ffffffff812f07bf>] _pci_assign_resource+0xef/0x1c0
 [<ffffffff814f ? intel_map_sg+0x240/0x240
 [<ffffffff812f0cfb>] pci_assign_resource+0x9b/0x230
 [<ffffffff812f9832>] assign_requested_resources_sorted.isra.8+0xe2/0x1a0
 [<ffffffff815a69e8>] __pci_bus_assign_resources+0x58/0x140
 [<ffffffff81a4838c>] pci_assign_unassigned_resources+0x127/0x43e
 [<ffffffff811165ac>] ? kfree+0x3c/0x130
 [<ffffffff812ee19d>] ? pci_get_subsys+0x8d/0xd0
 [<ffffffff81a60d24>] pcibios_assign_resources+0xf5/0x10c
 [<ffffffff8135a43f>] ? mix_pool_bytes.constprop.14+0x4f/0x70
 [<ffffffff81a60c2f>] ? pcibios_allocate_bus_resources+0x177/0x177
 [<ffffffff810002df>] do_one_initcall+0x14f/0x1[<ffffffff81a1114f>] kernel_init+0xff/0x1ed
 [<ffffffff815c95c9>] kernel_thread_helper+0x9/0x20
 [<ffffffff815c763f>] ? retint_restore_args+0x6/0xd
 [<ffffffff81a11050>] ? start_kernel+0x3b4/0x3b4
 [<ffffffff815c95c0>] ? gs_change+0x1b/0x1b
pci 0000:00:0f.0: BAR 6: assigned [mem 0x40000000-0x40007fff pref]
PAX: root:[mem 0x000a0000-0x000bffff] new:[mem 0x00000000-0x00003fff pref]
Pid: 1, comm: swapper/0 Not tainted 3.2.43-grsec #5
Call Trace:
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff8105788d>] allocate_resource+0x4d/0x110
 [<ffffffff815b78c2>] ? printk+0x43/0x50
 [<ffffffff81>] pci_bus_alloc_resource+0xa9/0xe0
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812f07bf>] _pci_assign_resource+0xef/0x1c0
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812f0cfb>] pci_assign_resource+0x9b/0x230
 [<ffffffff812f9832>] assign_requested_resources_sorted.isra.8+0xe2/0x1a0
 [<ffffffff815a69e8>] __pci_bus_assign_resources+0x58/0x140
 [<ffffffff81a4838c>] pci_assign_unassigned_resources+0x127/0x43e
 [<ffffffff811165ac>] ? kfree+0x3c/0x130
 [<ffffffff812ee19d>] ? pci_get_subsys+0x8d/0xd0
 [<ffffffff81a60d24>] pcibios_assign_resources+0xf5/0x10c
 [<ffffffff8f>] ? mix_pool_bytes.constprop.14+0x4f/0x70
 [<ffffffff81a60c2f>] ? pcibios_allocate_bus_resources+0x177/0x177
 [<ffffffff810002df>] do_one_initcall+0x14f/0x180
 [<ffffffff81a1114f>] kernel_init+0xff/0x1ed
 [<ffffffff815c95c9>] kernel_thread_helper+0x9/0x20
 [<ffffffff815c763f>] ? retint_restore_args+0x6/0xd
 [<ffffffff81a11050>] ? start_kernel+0x3b4/0x3b4
 [<ffffffff815c95c0>] ? gs_change+0x1b/0x1b
PAX: root:[mem 0x000cc000-0x000cffff] new:[mem 0x00000000-0x00003fff pref]
Pid: 1, comm: swapper/0 Not tainted 3.2.43-grsec #5
Call Trace:
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffff05788d>] allocate_resource+0x4d/0x110
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812e7009>] pci_bus_alloc_resource+0xa9/0xe0
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812f07bf>] _pci_assign_resource+0xef/0x1c0
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812f0cfb>] pci_assign_resource+0x9b/0x230
 [<ffffffff812f9832>] assign_requested_resources_sorted.isra.8+0xe2/0x1a0
 [<ffffffff815a69e8>] __pci_bus_assign_resources+0x58/0x140
 [<ffffffff81a4838c>] pci_assign_unassigned_resources+0x127/0x43e
 [<ffffffff811165ac>] ? kfree+0x3c/0x130
 [<ffffffff9d>] ? pci_get_subsys+0x8d/0xd0
 [<ffffffff81a60d24>] pcibios_assign_resources+0xf5/0x10c
 [<ffffffff8135a43f>] ? mix_pool_bytes.constprop.14+0x4f/0x70
 [<ffffffff81a60c2f>] ? pcibios_allocate_bus_resources+0x177/0x177
 [<ffffffff810002df>] do_one_initcall+0x14f/0x180
 [<ffffffff81a1114f>] kernel_init+0xff/0x1ed
 [<ffffffff815c95c9>] kernel_thread_helper+0x9/0x20
 [<ffffffff815c763f>] ? retint_restore_args+0x6/0xd
 [<ffffffff81a11050>] ? start_kernel+0x3b4/0x3b4
 [<ffffffff815c95c0>] ? gs_change+0x1b/0x1b
PAX: root:[mem 0x000d0000-0x000d3fff] new:[mem 0x00000000-0x00003fff pref]
Pid: 1, comm: swa Not tainted 3.2.43-grsec #5
Call Trace:
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff8105788d>] allocate_resource+0x4d/0x110
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812e7009>] pci_bus_alloc_resource+0xa9/0xe0
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812f07bf>] _pci_assign_resource+0xef/0x1c0
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812f0cfb>] pci_assign_resource+0x9b/0x230
 [<ffffffff812f9832>] assign_requested_resources_sorted.isra.8+0xe2/0x1a0
 [<ffffffff815a69e8>] __pci_bus_assign_resources+0x58/0x140
 [<ffffff838c>] pci_assign_unassigned_resources+0x127/0x43e
 [<ffffffff811165ac>] ? kfree+0x3c/0x130
 [<ffffffff812ee19d>] ? pci_get_subsys+0x8d/0xd0
 [<ffffffff81a60d24>] pcibios_assign_resources+0xf5/0x10c
 [<ffffffff8135a43f>] ? mix_pool_bytes.constprop.14+0x4f/0x70
 [<ffffffff81a60c2f>] ? pcibios_allocate_bus_resources+0x177/0x177
 [<ffffffff810002df>] do_one_initcall+0x14f/0x180
 [<ffffffff81a1114f>] kernel_init+0xff/0x1ed
 [<ffffffff815c95c9>] kernel_thread_helper+0x9/0x20
 [<ffffffff815c763f>] ? retint_restore_args+0x6/0xd
 [<ffffffff81a11050>] ? start_kernel+0x3b4/0x3b4
 [<ffffffff815c95c0>] ? gs_chx1b/0x1b
PAX: root:[mem 0x000d4000-0x000d7fff] new:[mem 0x00000000-0x00003fff pref]
Pid: 1, comm: swapper/0 Not tainted 3.2.43-grsec #5
Call Trace:
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff8105788d>] allocate_resource+0x4d/0x110
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812e7009>] pci_bus_alloc_resource+0xa9/0xe0
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812f07bf>] _pci_assign_resource+0xef/0x1c0
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812f0cfb>] pci_assign_resource+0x9b/0x230
 [<ffffffff812f9832>] assign_requestedrces_sorted.isra.8+0xe2/0x1a0
 [<ffffffff815a69e8>] __pci_bus_assign_resources+0x58/0x140
 [<ffffffff81a4838c>] pci_assign_unassigned_resources+0x127/0x43e
 [<ffffffff811165ac>] ? kfree+0x3c/0x130
 [<ffffffff812ee19d>] ? pci_get_subsys+0x8d/0xd0
 [<ffffffff81a60d24>] pcibios_assign_resources+0xf5/0x10c
 [<ffffffff8135a43f>] ? mix_pool_bytes.constprop.14+0x4f/0x70
 [<ffffffff81a60c2f>] ? pcibios_allocate_bus_resources+0x177/0x177
 [<ffffffff810002df>] do_one_initcall+0x14f/0x180
 [<ffffffff81a1114f>] kernel_init+0xff/0x1ed
 [<ffffffff815c95c9>] kernel_thread_helper+0x9/0x20
 [<ffffffff815c763f>]int_restore_args+0x6/0xd
 [<ffffffff81a11050>] ? start_kernel+0x3b4/0x3b4
 [<ffffffff815c95c0>] ? gs_change+0x1b/0x1b
PAX: root:[mem 0x000d8000-0x000dbfff] new:[mem 0x00000000-0x00003fff pref]
Pid: 1, comm: swapper/0 Not tainted 3.2.43-grsec #5
Call Trace:
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff8105788d>] allocate_resource+0x4d/0x110
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812e7009>] pci_bus_alloc_resource+0xa9/0xe0
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812f07bf>] _pci_assign_resource+0xef/0x1c0
 [<ffffffff814f2700>] ? intel_map_sg+0x240
 [<ffffffff812f0cfb>] pci_assign_resource+0x9b/0x230
 [<ffffffff812f9832>] assign_requested_resources_sorted.isra.8+0xe2/0x1a0
 [<ffffffff815a69e8>] __pci_bus_assign_resources+0x58/0x140
 [<ffffffff81a4838c>] pci_assign_unassigned_resources+0x127/0x43e
 [<ffffffff811165ac>] ? kfree+0x3c/0x130
 [<ffffffff812ee19d>] ? pci_get_subsys+0x8d/0xd0
 [<ffffffff81a60d24>] pcibios_assign_resources+0xf5/0x10c
 [<ffffffff8135a43f>] ? mix_pool_bytes.constprop.14+0x4f/0x70
 [<ffffffff81a60c2f>] ? pcibios_allocate_bus_resources+0x177/0x177
 [<ffffffff810002df>] do_one_initcall+0x14f/0x180
 [<fffffff114f>] kernel_init+0xff/0x1ed
 [<ffffffff815c95c9>] kernel_thread_helper+0x9/0x20
 [<ffffffff815c763f>] ? retint_restore_args+0x6/0xd
 [<ffffffff81a11050>] ? start_kernel+0x3b4/0x3b4
 [<ffffffff815c95c0>] ? gs_change+0x1b/0x1b
PAX: root:[mem 0x000e4000-0x000e7fff] new:[mem 0x00000000-0x00003fff pref]
Pid: 1, comm: swapper/0 Not tainted 3.2.43-grsec #5
Call Trace:
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff8105788d>] allocate_resource+0x4d/0x110
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812e7009>] pci_bus_alloc_resource+0xa9/0xe0
 [<ffffffff814f2700>] ? intel_+0x240/0x240
 [<ffffffff812f07bf>] _pci_assign_resource+0xef/0x1c0
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812f0cfb>] pci_assign_resource+0x9b/0x230
 [<ffffffff812f9832>] assign_requested_resources_sorted.isra.8+0xe2/0x1a0
 [<ffffffff815a69e8>] __pci_bus_assign_resources+0x58/0x140
 [<ffffffff81a4838c>] pci_assign_unassigned_resources+0x127/0x43e
 [<ffffffff811165ac>] ? kfree+0x3c/0x130
 [<ffffffff812ee19d>] ? pci_get_subsys+0x8d/0xd0
 [<ffffffff81a60d24>] pcibios_assign_resources+0xf5/0x10c
 [<ffffffff8135a43f>] ? mix_pool_bytes.constprop.14+0x4f/0x70
 [<ffffffff81a60c2f>] ?os_allocate_bus_resources+0x177/0x177
 [<ffffffff810002df>] do_one_initcall+0x14f/0x180
 [<ffffffff81a1114f>] kernel_init+0xff/0x1ed
 [<ffffffff815c95c9>] kernel_thread_helper+0x9/0x20
 [<ffffffff815c763f>] ? retint_restore_args+0x6/0xd
 [<ffffffff81a11050>] ? start_kernel+0x3b4/0x3b4
 [<ffffffff815c95c0>] ? gs_change+0x1b/0x1b
PAX: root:[mem 0x40000000-0xfebfffff] new:[mem 0x00000000-0x00003fff pref]
Pid: 1, comm: swapper/0 Not tainted 3.2.43-grsec #5
Call Trace:
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff8105788d>] allocate_resource+0x4d/0x110
 [<ffffffff814f2700>] ? intel_map_40/0x240
 [<ffffffff812e7009>] pci_bus_alloc_resource+0xa9/0xe0
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812f07bf>] _pci_assign_resource+0xef/0x1c0
 [<ffffffff814f2700>] ? intel_map_sg+0x240/0x240
 [<ffffffff812f0cfb>] pci_assign_resource+0x9b/0x230
 [<ffffffff812f9832>] assign_requested_resources_sorted.isra.8+0xe2/0x1a0
 [<ffffffff815a69e8>] __pci_bus_assign_resources+0x58/0x140
 [<ffffffff81a4838c>] pci_assign_unassigned_resources+0x127/0x43e
 [<ffffffff811165ac>] ? kfree+0x3c/0x130
 [<ffffffff812ee19d>] ? pci_get_subsys+0x8d/0xd0
 [<ffffffff81a60d24>] pcibios_assign_res+0xf5/0x10c
 [<ffffffff8135a43f>] ? mix_pool_bytes.constprop.14+0x4f/0x70
 [<ffffffff81a60c2f>] ? pcibios_allocate_bus_resources+0x177/0x177
 [<ffffffff810002df>] do_one_initcall+0x14f/0x180
 [<ffffffff81a1114f>] kernel_init+0xff/0x1ed
 [<ffffffff815c95c9>] kernel_thread_helper+0x9/0x20
 [<ffffffff815c763f>] ? retint_restore_args+0x6/0xd
 [<ffffffff81a11050>] ? start_kernel+0x3b4/0x3b4
 [<ffffffff815c95c0>] ? gs_change+0x1b/0x1b
pci 0000:00:10.0: BAR 6: assigned [mem 0x40008000-0x4000bfff pref]
PAX: size overflow detected in function resource_size include/linux/ioport.h:171 cicus.62_9 min, count:Pid: 1, comm: swapper/0 Not tainted 3.2.43-grsec #5
Call Trace:
 [<ffffffff81126446>] report_size_overflow+0x36/0x40
 [<ffffffff812f98e4>] assign_requested_resources_sorted.isra.8+0x194/0x1a0
 [<ffffffff815a69e8>] __pci_bus_assign_resources+0x58/0x140
 [<ffffffff81a4838c>] pci_assign_unassigned_resources+0x127/0x43e
 [<ffffffff811165ac>] ? kfree+0x3c/0x130
 [<ffffffff812ee19d>] ? pci_get_subsys+0x8d/0xd0
 [<ffffffff81a60d24>] pcibios_assign_resources+0xf5/0x10c
 [<ffffffff8135a43f>] ? mix_pool_bytes.constprop.14+0x4f/0x70
 [<ffffffff81a60c2f>] ? pcibios_allocate_bus_resources+0x177/0x177
 [<ff810002df>] do_one_initcall+0x14f/0x180
 [<ffffffff81a1114f>] kernel_init+0xff/0x1ed
 [<ffffffff815c95c9>] kernel_thread_helper+0x9/0x20
 [<ffffffff815c763f>] ? retint_restore_args+0x6/0xd
 [<ffffffff81a11050>] ? start_kernel+0x3b4/0x3b4
 [<ffffffff815c95c0>] ? gs_change+0x1b/0x1b
Kernel panic - not syncing: Attempted to kill init!
Pid: 1, comm: swapper/0 Not tainted 3.2.43-grsec #5
Call Trace:
 [<ffffffff815b775a>] panic+0xa3/0x1c8
 [<ffffffff8105298a>] do_exit+0x70a/0x7c0
 [<ffffffff81052dea>] do_group_exit+0x3a/0xa0
 [<ffffffff81126450>] report_size_overflow+0x40/0x40
 [<ffffffff812f98e4>] assigested_resources_sorted.isra.8+0x194/0x1a0
 [<ffffffff815a69e8>] __pci_bus_assign_resources+0x58/0x140
 [<ffffffff81a4838c>] pci_assign_unassigned_resources+0x127/0x43e
 [<ffffffff811165ac>] ? kfree+0x3c/0x130
 [<ffffffff812ee19d>] ? pci_get_subsys+0x8d/0xd0
 [<ffffffff81a60d24>] pcibios_assign_resources+0xf5/0x10c
 [<ffffffff8135a43f>] ? mix_pool_bytes.constprop.14+0x4f/0x70
 [<ffffffff81a60c2f>] ? pcibios_allocate_bus_resources+0x177/0x177
 [<ffffffff810002df>] do_one_initcall+0x14f/0x180
 [<ffffffff81a1114f>] kernel_init+0xff/0x1ed
 [<ffffffff815c95c9>] kernel_thread_helper+0x9/0x20
 [<fffffff63f>] ? retint_restore_args+0x6/0xd
 [<ffffffff81a11050>] ? start_kernel+0x3b4/0x3b4
 [<ffffffff815c95c0>] ? gs_change+0x1b/0x1b
danielb2010
 
Posts: 8
Joined: Mon Apr 15, 2013 8:56 am

Re: size overflow detected in function resource_size

Postby PaX Team » Mon Apr 15, 2013 2:04 pm

danielb2010 wrote:
Code: Select all
pci 0000:00:10.0: BAR 6: assigned [mem 0x40008000-0x4000bfff pref]
PAX: size overflow detected in function resource_size include/linux/ioport.h:171 cicus.62_9 min, count:Pid: 1, comm: swapper/0 Not tainted 3.2.43-grsec #5
Call Trace:
 [<ffffffff81126446>] report_size_overflow+0x36/0x40
 [<ffffffff812f98e4>] assign_requested_resources_sorted.isra.8+0x194/0x1a0
 [<ffffffff815a69e8>] __pci_bus_assign_resources+0x58/0x140
 [<ffffffff81a4838c>] pci_assign_unassigned_resources+0x127/0x43e
 [<ffffffff811165ac>] ? kfree+0x3c/0x130
 [<ffffffff812ee19d>] ? pci_get_subsys+0x8d/0xd0
 [<ffffffff81a60d24>] pcibios_assign_resources+0xf5/0x10c

can you also add the first printk i proposed here (in resource_size()) to see which resource is causing the problem?
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Next

Return to grsecurity support