Re: WARNING in kmem_cache_alloc_trace

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

 



Hello,

syzbot tried to test the proposed patch but build/boot failed:

rs/staging/uwb/lc-dev.o
  CC      drivers/staging/uwb/lc-rc.o
  CC      drivers/staging/uwb/neh.o
  CC      drivers/video/fbdev/core/cfbfillrect.o
  AR      drivers/staging/wlan-ng/built-in.a
  CC      drivers/video/fbdev/core/cfbcopyarea.o
  AR      drivers/net/wireless/realtek/rtlwifi/rtl8723be/built-in.a
  CC      drivers/staging/rtl8712/rtl871x_ioctl_set.o
  CC      drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rf.o
  CC      drivers/staging/uwb/pal.o
  CC      drivers/gpu/drm/drm_agpsupport.o
  AR      drivers/usb/core/built-in.a
  CC      drivers/gpu/drm/drm_debugfs.o
  CC      drivers/staging/uwb/rsv.o
  CC      drivers/staging/uwb/scan.o
  CC      drivers/staging/uwb/radio.o
  CC      drivers/staging/uwb/reset.o
  CC      drivers/usb/dwc3/ulpi.o
  CC      drivers/staging/uwb/uwb-debug.o
  CC      drivers/gpu/drm/drm_debugfs_crc.o
  CC      drivers/gpu/drm/drm_mipi_dsi.o
  CC      drivers/staging/rtl8712/rtl8712_led.o
  CC      drivers/usb/dwc3/debugfs.o
  CC      drivers/staging/rtl8712/rtl871x_mlme.o
  AR      drivers/staging/wusbcore/host/whci/built-in.a
  AR      drivers/staging/wusbcore/host/built-in.a
  CC      drivers/staging/wusbcore/rh.o
  CC      drivers/staging/rtl8712/ieee80211.o
  CC      drivers/gpu/drm/i915/display/intel_ddi.o
  CC      drivers/gpu/drm/i915/display/intel_dp.o
  CC      drivers/net/wireless/realtek/rtlwifi/efuse.o
  CC      drivers/staging/rtl8712/rtl871x_mp_ioctl.o
  CC      drivers/net/wireless/realtek/rtlwifi/ps.o
  CC      drivers/staging/wusbcore/reservation.o
  CC      drivers/video/fbdev/core/cfbimgblt.o
  CC      drivers/video/fbdev/core/sysfillrect.o
  CC      drivers/gpu/drm/drm_panel_orientation_quirks.o
  CC      drivers/staging/uwb/uwbd.o
  CC      drivers/usb/dwc3/dwc3-pci.o
  CC      drivers/staging/rtl8712/rtl871x_mp.o
  CC      drivers/usb/early/ehci-dbgp.o
  CC      drivers/gpu/drm/i915/display/intel_dp_aux_backlight.o
  CC      drivers/net/wireless/realtek/rtlwifi/rc.o
  AR      drivers/usb/gadget/function/built-in.a
  CC      drivers/staging/uwb/umc-bus.o
  CC      drivers/net/wireless/realtek/rtlwifi/regd.o
  CC      drivers/usb/gadget/fuzzer/fuzzer.o
  CC      drivers/staging/wusbcore/security.o
  CC      drivers/usb/gadget/legacy/inode.o
  CC      drivers/video/fbdev/core/syscopyarea.o
  CC      drivers/staging/wusbcore/wa-hc.o
  CC      drivers/staging/wusbcore/wusbhc.o
  CC      drivers/staging/uwb/umc-dev.o
  CC      drivers/usb/host/pci-quirks.o
  CC      drivers/usb/gadget/udc/bdc/bdc_core.o
  CC      drivers/net/wireless/realtek/rtlwifi/stats.o
  CC      drivers/video/fbdev/core/sysimgblt.o
  CC      drivers/staging/uwb/umc-drv.o
  CC      drivers/usb/gadget/udc/core.o
  AR      drivers/usb/early/built-in.a
  CC      drivers/usb/gadget/udc/bdc/bdc_cmd.o
  CC      drivers/usb/gadget/udc/trace.o
  CC      drivers/usb/gadget/udc/dummy_hcd.o
  AR      drivers/usb/dwc2/built-in.a
  CC      drivers/usb/image/mdc800.o
  CC      drivers/usb/isp1760/isp1760-core.o
  CC      drivers/usb/isp1760/isp1760-if.o
  CC      drivers/staging/uwb/whci.o
  CC      drivers/usb/image/microtek.o
  CC      drivers/net/wireless/realtek/rtlwifi/pci.o
  CC      drivers/staging/rtl8712/mlme_linux.o
  CC      drivers/video/fbdev/core/fb_sys_fops.o
  CC      drivers/net/wireless/realtek/rtlwifi/usb.o
  CC      drivers/staging/rtl8712/recv_linux.o
  CC      drivers/staging/rtl8712/xmit_linux.o
  CC      drivers/staging/wusbcore/wa-nep.o
  CC      drivers/usb/gadget/udc/bdc/bdc_ep.o
  CC      drivers/gpu/drm/i915/display/intel_dp_link_training.o
  CC      drivers/usb/dwc3/dwc3-haps.o
  CC      drivers/usb/dwc3/dwc3-of-simple.o
  AR      drivers/usb/gadget/fuzzer/built-in.a
  CC      drivers/gpu/drm/i915/display/intel_dp_mst.o
  CC      drivers/usb/host/ehci-hcd.o
  CC      drivers/staging/uwb/whc-rc.o
  CC      drivers/gpu/drm/i915/display/intel_dsi.o
  AR      drivers/usb/gadget/legacy/built-in.a
  CC      drivers/staging/rtl8712/usb_intf.o
  CC      drivers/staging/wusbcore/wa-rpipe.o
  CC      drivers/gpu/drm/i915/display/intel_dsi_dcs_backlight.o
  CC      drivers/usb/host/ehci-pci.o
  CC      drivers/usb/gadget/udc/net2272.o
  AR      drivers/usb/image/built-in.a
  CC      drivers/usb/misc/sisusbvga/sisusb.o
  CC      drivers/staging/rtl8712/os_intfs.o
  CC      drivers/usb/misc/adutux.o
  CC      drivers/gpu/drm/i915/display/intel_dsi_vbt.o
  CC      drivers/usb/isp1760/isp1760-hcd.o
  CC      drivers/usb/gadget/udc/net2280.o
  CC      drivers/usb/gadget/udc/snps_udc_core.o
  AR      drivers/video/fbdev/core/built-in.a
  AR      drivers/video/fbdev/built-in.a
  CC      drivers/usb/gadget/udc/amd5536udc_pci.o
  AR      drivers/video/built-in.a
  AR      drivers/usb/dwc3/built-in.a
  CC      drivers/usb/gadget/udc/pxa27x_udc.o
  CC      drivers/staging/rtl8712/rtl871x_pwrctrl.o
  CC      drivers/usb/mon/mon_main.o
  CC      drivers/staging/rtl8712/rtl8712_recv.o
  CC      drivers/staging/uwb/hwa-rc.o
  CC      drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.o
  CC      drivers/gpu/drm/i915/display/intel_dvo.o
  CC      drivers/gpu/drm/i915/display/intel_gmbus.o
  CC      drivers/gpu/drm/i915/display/intel_hdmi.o
  CC      drivers/staging/wusbcore/wa-xfer.o
  CC      drivers/usb/mon/mon_stat.o
  CC      drivers/usb/host/ehci-platform.o
  CC      drivers/gpu/drm/i915/display/intel_lspcon.o
  CC      drivers/gpu/drm/i915/display/intel_lvds.o
  CC      drivers/usb/gadget/udc/goku_udc.o
  CC      drivers/usb/misc/appledisplay.o
  CC      drivers/staging/rtl8712/rtl871x_sta_mgt.o
  CC      drivers/staging/rtl8712/rtl871x_recv.o
  CC      drivers/gpu/drm/i915/display/intel_panel.o
  CC      drivers/net/wireless/realtek/rtlwifi/rtl8821ae/table.o
  CC      drivers/staging/rtl8712/rtl871x_xmit.o
  CC      drivers/usb/host/oxu210hp-hcd.o
  CC      drivers/gpu/drm/i915/display/intel_sdvo.o
  CC      drivers/usb/gadget/udc/bdc/bdc_udc.o
  AR      drivers/staging/uwb/built-in.a
  CC      drivers/usb/mon/mon_text.o
  CC      drivers/gpu/drm/i915/display/intel_tv.o
  CC      drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.o
  CC      drivers/staging/wusbcore/cbaf.o
  CC      drivers/usb/mon/mon_bin.o
  CC      drivers/gpu/drm/i915/display/intel_vdsc.o
  CC      drivers/usb/host/isp116x-hcd.o
  CC      drivers/usb/gadget/udc/bdc/bdc_pci.o
  AR      drivers/usb/misc/sisusbvga/built-in.a
  CC      drivers/staging/rtl8712/rtl8712_xmit.o
  CC      drivers/usb/misc/cypress_cy7c63.o
  CC      drivers/usb/isp1760/isp1760-udc.o
  CC      drivers/usb/host/ohci-hcd.o
  CC      drivers/gpu/drm/i915/display/vlv_dsi.o
  CC      drivers/gpu/drm/i915/display/vlv_dsi_pll.o
  CC      drivers/usb/host/ohci-pci.o
  CC      drivers/usb/gadget/udc/r8a66597-udc.o
  CC      drivers/usb/misc/cytherm.o
  CC      drivers/usb/gadget/udc/pch_udc.o
  AR      drivers/usb/gadget/udc/bdc/built-in.a
  CC      drivers/usb/musb/musb_core.o
  CC      drivers/usb/gadget/udc/mv_udc_core.o
  CC      drivers/gpu/drm/i915/i915_gpu_error.o
  CC      drivers/usb/host/ohci-platform.o
  CC      drivers/gpu/drm/i915/i915_vgpu.o
  CC      drivers/usb/musb/musb_trace.o
  CC      drivers/usb/host/uhci-hcd.o
  CC      drivers/usb/musb/musb_virthub.o
  CC      drivers/usb/host/xhci.o
  CC      drivers/usb/musb/musb_host.o
  CC      drivers/usb/misc/emi26.o
  CC      drivers/usb/misc/emi62.o
  AR      drivers/usb/mon/built-in.a
  CC      drivers/usb/host/xhci-mem.o
  AR      drivers/staging/rtl8712/built-in.a
  CC      drivers/usb/host/xhci-ext-caps.o
  CC      drivers/usb/host/xhci-ring.o
  CC      drivers/usb/phy/phy.o
  CC      drivers/usb/phy/of.o
  AR      drivers/usb/isp1760/built-in.a
  CC      drivers/usb/misc/ezusb.o
  CC      drivers/usb/phy/phy-generic.o
  CC      drivers/usb/phy/phy-tahvo.o
  CC      drivers/usb/host/xhci-hub.o
  CC      drivers/usb/host/xhci-dbg.o
  CC      drivers/usb/host/xhci-trace.o
  CC      drivers/usb/host/xhci-dbgcap.o
  CC      drivers/usb/phy/phy-gpio-vbus-usb.o
  CC      drivers/usb/phy/phy-isp1301.o
  AR      drivers/net/wireless/realtek/rtlwifi/rtl8821ae/built-in.a
  AR      drivers/net/wireless/realtek/rtlwifi/built-in.a
  CC      drivers/usb/host/xhci-dbgtty.o
  AR      drivers/net/wireless/realtek/built-in.a
  CC      drivers/usb/host/xhci-debugfs.o
  AR      drivers/net/wireless/built-in.a
  AR      drivers/staging/wusbcore/built-in.a
  CC      drivers/usb/gadget/udc/fotg210-udc.o
  CC      drivers/gpu/drm/i915/i915_perf.o
  AR      drivers/staging/built-in.a
  AR      drivers/net/built-in.a
  CC      drivers/usb/gadget/udc/mv_u3d_core.o
  CC      drivers/usb/host/xhci-pci.o
  CC      drivers/usb/misc/ftdi-elan.o
  CC      drivers/usb/gadget/udc/gr_udc.o
  CC      drivers/usb/gadget/udc/snps_udc_plat.o
  CC      drivers/usb/roles/class.o
  CC      drivers/usb/serial/usb-serial.o
  CC      drivers/usb/serial/generic.o
  CC      drivers/usb/misc/idmouse.o
  CC      drivers/usb/misc/iowarrior.o
  CC      drivers/usb/musb/musb_gadget_ep0.o
  AR      drivers/usb/phy/built-in.a
  CC      drivers/usb/storage/uas.o
  AR      drivers/usb/roles/built-in.a
  CC      drivers/gpu/drm/i915/i915_oa_hsw.o
  CC      drivers/usb/storage/scsiglue.o
  CC      drivers/usb/misc/isight_firmware.o
  CC      drivers/usb/misc/usblcd.o
  AR      drivers/usb/typec/altmodes/built-in.a
  CC      drivers/usb/serial/bus.o
  CC      drivers/usb/serial/aircable.o
  AR      drivers/usb/typec/mux/built-in.a
  CC      drivers/usb/musb/musb_gadget.o
  CC      drivers/usb/musb/musb_debugfs.o
  CC      drivers/usb/typec/tcpm/tcpm.o
  CC      drivers/usb/host/xhci-plat.o
  CC      drivers/usb/storage/protocol.o
  CC      drivers/usb/misc/ldusb.o
  CC      drivers/usb/typec/tcpm/fusb302.o
  CC      drivers/gpu/drm/i915/i915_oa_bdw.o
  CC      drivers/gpu/drm/i915/i915_oa_chv.o
  CC      drivers/usb/host/sl811-hcd.o
  CC      drivers/usb/typec/ucsi/ucsi.o
  CC      drivers/usb/host/sl811_cs.o
  CC      drivers/usb/typec/ucsi/trace.o
  CC      drivers/usb/misc/legousbtower.o
  CC      drivers/usb/host/u132-hcd.o
  CC      drivers/usb/misc/rio500.o
  CC      drivers/usb/host/r8a66597-hcd.o
  CC      drivers/gpu/drm/i915/i915_oa_sklgt2.o
  CC      drivers/usb/usbip/usbip_common.o
  CC      drivers/usb/host/bcma-hcd.o
  CC      drivers/usb/serial/ark3116.o
  AR      drivers/usb/gadget/udc/built-in.a
  AR      drivers/usb/gadget/built-in.a
  CC      drivers/usb/typec/class.o
  CC      drivers/gpu/drm/i915/i915_oa_sklgt3.o
  CC      drivers/usb/usbip/usbip_event.o
  CC      drivers/usb/typec/ucsi/ucsi_acpi.o
  CC      drivers/usb/typec/mux.o
  CC      drivers/usb/host/ssb-hcd.o
  CC      drivers/usb/misc/usbtest.o
  CC      drivers/usb/misc/ehset.o
  CC      drivers/usb/serial/belkin_sa.o
  CC      drivers/usb/typec/tcpm/tcpci.o
  CC      drivers/usb/storage/transport.o
  CC      drivers/usb/serial/ch341.o
  CC      drivers/usb/serial/cp210x.o
  CC      drivers/usb/misc/trancevibrator.o
  CC      drivers/usb/typec/bus.o
  CC      drivers/usb/host/fotg210-hcd.o
  CC      drivers/usb/serial/cyberjack.o
  CC      drivers/usb/typec/tps6598x.o
  CC      drivers/usb/misc/uss720.o
  CC      drivers/usb/misc/usbsevseg.o
  CC      drivers/usb/misc/yurex.o
  CC      drivers/usb/storage/usb.o
  CC      drivers/usb/usbip/vhci_sysfs.o
  CC      drivers/usb/usbip/vhci_tx.o
  CC      drivers/usb/misc/usb251xb.o
  CC      drivers/usb/serial/cypress_m8.o
  AR      drivers/usb/musb/built-in.a
  AR      drivers/usb/typec/ucsi/built-in.a
  CC      drivers/gpu/drm/i915/i915_oa_sklgt4.o
  CC      drivers/usb/storage/initializers.o
  CC      drivers/usb/serial/usb_debug.o
  CC      drivers/usb/serial/digi_acceleport.o
  CC      drivers/usb/serial/io_edgeport.o
  CC      drivers/gpu/drm/i915/i915_oa_bxt.o
  CC      drivers/usb/usbip/vhci_rx.o
