lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170314141422.GE2418@lianli.shorne-pla.net>
Date:   Tue, 14 Mar 2017 23:14:22 +0900
From:   Stafford Horne <shorne@...il.com>
To:     Andy Lutomirski <luto@...capital.net>
Cc:     kbuild test robot <fengguang.wu@...el.com>,
        Jonas Bonn <jonas@...thpole.se>,
        Stefan Kristiansson <stefan.kristiansson@...nalahti.fi>,
        Andy Lutomirski <luto@...nel.org>, kbuild-all@...org,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: Re: ERROR: "empty_zero_page" [drivers/usb/wusbcore/wusbcore.ko]
 undefined!

(Resending this to all since somehow I only sent to Andy originally)

On Fri, Mar 10, 2017 at 10:20:39AM -0800, Andy Lutomirski wrote:
> On Thu, Mar 9, 2017 at 7:54 PM, kbuild test robot
> <fengguang.wu@...el.com> wrote:
> > Hi Andy,
> >
> > First bad commit (maybe != root cause):
> >
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head:   c1aa905a304e4b5e6a3fe112ec62d9c1c7b0c155
> > commit: 620f1a632ebcc9811c2f8009ba52297c7006f805 wusbcore: Fix one more crypto-on-the-stack bug
> > date:   8 weeks ago
> > config: openrisc-allmodconfig (attached as .config)
> > compiler: or1k-linux-gcc (GCC) 5.4.0
> > reproduce:
> >         wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> >         chmod +x ~/bin/make.cross
> >         git checkout 620f1a632ebcc9811c2f8009ba52297c7006f805
> >         # save the attached .config to linux build tree
> >         make.cross ARCH=openrisc
> 
> Looks like openrisc is missing a few exports.  I don't feel too bad
> since the kernel clearly didn't compile since my change appears to
> have merely increased the (large) number of errors by one.
> 
> Openrisc folks, want to fix this?

Thanks for looking at it.  I saw this yesterday too and am looking at
fixing it.  I dont usually do an allmodconfig test, and haven't seen
most of these before.

I have looked into these and fixed, will send patches soon.

>From below we have

  __ioremap - already fixed during last merge window
  iounmap - already fixed during last merge window

  empty_zero_page - asm symbol, need to export
    pm_power_off - need to export
  __ucmpdi2 - gcc builtin, to export
  __clear_user - asm symbol, need to export
  __get_user_bad - this is a get_user bug

