Buildresult: powerpc-next/ppc44x_defconfig/powerpc-gcc8 built on Jun 8 2019, 02:25
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Jun 8 2019, 02:25
Duration:
0:00:58.136046
Builder:
ka3
Revision:
powerpc/pseries/hvconsole: Fix stack overread via udbg (
6754297c2924cd55843499bc2bb338843177931f)
Target:
powerpc-next/ppc44x_defconfig/powerpc-gcc8
Branch:
powerpc-next
Compiler:
powerpc-gcc8
(powerpc64-linux-gcc (GCC) 8.1.0 / GNU ld (GNU Binutils) 2.30)
Config:
ppc44x_defconfig
(
download
)
Log:
Download original
Possible warnings (6)
arch/powerpc/boot/dts/virtex440-ml510.dts:335.37-439.6: Warning (pci_bridge): /plb@0/plbv46-pci@85e00000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/virtex440-ml510.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/katmai.dts:322.26-361.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dts:363.26-402.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dts:404.26-443.5: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge'
Full Log
# git rev-parse -q --verify 6754297c2924cd55843499bc2bb338843177931f^{commit} 6754297c2924cd55843499bc2bb338843177931f already have revision, skipping fetch # git checkout -q -f -B kisskb 6754297c2924cd55843499bc2bb338843177931f # git clean -qxdf # < git log -1 # commit 6754297c2924cd55843499bc2bb338843177931f # Author: Daniel Axtens <dja@axtens.net> # Date: Mon Jun 3 16:56:57 2019 +1000 # # powerpc/pseries/hvconsole: Fix stack overread via udbg # # While developing KASAN for 64-bit book3s, I hit the following stack # over-read. # # It occurs because the hypercall to put characters onto the terminal # takes 2 longs (128 bits/16 bytes) of characters at a time, and so # hvc_put_chars() would unconditionally copy 16 bytes from the argument # buffer, regardless of supplied length. However, udbg_hvc_putc() can # call hvc_put_chars() with a single-byte buffer, leading to the error. # # ================================================================== # BUG: KASAN: stack-out-of-bounds in hvc_put_chars+0xdc/0x110 # Read of size 8 at addr c0000000023e7a90 by task swapper/0 # # CPU: 0 PID: 0 Comm: swapper Not tainted 5.2.0-rc2-next-20190528-02824-g048a6ab4835b #113 # Call Trace: # dump_stack+0x104/0x154 (unreliable) # print_address_description+0xa0/0x30c # __kasan_report+0x20c/0x224 # kasan_report+0x18/0x30 # __asan_report_load8_noabort+0x24/0x40 # hvc_put_chars+0xdc/0x110 # hvterm_raw_put_chars+0x9c/0x110 # udbg_hvc_putc+0x154/0x200 # udbg_write+0xf0/0x240 # console_unlock+0x868/0xd30 # register_console+0x970/0xe90 # register_early_udbg_console+0xf8/0x114 # setup_arch+0x108/0x790 # start_kernel+0x104/0x784 # start_here_common+0x1c/0x534 # # Memory state around the buggy address: # c0000000023e7980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # c0000000023e7a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 # >c0000000023e7a80: f1 f1 01 f2 f2 f2 00 00 00 00 00 00 00 00 00 00 # ^ # c0000000023e7b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # c0000000023e7b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # ================================================================== # # Document that a 16-byte buffer is requred, and provide it in udbg. # # Signed-off-by: Daniel Axtens <dja@axtens.net> # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 6754297c2924cd55843499bc2bb338843177931f # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc44x_defconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/boot/dts/virtex440-ml510.dts:335.37-439.6: Warning (pci_bridge): /plb@0/plbv46-pci@85e00000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/virtex440-ml510.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/katmai.dts:322.26-361.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:363.26-402.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:404.26-443.5: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' INFO: Uncompressed kernel (size 0x5d1968) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5d1968) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5d1968) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5d1968) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5d1968) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5d1968) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5d1968) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5d1968) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5d1968) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5d1968) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5d1968) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5c1250) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.2.0-rc2-g6754297c2924 Created: Sat Jun 8 02:26:48 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2914241 Bytes = 2845.94 KiB = 2.78 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.2.0-rc2-g6754297c2924 Created: Sat Jun 8 02:26:48 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2948162 Bytes = 2879.06 KiB = 2.81 MiB Load Address: 00600000 Entry Point: 006015a4 Image Name: Linux-5.2.0-rc2-g6754297c2924 Created: Sat Jun 8 02:26:48 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2948556 Bytes = 2879.45 KiB = 2.81 MiB Load Address: 00600000 Entry Point: 006000c4 Image Name: Linux-5.2.0-rc2-g6754297c2924 Created: Sat Jun 8 02:26:48 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2947396 Bytes = 2878.32 KiB = 2.81 MiB Load Address: 00600000 Entry Point: 006015ac Image Name: Linux-5.2.0-rc2-g6754297c2924 Created: Sat Jun 8 02:26:48 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2947800 Bytes = 2878.71 KiB = 2.81 MiB Load Address: 00600000 Entry Point: 006015ac Image Name: Linux-5.2.0-rc2-g6754297c2924 Created: Sat Jun 8 02:26:48 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2947616 Bytes = 2878.53 KiB = 2.81 MiB Load Address: 00600000 Entry Point: 006001b8 Image Name: Linux-5.2.0-rc2-g6754297c2924 Created: Sat Jun 8 02:26:48 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2947741 Bytes = 2878.65 KiB = 2.81 MiB Load Address: 00600000 Entry Point: 006015bc Image Name: Linux-5.2.0-rc2-g6754297c2924 Created: Sat Jun 8 02:26:48 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2948327 Bytes = 2879.23 KiB = 2.81 MiB Load Address: 00600000 Entry Point: 0060158c Image Name: Linux-5.2.0-rc2-g6754297c2924 Created: Sat Jun 8 02:26:48 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2947699 Bytes = 2878.61 KiB = 2.81 MiB Load Address: 00600000 Entry Point: 0060159c Image Name: Linux-5.2.0-rc2-g6754297c2924 Created: Sat Jun 8 02:26:48 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2948320 Bytes = 2879.22 KiB = 2.81 MiB Load Address: 00600000 Entry Point: 006015ac Completed OK # rm -rf /kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc8 # Build took: 0:00:58.136046
© Michael Ellerman 2006-2018.