drivers/usb/misc/yurex.c: In function ‘yurex_write’:
drivers/usb/misc/yurex.c:494:12: error: implicit declaration of function ‘wait_for_completion_interruptible__timeout’; did you mean ‘wait_for_completion_interruptible_timeout’? [-Werror=implicit-function-declaration] 494 | timeout = wait_for_completion_interruptible__timeout(&dev->cntl_cpl, YUREX_WRITE_TIMEOUT);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |            wait_for_completion_interruptible_timeout
  CC      drivers/usb/misc/usb4604.o
  CC      drivers/usb/storage/sierra_ms.o
  CC      drivers/usb/misc/usb3503.o
  CC      drivers/usb/misc/chaoskey.o
  CC      drivers/usb/storage/option_ms.o
  CC      drivers/usb/misc/lvstest.o
  CC      drivers/usb/serial/io_ti.o
  CC      drivers/gpu/drm/i915/i915_oa_kblgt2.o
cc1: some warnings being treated as errors
scripts/Makefile.build:280: recipe for target 'drivers/usb/misc/yurex.o' failed
make[3]: *** [drivers/usb/misc/yurex.o] Error 1
make[3]: *** Waiting for unfinished jobs....
  CC      drivers/usb/host/max3421-hcd.o
  CC      drivers/usb/usbip/vhci_hcd.o
  CC      drivers/gpu/drm/i915/i915_oa_kblgt3.o
  CC      drivers/usb/storage/usual-tables.o
  CC      drivers/usb/serial/empeg.o
  CC      drivers/usb/serial/f81232.o
  CC      drivers/usb/usbip/stub_dev.o
  CC      drivers/usb/storage/alauda.o
  CC      drivers/usb/serial/f81534.o
  CC      drivers/usb/serial/ftdi_sio.o
  CC      drivers/usb/usbip/stub_main.o
  CC      drivers/gpu/drm/i915/i915_oa_glk.o
  CC      drivers/usb/storage/cypress_atacb.o
  CC      drivers/usb/storage/datafab.o
  CC      drivers/usb/usbip/stub_rx.o
  CC      drivers/usb/usbip/stub_tx.o
  CC      drivers/usb/serial/garmin_gps.o
  CC      drivers/usb/storage/ene_ub6250.o
  CC      drivers/usb/storage/freecom.o
  CC      drivers/usb/usbip/vudc_dev.o
  CC      drivers/usb/usbip/vudc_sysfs.o
  CC      drivers/gpu/drm/i915/i915_oa_cflgt2.o
  CC      drivers/usb/usbip/vudc_tx.o
  CC      drivers/usb/serial/ipaq.o
  CC      drivers/usb/usbip/vudc_rx.o
  CC      drivers/usb/serial/ipw.o
  CC      drivers/gpu/drm/i915/i915_oa_cflgt3.o
  CC      drivers/gpu/drm/i915/i915_oa_cnl.o
  CC      drivers/gpu/drm/i915/i915_oa_icl.o
  CC      drivers/usb/storage/isd200.o
  CC      drivers/usb/usbip/vudc_transfer.o
  CC      drivers/usb/serial/ir-usb.o
  CC      drivers/usb/serial/iuu_phoenix.o
  CC      drivers/usb/usbip/vudc_main.o
  CC      drivers/usb/storage/jumpshot.o
  CC      drivers/usb/serial/keyspan.o
  CC      drivers/usb/storage/karma.o
  CC      drivers/usb/storage/onetouch.o