> >
> > All errors (new ones prefixed by >>):
> >
> >    ERROR: "empty_zero_page" [net/ceph/libceph.ko] undefined!
> >    ERROR: "__ucmpdi2" [lib/842/842_decompress.ko] undefined!
> >    ERROR: "__ioremap" [fs/pstore/ramoops.ko] undefined!
> >    ERROR: "iounmap" [fs/pstore/ramoops.ko] undefined!
> >    ERROR: "empty_zero_page" [fs/nfs/objlayout/objlayoutdriver.ko] undefined!
> >    ERROR: "empty_zero_page" [fs/exofs/exofs.ko] undefined!
> >    ERROR: "empty_zero_page" [fs/crypto/fscrypto.ko] undefined!
> >    ERROR: "__ucmpdi2" [fs/btrfs/btrfs.ko] undefined!
> >    ERROR: "__ioremap" [drivers/video/fbdev/uvesafb.ko] undefined!
> >    ERROR: "iounmap" [drivers/video/fbdev/uvesafb.ko] undefined!
> >    ERROR: "__ioremap" [drivers/video/fbdev/tmiofb.ko] undefined!
> >    ERROR: "iounmap" [drivers/video/fbdev/tmiofb.ko] undefined!
> >    ERROR: "__ioremap" [drivers/video/fbdev/sm501fb.ko] undefined!
> >    ERROR: "iounmap" [drivers/video/fbdev/sm501fb.ko] undefined!
> >    ERROR: "__ioremap" [drivers/video/fbdev/s1d13xxxfb.ko] undefined!
> >    ERROR: "iounmap" [drivers/video/fbdev/s1d13xxxfb.ko] undefined!
> >    ERROR: "__ioremap" [drivers/video/fbdev/goldfishfb.ko] undefined!
> >    ERROR: "iounmap" [drivers/video/fbdev/goldfishfb.ko] undefined!
> >>> ERROR: "empty_zero_page" [drivers/usb/wusbcore/wusbcore.ko] undefined!
> >    ERROR: "__ioremap" [drivers/usb/musb/tusb6010.ko] undefined!
> >    ERROR: "iounmap" [drivers/usb/musb/tusb6010.ko] undefined!
> >    ERROR: "__ioremap" [drivers/usb/host/xhci-plat-hcd.ko] undefined!
> >    ERROR: "iounmap" [drivers/usb/host/xhci-plat-hcd.ko] undefined!
> >    ERROR: "__ioremap" [drivers/usb/host/sl811-hcd.ko] undefined!
> >    ERROR: "iounmap" [drivers/usb/host/sl811-hcd.ko] undefined!
> >    ERROR: "__ioremap" [drivers/usb/host/r8a66597-hcd.ko] undefined!
> >    ERROR: "iounmap" [drivers/usb/host/r8a66597-hcd.ko] undefined!
> >    ERROR: "__ioremap" [drivers/usb/host/isp116x-hcd.ko] undefined!
> >    ERROR: "iounmap" [drivers/usb/host/isp116x-hcd.ko] undefined!
> >    ERROR: "__ioremap" [drivers/usb/gadget/udc/net2272.ko] undefined!
> >    ERROR: "iounmap" [drivers/usb/gadget/udc/net2272.ko] undefined!
> >    ERROR: "__ioremap" [drivers/usb/gadget/udc/mv_u3d_core.ko] undefined!
> >    ERROR: "iounmap" [drivers/usb/gadget/udc/mv_u3d_core.ko] undefined!
> >    ERROR: "iounmap" [drivers/usb/gadget/udc/m66592-udc.ko] undefined!
> >    ERROR: "__ioremap" [drivers/usb/gadget/udc/m66592-udc.ko] undefined!
> >    ERROR: "__ioremap" [drivers/usb/gadget/udc/fusb300_udc.ko] undefined!
> >    ERROR: "iounmap" [drivers/usb/gadget/udc/fusb300_udc.ko] undefined!
> >    ERROR: "__ioremap" [drivers/usb/gadget/udc/fotg210-udc.ko] undefined!
> >    ERROR: "iounmap" [drivers/usb/gadget/udc/fotg210-udc.ko] undefined!
> >    ERROR: "__ioremap" [drivers/usb/c67x00/c67x00.ko] undefined!
> >    ERROR: "iounmap" [drivers/usb/c67x00/c67x00.ko] undefined!
> >    ERROR: "__ioremap" [drivers/uio/uio_pruss.ko] undefined!
> >    ERROR: "iounmap" [drivers/uio/uio_pruss.ko] undefined!
> >    ERROR: "iounmap" [drivers/tty/serial/xilinx_uartps.ko] undefined!
> >    ERROR: "__ioremap" [drivers/tty/serial/xilinx_uartps.ko] undefined!
> >    ERROR: "iounmap" [drivers/tty/serial/uartlite.ko] undefined!
> >    ERROR: "__ioremap" [drivers/tty/serial/uartlite.ko] undefined!
> >    ERROR: "iounmap" [drivers/tty/serial/timbuart.ko] undefined!
> >    ERROR: "__ioremap" [drivers/tty/serial/timbuart.ko] undefined!
> >    ERROR: "iounmap" [drivers/tty/serial/sh-sci.ko] undefined!
> >    ERROR: "__ioremap" [drivers/tty/serial/sh-sci.ko] undefined!
> >    ERROR: "__ioremap" [drivers/tty/serial/mxs-auart.ko] undefined!
> >    ERROR: "iounmap" [drivers/tty/serial/men_z135_uart.ko] undefined!
> >    ERROR: "__ioremap" [drivers/tty/serial/men_z135_uart.ko] undefined!
> >    ERROR: "__ioremap" [drivers/tty/serial/altera_uart.ko] undefined!
> >    ERROR: "__ioremap" [drivers/tty/serial/altera_jtaguart.ko] undefined!
> >    ERROR: "__ioremap" [drivers/tty/serial/8250/8250_base.ko] undefined!
> >    ERROR: "iounmap" [drivers/tty/serial/8250/8250_base.ko] undefined!
> >    ERROR: "iounmap" [drivers/thermal/qoriq_thermal.ko] undefined!
> >    ERROR: "iounmap" [drivers/thermal/qcom/qcom_tsens.ko] undefined!
> >    ERROR: "__ioremap" [drivers/staging/comedi/drivers/ii_pci20kc.ko] undefined!
> >    ERROR: "iounmap" [drivers/staging/comedi/drivers/ii_pci20kc.ko] undefined!
> >    ERROR: "__ioremap" [drivers/ssb/ssb.ko] undefined!
> >    ERROR: "iounmap" [drivers/ssb/ssb.ko] undefined!
> >    ERROR: "__ioremap" [drivers/rtc/rtc-v3020.ko] undefined!
> >    ERROR: "iounmap" [drivers/rtc/rtc-v3020.ko] undefined!
> >    ERROR: "pm_power_off" [drivers/regulator/act8865-regulator.ko] undefined!
> >    ERROR: "iounmap" [drivers/power/reset/zx-reboot.ko] undefined!
> >    ERROR: "iounmap" [drivers/power/reset/rmobile-reset.ko] undefined!
> >    ERROR: "__ioremap" [drivers/parport/parport_ax88796.ko] undefined!
> >    ERROR: "iounmap" [drivers/parport/parport_ax88796.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/wireless/ath/wcn36xx/wcn36xx.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/phy/mdio-mux-mmioreg.ko] undefined!
> >    ERROR: "__ioremap" [drivers/net/phy/mdio-mux-mmioreg.ko] undefined!
> >    ERROR: "__ioremap" [drivers/net/ethernet/via/via-velocity.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/ethernet/via/via-velocity.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/ethernet/via/via-rhine.ko] undefined!
> >    ERROR: "__ioremap" [drivers/net/ethernet/qualcomm/emac/qcom-emac.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/ethernet/qualcomm/emac/qcom-emac.ko] undefined!
> >    ERROR: "__ioremap" [drivers/net/ethernet/micrel/ks8842.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/ethernet/micrel/ks8842.ko] undefined!
> >    ERROR: "__ioremap" [drivers/net/ethernet/marvell/mv643xx_eth.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/ethernet/marvell/mv643xx_eth.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/ethernet/freescale/xgmac_mdio.ko] undefined!
> >    ERROR: "__ioremap" [drivers/net/ethernet/freescale/gianfar_ptp.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/ethernet/freescale/gianfar_ptp.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/ethernet/freescale/gianfar_driver.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/ethernet/freescale/fsl_pq_mdio.ko] undefined!
> >    ERROR: "__ioremap" [drivers/net/ethernet/freescale/fman/fsl_fman.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/ethernet/freescale/fman/fsl_fman.ko] undefined!
> >    ERROR: "__ioremap" [drivers/net/ethernet/calxeda/xgmac.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/ethernet/calxeda/xgmac.ko] undefined!
> >    ERROR: "__ioremap" [drivers/net/can/softing/softing.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/can/softing/softing.ko] undefined!
> >    ERROR: "__ioremap" [drivers/net/can/sja1000/sja1000_isa.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/can/sja1000/sja1000_isa.ko] undefined!
> >    ERROR: "__ioremap" [drivers/net/can/cc770/cc770_platform.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/can/cc770/cc770_platform.ko] undefined!
> >    ERROR: "__ioremap" [drivers/net/can/cc770/cc770_isa.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/can/cc770/cc770_isa.ko] undefined!
> >    ERROR: "__ioremap" [drivers/net/can/at91_can.ko] undefined!
> >    ERROR: "iounmap" [drivers/net/can/at91_can.ko] undefined!
> >    ERROR: "__ioremap" [drivers/mtd/spi-nor/fsl-quadspi.ko] undefined!
> >    ERROR: "iounmap" [drivers/mtd/spi-nor/fsl-quadspi.ko] undefined!
> >    ERROR: "__ioremap" [drivers/mtd/onenand/generic.ko] undefined!
> >    ERROR: "iounmap" [drivers/mtd/onenand/generic.ko] undefined!
> >    ERROR: "__ioremap" [drivers/mtd/nand/docg4.ko] undefined!
> >    ERROR: "iounmap" [drivers/mtd/nand/docg4.ko] undefined!
> >    ERROR: "iounmap" [drivers/mtd/nand/diskonchip.ko] undefined!
> >    ERROR: "__ioremap" [drivers/mtd/nand/diskonchip.ko] undefined!
> >    ERROR: "iounmap" [drivers/mtd/maps/ts5500_flash.ko] undefined!
> >    ERROR: "__ioremap" [drivers/mtd/maps/ts5500_flash.ko] undefined!
> >    ERROR: "iounmap" [drivers/mtd/maps/sc520cdp.ko] undefined!
> >    ERROR: "__ioremap" [drivers/mtd/maps/sc520cdp.ko] undefined!
> >    ERROR: "__ioremap" [drivers/mtd/maps/plat-ram.ko] undefined!
> >    ERROR: "iounmap" [drivers/mtd/maps/plat-ram.ko] undefined!
> >    ERROR: "iounmap" [drivers/mtd/maps/physmap_of_versatile.ko] undefined!
> >    ERROR: "__ioremap" [drivers/mtd/maps/physmap_of.ko] undefined!
> >    ERROR: "iounmap" [drivers/mtd/maps/physmap_of.ko] undefined!
> >
> > ---
> > 0-DAY kernel test infrastructure                Open Source Technology Center
> > https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
> 
> 
> 
> -- 
> Andy Lutomirski
> AMA Capital Management, LLC

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