ci2 starts bisection 2024-02-20 18:41:41.334099936 +0000 UTC m=+109177.160466558 bisecting fixing commit since 6139f2a02fe0ac7a08389b4eb786e0c659039ddd building syzkaller on 578f753887693e1375d17cf79dc1c575f6032a5d ensuring issue is reproducible on original commit 6139f2a02fe0ac7a08389b4eb786e0c659039ddd testing commit 6139f2a02fe0ac7a08389b4eb786e0c659039ddd gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 420511dfb2718579d0e0f3afe4349d2c92510841fb5c6cebd84d1ff399f5c050 all runs: crashed: WARNING in iomap_page_release representative crash: WARNING in iomap_page_release, types: [WARNING] check whether we can drop unnecessary instrumentation disabling configs for [LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit 6139f2a02fe0ac7a08389b4eb786e0c659039ddd gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c3cb4425bd8296aedf06e769b3e2e898c68f398d9af766eb7e416565bf7dcfa5 all runs: crashed: WARNING in iomap_page_release representative crash: WARNING in iomap_page_release, types: [WARNING] the bug reproduces without the instrumentation disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed kconfig minimization: base=3703 full=7266 leaves diff=1981 split chunks (needed=false): <1981> split chunk #0 of len 1981 into 5 parts testing without sub-chunk 1/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 6139f2a02fe0ac7a08389b4eb786e0c659039ddd gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 431b4ba8696e592ffe1faf492df10ff1c3107cc2b85ad1ac026a7d3328aa2722 all runs: crashed: WARNING in iomap_page_release representative crash: WARNING in iomap_page_release, types: [WARNING] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 6139f2a02fe0ac7a08389b4eb786e0c659039ddd gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3fb5409bb7baaa4a3814258f9a3dfa499183394694c2cf965a9174ae89d5cfb8 all runs: crashed: WARNING in iomap_page_release representative crash: WARNING in iomap_page_release, types: [WARNING] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG], they are not needed testing commit 6139f2a02fe0ac7a08389b4eb786e0c659039ddd gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 59a81628a09c51e493d231e65930bd5f13356fc745522e58062653638ab0d02c all runs: crashed: WARNING in iomap_page_release representative crash: WARNING in iomap_page_release, types: [WARNING] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 6139f2a02fe0ac7a08389b4eb786e0c659039ddd gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7317bf8a687e19e5e0b989de6977e63af267f424c2f6dc65801e141aeb7f0e72 all runs: crashed: WARNING in iomap_page_release representative crash: WARNING in iomap_page_release, types: [WARNING] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [UBSAN KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 6139f2a02fe0ac7a08389b4eb786e0c659039ddd gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f86404c13e6271bf1d50214f2feb668b8ec78997955a10416ea4bd8569dc4ee3 all runs: OK false negative chance: 0.000 minimized to 393 configs; suspects: [ARCH_ENABLE_MEMORY_HOTREMOVE ATM BCMA BLK_DEV_ZONED BPF_SYSCALL CARDBUS CFG80211 CFG80211_WEXT CMA CONTIG_ALLOC CRYPTO_842 CRYPTO_LZ4 CRYPTO_LZ4HC CRYPTO_LZO CRYPTO_ZSTD DVB_CORE EXTCON FB FRONTSWAP GPIOLIB HID_ZEROPLUS I2C_MUX IIO IRQ_REMAP LIBNVDIMM MEDIA_ANALOG_TV_SUPPORT MEDIA_CAMERA_SUPPORT MEDIA_CEC_SUPPORT MEDIA_CONTROLLER MEDIA_DIGITAL_TV_SUPPORT MEDIA_RADIO_SUPPORT MEDIA_SDR_SUPPORT MEDIA_SUPPORT MEDIA_TEST_SUPPORT MEDIA_USB_SUPPORT MEMORY_HOTPLUG MEMORY_HOTPLUG_SPARSE MEMORY_HOTREMOVE MFD_VIPERBOARD PARPORT PCCARD PCMCIA PHONET RADIO_ADAPTERS RADIO_SI470X RADIO_SI4713 RC_CORE RFKILL SND SOUND SPI SSB TAP TUN USB_AMD5536UDC USB_ATM USB_CONFIGFS USB_CONFIGFS_F_UAC1_LEGACY USB_CONFIGFS_F_UAC2 USB_CONFIGFS_F_UVC USB_CONFIGFS_MASS_STORAGE USB_CONFIGFS_NCM USB_CONFIGFS_OBEX USB_CONFIGFS_PHONET USB_CONFIGFS_RNDIS USB_CONFIGFS_SERIAL USB_CXACRU USB_CYPRESS_CY7C63 USB_CYTHERM USB_DSBR USB_DUMMY_HCD USB_DWC2 USB_DWC2_HOST USB_DWC2_PCI USB_DWC3 USB_DWC3_GADGET USB_DWC3_OF_SIMPLE USB_DWC3_PCI USB_DWC3_ULPI USB_DYNAMIC_MINORS USB_EG20T USB_EHCI_HCD_PLATFORM USB_EHCI_ROOT_HUB_TT USB_EHSET_TEST_FIXTURE USB_EMI26 USB_EMI62 USB_EPSON2888 USB_EZUSB_FX2 USB_FEW_INIT_RETRIES USB_FOTG210_HCD USB_FOTG210_UDC USB_FTDI_ELAN USB_F_ACM USB_F_ECM USB_F_EEM USB_F_FS USB_F_HID USB_F_MASS_STORAGE USB_F_MIDI USB_F_NCM USB_F_OBEX USB_F_PHONET USB_F_PRINTER USB_F_RNDIS USB_F_SERIAL USB_F_SS_LB USB_F_SUBSET USB_F_TCM USB_F_UAC1 USB_F_UAC1_LEGACY USB_F_UAC2 USB_F_UVC USB_GADGET USB_GADGETFS USB_GADGET_DEBUG_FILES USB_GADGET_DEBUG_FS USB_GL860 USB_GOKU USB_GPIO_VBUS USB_GR_UDC USB_GSPCA USB_GSPCA_BENQ USB_GSPCA_CONEX USB_GSPCA_CPIA1 USB_GSPCA_DTCS033 USB_GSPCA_ETOMS USB_GSPCA_FINEPIX USB_GSPCA_JEILINJ USB_GSPCA_JL2005BCD USB_GSPCA_KINECT USB_GSPCA_KONICA USB_GSPCA_MARS USB_GSPCA_MR97310A USB_GSPCA_NW80X USB_GSPCA_OV519 USB_GSPCA_OV534 USB_GSPCA_OV534_9 USB_GSPCA_PAC207 USB_GSPCA_PAC7302 USB_GSPCA_PAC7311 USB_GSPCA_SE401 USB_GSPCA_SN9C2028 USB_GSPCA_SN9C20X USB_GSPCA_SONIXB USB_GSPCA_SONIXJ USB_GSPCA_SPCA1528 USB_GSPCA_SPCA500 USB_GSPCA_SPCA501 USB_GSPCA_SPCA505 USB_GSPCA_SPCA506 USB_GSPCA_SPCA508 USB_GSPCA_SPCA561 USB_GSPCA_SQ905 USB_GSPCA_SQ905C USB_GSPCA_SQ930X USB_GSPCA_STK014 USB_GSPCA_STK1135 USB_GSPCA_STV0680 USB_GSPCA_SUNPLUS USB_GSPCA_T613 USB_GSPCA_TOPRO USB_GSPCA_TOUPTEK USB_GSPCA_TV8532 USB_GSPCA_VC032X USB_GSPCA_VICAM USB_GSPCA_XIRLINK_CIT USB_GSPCA_ZC3XX USB_HACKRF USB_HCD_BCMA USB_HCD_SSB USB_HSIC_USB3503 USB_HSIC_USB4604 USB_HSO USB_HUB_USB251XB USB_IDMOUSE USB_IOWARRIOR USB_IPHETH USB_ISIGHTFW USB_ISP116X_HCD USB_ISP1301 USB_ISP1760 USB_ISP1760_DUAL_ROLE USB_ISP1760_HCD USB_ISP1761_UDC USB_KAWETH USB_KC2190 USB_KEENE USB_LAN78XX USB_LCD USB_LD USB_LEDS_TRIGGER_USBPORT USB_LED_TRIG USB_LEGOTOWER USB_LIBCOMPOSITE USB_LINK_LAYER_TEST USB_M5602 USB_MA901 USB_MAX3421_HCD USB_MDC800 USB_MICROTEK USB_MR800 USB_MSI2500 USB_MUSB_DUAL_ROLE USB_MUSB_HDRC USB_MV_U3D USB_MV_UDC USB_NET2272 USB_NET2272_DMA USB_NET2280 USB_NET_AX88179_178A USB_NET_AX8817X USB_NET_CDCETHER USB_NET_CDC_EEM USB_NET_CDC_MBIM USB_NET_CDC_NCM USB_NET_CDC_SUBSET USB_NET_CDC_SUBSET_ENABLE USB_NET_CH9200 USB_NET_CX82310_ETH USB_NET_DM9601 USB_NET_GL620A USB_NET_HUAWEI_CDC_NCM USB_NET_INT51X1 USB_NET_KALMIA USB_NET_MCS7830 USB_NET_NET1080 USB_NET_PLUSB USB_NET_QMI_WWAN USB_NET_RNDIS_HOST USB_NET_RNDIS_WLAN USB_NET_SMSC75XX USB_NET_SMSC95XX USB_NET_SR9700 USB_NET_SR9800 USB_NET_ZAURUS USB_OHCI_HCD_PLATFORM USB_OTG USB_OTG_FSM USB_OXU210HP_HCD USB_PEGASUS USB_PULSE8_CEC USB_PWC USB_PWC_INPUT_EVDEV USB_PXA27X USB_R8A66597 USB_R8A66597_HCD USB_RAINSHADOW_CEC USB_RAREMONO USB_RAW_GADGET USB_RTL8150 USB_RTL8152 USB_RTL8153_ECM USB_S2255 USB_SERIAL USB_SERIAL_AIRCABLE USB_SERIAL_ARK3116 USB_SERIAL_BELKIN USB_SERIAL_CH341 USB_SERIAL_CONSOLE USB_SERIAL_CP210X USB_SERIAL_CYBERJACK USB_SERIAL_CYPRESS_M8 USB_SERIAL_DEBUG USB_SERIAL_DIGI_ACCELEPORT USB_SERIAL_EDGEPORT USB_SERIAL_EDGEPORT_TI USB_SERIAL_EMPEG USB_SERIAL_F81232 USB_SERIAL_F8153X USB_SERIAL_FTDI_SIO USB_SERIAL_GARMIN USB_SERIAL_GENERIC USB_SERIAL_IPAQ USB_SERIAL_IPW USB_SERIAL_IR USB_SERIAL_IUU USB_SERIAL_KEYSPAN USB_SERIAL_KEYSPAN_PDA USB_SERIAL_KLSI USB_SERIAL_KOBIL_SCT USB_SERIAL_MCT_U232 USB_SERIAL_METRO USB_SERIAL_MOS7715_PARPORT USB_SERIAL_MOS7720 USB_SERIAL_MOS7840 USB_SERIAL_MXUPORT USB_SERIAL_NAVMAN USB_SERIAL_OMNINET USB_SERIAL_OPTICON USB_SERIAL_OPTION USB_SERIAL_OTI6858 USB_SERIAL_PL2303 USB_SERIAL_QCAUX USB_SERIAL_QT2 USB_SERIAL_QUALCOMM USB_SERIAL_SAFE USB_SERIAL_SIERRAWIRELESS USB_SERIAL_SIMPLE USB_SERIAL_SPCP8X5 USB_SERIAL_SSU100 USB_SERIAL_SYMBOL USB_SERIAL_TI USB_SERIAL_UPD78F0730 USB_SERIAL_VISOR USB_SERIAL_WHITEHEAT USB_SERIAL_WISHBONE USB_SERIAL_WWAN USB_SERIAL_XR USB_SERIAL_XSENS_MT USB_SEVSEG USB_SI470X USB_SI4713 USB_SIERRA_NET USB_SISUSBVGA USB_SL811_CS USB_SL811_HCD USB_SL811_HCD_ISO USB_SNP_CORE USB_SPEEDTOUCH USB_STKWEBCAM USB_STORAGE_ALAUDA USB_STORAGE_CYPRESS_ATACB USB_STORAGE_DATAFAB USB_STORAGE_ENE_UB6250 USB_STORAGE_FREECOM USB_STORAGE_ISD200 USB_STORAGE_JUMPSHOT USB_STORAGE_KARMA USB_STORAGE_ONETOUCH USB_STORAGE_SDDR09 USB_STORAGE_SDDR55 USB_STORAGE_USBAT USB_STV06XX USB_TEST USB_TMC USB_TRANCEVIBRATOR USB_U132_HCD USB_UAS USB_UEAGLEATM USB_ULPI_BUS USB_USBNET USB_USS720 USB_U_AUDIO USB_U_ETHER USB_U_SERIAL USB_VIDEO_CLASS USB_VIDEO_CLASS_INPUT_EVDEV USB_VL600 USB_WDM USB_XHCI_DBGCAP USB_XHCI_PLATFORM USB_XUSBATM USB_YUREX USB_ZR364XX USERFAULTFD USERIO USERMODE_DRIVER USER_RETURN_NOTIFIER U_SERIAL_CONSOLE V4L2_MEM2MEM_DEV V4L_TEST_DRIVERS VALIDATE_FS_PARSER VDPA VETH VFIO VFIO_IOMMU_TYPE1 VFIO_PCI VFIO_PCI_CORE VFIO_PCI_INTX VFIO_PCI_MMAP VFIO_VIRQFD VGASTATE VHOST VHOST_CROSS_ENDIAN_LEGACY VHOST_IOTLB VHOST_NET VHOST_RING VHOST_VDPA VHOST_VSOCK VIDEOBUF2_CORE VIDEOBUF2_DMA_CONTIG VIDEOBUF2_DMA_SG VIDEOBUF2_MEMOPS VIDEOBUF2_V4L2 VIDEOBUF2_VMALLOC VIDEOBUF_GEN VIDEOBUF_VMALLOC VIDEO_AU0828 VIDEO_AU0828_RC VIDEO_AU0828_V4L2 VIDEO_CPIA2 VIDEO_CS53L32A VIDEO_CX231XX VIDEO_CX231XX_ALSA VIDEO_CX231XX_DVB VIDEO_CX231XX_RC VIDEO_CX2341X VIDEO_CX25840 VIDEO_DEV VIDEO_EM28XX VIDEO_EM28XX_ALSA VIDEO_EM28XX_DVB VIDEO_EM28XX_RC VIDEO_EM28XX_V4L2 VIDEO_GO7007 VIDEO_GO7007_LOADER VIDEO_GO7007_USB VIDEO_GO7007_USB_S2250_BOARD VIDEO_HDPVR VIDEO_MSP3400 VIDEO_PVRUSB2 VIDEO_PVRUSB2_DVB VIDEO_PVRUSB2_SYSFS VIDEO_SAA711X VIDEO_STK1160 VIDEO_STK1160_COMMON VIDEO_TM6000 VIDEO_TM6000_ALSA VIDEO_TM6000_DVB VIDEO_TUNER VIDEO_TVEEPROM VIDEO_USBTV VIDEO_V4L2 VIDEO_V4L2_I2C VIDEO_V4L2_SUBDEV_API VIDEO_V4L2_TPG VIDEO_VICODEC VIDEO_VIM2M VIDEO_VIMC VIDEO_VIVID VIDEO_VIVID_CEC VIDEO_WM8775 VIPERBOARD_ADC VIRTIO_BALLOON VIRTIO_DMA_SHARED_BUFFER VIRTIO_MEM VIRTIO_MMIO VIRTIO_MMIO_CMDLINE_DEVICES VIRTIO_PMEM VIRTIO_VDPA VIRTIO_VSOCKETS VIRTIO_VSOCKETS_COMMON VIRT_WIFI VLAN_8021Q VLAN_8021Q_GVRP VLAN_8021Q_MVRP VMAP_PFN VMWARE_VMCI VMXNET3 VP_VDPA VSOCKETS VSOCKETS_DIAG VSOCKETS_LOOPBACK VSOCKMON VT_HW_CONSOLE_BINDING VXFS_FS WANT_DEV_COREDUMP WEXT_CORE WEXT_PRIV WEXT_PROC WIREGUARD WIRELESS WIRELESS_EXT WLAN WLAN_VENDOR_ADMTEK X86_SGX X86_X2APIC X86_X32 XARRAY_MULTI XDP_SOCKETS XDP_SOCKETS_DIAG XFRM_ESPINTCP XFRM_INTERFACE XFRM_IPCOMP XFRM_MIGRATE XFRM_OFFLOAD XFRM_STATISTICS XFRM_SUB_POLICY XFRM_USER_COMPAT XFS_FS XFS_POSIX_ACL XFS_QUOTA XFS_RT XOR_BLOCKS YENTA YENTA_ENE_TUNE YENTA_O2 YENTA_RICOH YENTA_TI YENTA_TOSHIBA ZBUD ZEROPLUS_FF ZONEFS_FS ZPOOL ZRAM ZRAM_DEF_COMP_LZORLE ZSMALLOC ZSTD_COMPRESS ZSWAP ZSWAP_COMPRESSOR_DEFAULT_LZO ZSWAP_DEFAULT_ON ZSWAP_ZPOOL_DEFAULT_ZBUD] disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN KASAN], they are not needed determining the merge base between 6139f2a02fe0ac7a08389b4eb786e0c659039ddd and b401b621758e46812da61fa58a67c3fd8d91de0d 8bb7eca972ad531c9b149c0a51ab43a417385813/Linux 5.15 is a merge base, check if it has the bug testing commit 8bb7eca972ad531c9b149c0a51ab43a417385813 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 81656f12e08f2924a24ec1eb45d49c4931eb4a490875c07602c8edb999a17cc6 all runs: crashed: WARNING in iomap_page_release representative crash: WARNING in iomap_page_release, types: [WARNING] testing current HEAD b401b621758e46812da61fa58a67c3fd8d91de0d testing commit b401b621758e46812da61fa58a67c3fd8d91de0d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 23c1fe46be38341341ee18adcc2f52d5b2523065cb01d6d3e717ce325c0da9ea all runs: OK false negative chance: 0.000 # git bisect start b401b621758e46812da61fa58a67c3fd8d91de0d 8bb7eca972ad531c9b149c0a51ab43a417385813 Bisecting: 101939 revisions left to test after this (roughly 17 steps) [7e68dd7d07a28faa2e6574dd6b9dbd90cdeaae91] Merge tag 'net-next-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit 7e68dd7d07a28faa2e6574dd6b9dbd90cdeaae91 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 29c068c3921e1e797cc09fcf8a87f40026f96007b00f29610b78eeb6c76e0dcf all runs: OK false negative chance: 0.000 # git bisect bad 7e68dd7d07a28faa2e6574dd6b9dbd90cdeaae91 Bisecting: 52546 revisions left to test after this (roughly 16 steps) [86c87bea6b42100c67418af690919c44de6ede6e] Merge tag 'devicetree-for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit 86c87bea6b42100c67418af690919c44de6ede6e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f73d6cb84c0af54155e48c723892eef97bb0fbaa1911308df604cb521ff40a53 all runs: OK false negative chance: 0.000 # git bisect bad 86c87bea6b42100c67418af690919c44de6ede6e Bisecting: 25443 revisions left to test after this (roughly 15 steps) [d0a231f01e5b25bacd23e6edc7c979a18a517b2b] Merge tag 'pci-v5.17-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit d0a231f01e5b25bacd23e6edc7c979a18a517b2b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 19b935dbd8f72c3a0512b173c44ea12d92482d1631651540032070d02d3c5572 all runs: crashed: WARNING in iomap_page_release representative crash: WARNING in iomap_page_release, types: [WARNING] # git bisect good d0a231f01e5b25bacd23e6edc7c979a18a517b2b Bisecting: 12219 revisions left to test after this (roughly 14 steps) [b14ffae378aa1db993e62b01392e70d1e585fb23] Merge tag 'drm-next-2022-03-24' of git://anongit.freedesktop.org/drm/drm determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit b14ffae378aa1db993e62b01392e70d1e585fb23 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3cefdf9d8e48635aee70d97f3338f6b136b660d2d1a46963a273e39e59b54c06 all runs: crashed: WARNING in iomap_page_release representative crash: WARNING in iomap_page_release, types: [WARNING] # git bisect good b14ffae378aa1db993e62b01392e70d1e585fb23 Bisecting: 6114 revisions left to test after this (roughly 13 steps) [a294bef57c55a45aef51d31e71d6892e8eba1483] io_uring: consistently use the EPOLL* defines determine whether the revision contains the guilty commit revision d0a231f01e5b25bacd23e6edc7c979a18a517b2b crashed and is reachable testing commit a294bef57c55a45aef51d31e71d6892e8eba1483 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f22a39504ce793c35bf0b511b45a1b6b372534e5bf48f714201dab18d3b0771b all runs: crashed: WARNING in iomap_page_release representative crash: WARNING in iomap_page_release, types: [WARNING] # git bisect good a294bef57c55a45aef51d31e71d6892e8eba1483 Bisecting: 3114 revisions left to test after this (roughly 12 steps) [268db333b561c77dee3feb6831806412293b4a7e] Merge tag 'devprop-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm determine whether the revision contains the guilty commit revision d0a231f01e5b25bacd23e6edc7c979a18a517b2b crashed and is reachable testing commit 268db333b561c77dee3feb6831806412293b4a7e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cd448a87daa3f6ca359bea003f4e1d900e8a461ec0f7a8a09d56cd78c707e93d all runs: crashed: WARNING in iomap_page_release representative crash: WARNING in iomap_page_release, types: [WARNING] # git bisect good 268db333b561c77dee3feb6831806412293b4a7e Bisecting: 1585 revisions left to test after this (roughly 11 steps) [1a6dd9996699889313327be03981716a8337656b] can: mcp251xfd: silence clang's -Wunaligned-access warning determine whether the revision contains the guilty commit revision b14ffae378aa1db993e62b01392e70d1e585fb23 crashed and is reachable testing commit 1a6dd9996699889313327be03981716a8337656b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 28db24e2bc6b01265ecf8fc2fa566df0f273598c1fa88ac6ca1edffab881b47a all runs: crashed: WARNING in iomap_page_release representative crash: WARNING in iomap_page_release, types: [WARNING] # git bisect good 1a6dd9996699889313327be03981716a8337656b Bisecting: 774 revisions left to test after this (roughly 10 steps) [88a618920e9baabc1780479e2fbb68e5551d0563] Merge tag 'docs-5.19' of git://git.lwn.net/linux determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit 88a618920e9baabc1780479e2fbb68e5551d0563 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 588b82939a748ab3231ee665f025617a82d48044efa2b7bbc429d44f33bed6a5 all runs: OK false negative chance: 0.000 # git bisect bad 88a618920e9baabc1780479e2fbb68e5551d0563 Bisecting: 460 revisions left to test after this (roughly 9 steps) [3842007b1a33589d57f67eac479b132b77767514] Merge tag 'zonefs-5.19-rc1-fix' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/zonefs determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit 3842007b1a33589d57f67eac479b132b77767514 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e94c843b33dbbf2107c511cf88951906082427bdf196cbce63584d43d6cc5611 all runs: crashed: WARNING in iomap_page_release representative crash: WARNING in iomap_page_release, types: [WARNING] # git bisect good 3842007b1a33589d57f67eac479b132b77767514 Bisecting: 224 revisions left to test after this (roughly 8 steps) [f289811258552a8a8c15d2446f9ead1d567357f2] Merge tag 'dlm-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit f289811258552a8a8c15d2446f9ead1d567357f2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f549860161b27b04e96028e05dc9226298465cc0b56c9aaff7a8df4b73aa9966 all runs: crashed: WARNING in iomap_page_release representative crash: WARNING in iomap_page_release, types: [WARNING] # git bisect good f289811258552a8a8c15d2446f9ead1d567357f2 Bisecting: 112 revisions left to test after this (roughly 7 steps) [fdaf9a5840acaab18694a19e0eb0aa51162eeeed] Merge tag 'folio-5.19' of git://git.infradead.org/users/willy/pagecache determine whether the revision contains the guilty commit revision f289811258552a8a8c15d2446f9ead1d567357f2 crashed and is reachable testing commit fdaf9a5840acaab18694a19e0eb0aa51162eeeed gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e7327123af372e9cbfe2cb90f8d596b728875906680ef17e9f961523437c33cd all runs: OK false negative chance: 0.000 # git bisect bad fdaf9a5840acaab18694a19e0eb0aa51162eeeed Bisecting: 55 revisions left to test after this (roughly 6 steps) [cc14d240267042fe3fb09ffc8412f8ef8f2f1cd0] hpfs: Convert symlinks to read_folio determine whether the revision contains the guilty commit revision d0a231f01e5b25bacd23e6edc7c979a18a517b2b crashed and is reachable testing commit cc14d240267042fe3fb09ffc8412f8ef8f2f1cd0 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 6054a4641adfb16b3c8137b3b3674941bbcb86c525324feddc6c419fb87dd033 all runs: crashed: WARNING in iomap_page_release representative crash: WARNING in iomap_page_release, types: [WARNING] # git bisect good cc14d240267042fe3fb09ffc8412f8ef8f2f1cd0 Bisecting: 27 revisions left to test after this (roughly 5 steps) [c26cd04586309e85fe9b15c7c3c9cb83ec5ec70b] f2fs: Convert to release_folio determine whether the revision contains the guilty commit revision 8bb7eca972ad531c9b149c0a51ab43a417385813 crashed and is reachable testing commit c26cd04586309e85fe9b15c7c3c9cb83ec5ec70b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c405da089a1afb0ebc5cdef2c8122a8ff1dcef90daae5cc3d85ff6939c552a04 all runs: crashed: WARNING in iomap_page_release representative crash: WARNING in iomap_page_release, types: [WARNING] # git bisect good c26cd04586309e85fe9b15c7c3c9cb83ec5ec70b Bisecting: 13 revisions left to test after this (roughly 4 steps) [731222557a69003bb27280b0750183803fa79770] jbd2: Convert release_buffer_page() to use a folio determine whether the revision contains the guilty commit revision cc14d240267042fe3fb09ffc8412f8ef8f2f1cd0 crashed and is reachable testing commit 731222557a69003bb27280b0750183803fa79770 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: edc705058993492eea0ef3591ae2c603b9369f064f467db21466bc10618029b7 all runs: crashed: WARNING in iomap_page_release representative crash: WARNING in iomap_page_release, types: [WARNING] # git bisect good 731222557a69003bb27280b0750183803fa79770 Bisecting: 6 revisions left to test after this (roughly 3 steps) [8560cb1a7d75048af275dd23fb0cf05382b3c2b9] fs: Remove aops->freepage determine whether the revision contains the guilty commit revision b14ffae378aa1db993e62b01392e70d1e585fb23 crashed and is reachable testing commit 8560cb1a7d75048af275dd23fb0cf05382b3c2b9 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8cf01d4b1d6016e0acda67b9fc57e63ed8a522a29f4a1b0bf6ef66b0294231cf all runs: crashed: WARNING in iomap_page_release representative crash: WARNING in iomap_page_release, types: [WARNING] # git bisect good 8560cb1a7d75048af275dd23fb0cf05382b3c2b9 Bisecting: 3 revisions left to test after this (roughly 2 steps) [e9c3a8e820ed0eeb2be05072f29f80d1b79f053b] iomap: don't invalidate folios after writeback errors determine whether the revision contains the guilty commit revision d0a231f01e5b25bacd23e6edc7c979a18a517b2b crashed and is reachable testing commit e9c3a8e820ed0eeb2be05072f29f80d1b79f053b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7081e13f75dec28993f21d5cf98158f6b01f1c4a728044aa5c2c079bcd9640a4 all runs: OK false negative chance: 0.000 # git bisect bad e9c3a8e820ed0eeb2be05072f29f80d1b79f053b Bisecting: 0 revisions left to test after this (roughly 1 step) [d74999c8c060dfeaf9977b91baa3c795fc183a84] iomap: iomap_write_end cleanup determine whether the revision contains the guilty commit revision d0a231f01e5b25bacd23e6edc7c979a18a517b2b crashed and is reachable testing commit d74999c8c060dfeaf9977b91baa3c795fc183a84 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0a2db342c0c4f3c91e77fa6e00cb546c55dd3e6df2581bc3b16fecfa8e528b6d all runs: crashed: WARNING in iomap_page_release representative crash: WARNING in iomap_page_release, types: [WARNING] # git bisect good d74999c8c060dfeaf9977b91baa3c795fc183a84 e9c3a8e820ed0eeb2be05072f29f80d1b79f053b is the first bad commit commit e9c3a8e820ed0eeb2be05072f29f80d1b79f053b Author: Darrick J. Wong Date: Mon May 16 15:27:38 2022 -0700 iomap: don't invalidate folios after writeback errors XFS has the unique behavior (as compared to the other Linux filesystems) that on writeback errors it will completely invalidate the affected folio and force the page cache to reread the contents from disk. All other filesystems leave the page mapped and up to date. This is a rude awakening for user programs, since (in the case where write fails but reread doesn't) file contents will appear to revert to old disk contents with no notification other than an EIO on fsync. This might have been annoying back in the days when iomap dealt with one page at a time, but with multipage folios, we can now throw away *megabytes* worth of data for a single write error. On *most* Linux filesystems, a program can respond to an EIO on write by redirtying the entire file and scheduling it for writeback. This isn't foolproof, since the page that failed writeback is no longer dirty and could be evicted, but programs that want to recover properly *also* have to detect XFS and regenerate every write they've made to the file. When running xfs/314 on arm64, I noticed a UAF when xfs_discard_folio invalidates multipage folios that could be undergoing writeback. If, say, we have a 256K folio caching a mix of written and unwritten extents, it's possible that we could start writeback of the first (say) 64K of the folio and then hit a writeback error on the next 64K. We then free the iop attached to the folio, which is really bad because writeback completion on the first 64k will trip over the "blocks per folio > 1 && !iop" assertion. This can't be fixed by only invalidating the folio if writeback fails at the start of the folio, since the folio is marked !uptodate, which trips other assertions elsewhere. Get rid of the whole behavior entirely. Signed-off-by: Darrick J. Wong Reviewed-by: Matthew Wilcox (Oracle) Reviewed-by: Jeff Layton Reviewed-by: Christoph Hellwig fs/iomap/buffered-io.c | 1 - fs/xfs/xfs_aops.c | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) accumulated error probability: 0.00 culprit signature: 7081e13f75dec28993f21d5cf98158f6b01f1c4a728044aa5c2c079bcd9640a4 parent signature: 0a2db342c0c4f3c91e77fa6e00cb546c55dd3e6df2581bc3b16fecfa8e528b6d revisions tested: 26, total time: 4h23m48.425628295s (build: 2h13m3.96535119s, test: 2h1m52.015652962s) first good commit: e9c3a8e820ed0eeb2be05072f29f80d1b79f053b iomap: don't invalidate folios after writeback errors recipients (to): ["djwong@kernel.org" "hch@lst.de" "jlayton@kernel.org" "willy@infradead.org"] recipients (cc): []