scripts/Makefile.build:497: recipe for target 'drivers/usb/misc' failed
make[2]: *** [drivers/usb/misc] Error 2
make[2]: *** Waiting for unfinished jobs....
  CC      drivers/usb/storage/realtek_cr.o
  CC      drivers/usb/storage/sddr09.o
  CC      drivers/usb/serial/keyspan_pda.o
  CC      drivers/usb/serial/kl5kusb105.o
  CC      drivers/usb/storage/sddr55.o
  CC      drivers/usb/storage/shuttle_usbat.o
  CC      drivers/usb/serial/kobil_sct.o
  CC      drivers/usb/serial/mct_u232.o
  CC      drivers/usb/serial/metro-usb.o
  CC      drivers/usb/serial/mos7720.o
  CC      drivers/usb/serial/mos7840.o
  CC      drivers/usb/serial/navman.o
  CC      drivers/usb/serial/mxuport.o
  CC      drivers/usb/serial/omninet.o
  CC      drivers/usb/serial/opticon.o
  CC      drivers/usb/serial/option.o
  CC      drivers/usb/serial/pl2303.o
  CC      drivers/usb/serial/oti6858.o
  CC      drivers/usb/serial/qcaux.o
  CC      drivers/usb/serial/qcserial.o
  CC      drivers/usb/serial/quatech2.o
  AR      drivers/usb/usbip/built-in.a
  CC      drivers/usb/serial/safe_serial.o
  CC      drivers/usb/serial/sierra.o
  CC      drivers/usb/serial/usb-serial-simple.o
  AR      drivers/gpu/drm/i915/built-in.a
  CC      drivers/usb/serial/spcp8x5.o
  CC      drivers/usb/serial/ssu100.o
  AR      drivers/gpu/drm/built-in.a
  CC      drivers/usb/serial/symbolserial.o
  CC      drivers/usb/serial/usb_wwan.o
  AR      drivers/gpu/built-in.a
  CC      drivers/usb/serial/ti_usb_3410_5052.o
  CC      drivers/usb/serial/upd78f0730.o
  CC      drivers/usb/serial/visor.o
  CC      drivers/usb/serial/wishbone-serial.o
  AR      drivers/usb/typec/tcpm/built-in.a
  AR      drivers/usb/typec/built-in.a
  CC      drivers/usb/serial/whiteheat.o
  CC      drivers/usb/serial/xsens_mt.o
  AR      drivers/usb/host/built-in.a
  AR      drivers/usb/storage/built-in.a
  AR      drivers/usb/serial/built-in.a
scripts/Makefile.build:497: recipe for target 'drivers/usb' failed
make[1]: *** [drivers/usb] Error 2
Makefile:1083: recipe for target 'drivers' failed
make: *** [drivers] Error 2


Error text is too large and was truncated, full error text is at:
https://syzkaller.appspot.com/x/error.txt?x=16c198bc600000


Tested on:

commit:         d0847550 usb-fuzzer: main usb gadget fuzzer driver
git tree:       https://github.com/google/kasan.git
compiler:       gcc (GCC) 9.0.0 20181231 (experimental)
patch:          https://syzkaller.appspot.com/x/patch.diff?x=17e0cb4a600000





[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux