ci starts bisection 2023-11-06 07:41:56.049473368 +0000 UTC m=+211556.225685022 bisecting fixing commit since d68b4b6f307d155475cce541f2aee938032ed22e building syzkaller on b42ca3a7c82c932ad7ee2ae2a89ae7dfe1e583a5 ensuring issue is reproducible on original commit d68b4b6f307d155475cce541f2aee938032ed22e testing commit d68b4b6f307d155475cce541f2aee938032ed22e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 948b519a7beba8199257076ce4e073b4d2e911eb7a2250b5f71e7887a94f6782 all runs: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage representative crash: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage, types: [KASAN] check whether we can drop unnecessary instrumentation disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], they are not needed testing commit d68b4b6f307d155475cce541f2aee938032ed22e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3b5d3e7c47d1c223ba97ee2c7996f062b3a3c89d0c147e93aaa31880d0ec8927 all runs: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage representative crash: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage, types: [KASAN] the bug reproduces without the instrumentation disabling configs for [LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG], they are not needed kconfig minimization: base=3930 full=7653 leaves diff=1987 split chunks (needed=false): <1987> split chunk #0 of len 1987 into 5 parts testing without sub-chunk 1/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit d68b4b6f307d155475cce541f2aee938032ed22e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f9e98ded93041a01426c573fa02544804eb35ece1948ecbb3556ced45de54bd3 run #0: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #1: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #2: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #3: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #4: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #5: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #6: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #7: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #8: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #9: OK representative crash: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage, types: [KASAN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing commit d68b4b6f307d155475cce541f2aee938032ed22e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3519c1b29db2183e0d6cc5812756a6c718b55936ed99be92b0e8f04bad08707a all runs: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage representative crash: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage, types: [KASAN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [BUG LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit d68b4b6f307d155475cce541f2aee938032ed22e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e8596b5c585bc7a4bb8c3cddafaf4cb20d08cddeb6cf961b7ab078bd402bedd9 run #0: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #1: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #2: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #3: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #4: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #5: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #6: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #7: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #8: OK run #9: OK representative crash: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage, types: [KASAN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], they are not needed testing commit d68b4b6f307d155475cce541f2aee938032ed22e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 67c2918f24e3fd751ef7488736041d1cb86986c253828de51d7196cc5558753b all runs: OK false negative chance: 0.000 testing without sub-chunk 5/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit d68b4b6f307d155475cce541f2aee938032ed22e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ef1e0cfa9a67d5818be6be8febe79bddbd6106de8592476a693f2e9202216953 run #0: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #1: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #2: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #3: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #4: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #5: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #6: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #7: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #8: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #9: OK representative crash: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage, types: [KASAN] the chunk can be dropped minimized to 398 configs; suspects: [AF_RXRPC ARCH_ENABLE_MEMORY_HOTREMOVE ATM AX25 CFG80211 CMA DAX DLM DVB_CORE ENCRYPTED_KEYS EXTCON GENEVE GPIOLIB HAMRADIO HAVE_CLK HID_SENSOR_HUB HID_SMARTJOYPLUS HID_THRUSTMASTER IIO INFINIBAND INFINIBAND_ADDR_TRANS INFINIBAND_IPOIB INFINIBAND_USER_ACCESS INFINIBAND_VIRT_DMA INPUT_TABLET INPUT_TOUCHSCREEN IP_SCTP L2TP LIBNVDIMM MEDIA_COMMON_OPTIONS MEDIA_DIGITAL_TV_SUPPORT MEDIA_RADIO_SUPPORT MEDIA_SDR_SUPPORT MEDIA_SUPPORT MEDIA_USB_SUPPORT MEMORY_HOTPLUG MEMORY_HOTREMOVE MFD_DLN2 MFD_RETU MMC MTD MTD_UBI NETFILTER_CONNCOUNT NET_IPGRE NET_IPGRE_DEMUX NFS_V4_1 NF_TPROXY_IPV6 NILFS2_FS NLMON NLS_CODEPAGE_1250 NLS_CODEPAGE_1251 NLS_CODEPAGE_737 NLS_CODEPAGE_775 NLS_CODEPAGE_850 NLS_CODEPAGE_852 NLS_CODEPAGE_855 NLS_CODEPAGE_857 NLS_CODEPAGE_860 NLS_CODEPAGE_861 NLS_CODEPAGE_862 NLS_CODEPAGE_863 NLS_CODEPAGE_864 NLS_CODEPAGE_865 NLS_CODEPAGE_866 NLS_CODEPAGE_869 NLS_CODEPAGE_874 NLS_CODEPAGE_932 NLS_CODEPAGE_936 NLS_CODEPAGE_949 NLS_CODEPAGE_950 NLS_ISO8859_13 NLS_ISO8859_14 NLS_ISO8859_15 NLS_ISO8859_2 NLS_ISO8859_3 NLS_ISO8859_4 NLS_ISO8859_5 NLS_ISO8859_6 NLS_ISO8859_7 NLS_ISO8859_8 NLS_ISO8859_9 NLS_KOI8_R NLS_KOI8_U NLS_MAC_CELTIC NLS_MAC_CENTEURO NLS_MAC_CROATIAN NLS_MAC_CYRILLIC NLS_MAC_GAELIC NLS_MAC_GREEK NLS_MAC_ICELAND NLS_MAC_INUIT NLS_MAC_ROMAN NLS_MAC_ROMANIAN NLS_MAC_TURKISH NOP_USB_XCEIV NOZOMI NTFS3_FS NTFS3_FS_POSIX_ACL NTFS3_LZX_XPRESS NTFS_FS NTFS_RW NULL_TTY NUMA_BALANCING NUMA_BALANCING_DEFAULT_ENABLED NUMA_EMU NUMA_KEEP_MEMINFO NVDIMM_DAX NVDIMM_KEYS NVDIMM_PFN NVME_CORE NVME_FABRICS NVME_FC NVME_MULTIPATH NVME_RDMA NVME_TARGET NVME_TARGET_FC NVME_TARGET_FCLOOP NVME_TARGET_LOOP NVME_TARGET_RDMA NVME_TARGET_TCP NVME_TCP N_GSM N_HDLC OCFS2_DEBUG_FS OCFS2_FS OCFS2_FS_O2CB OCFS2_FS_STATS OCFS2_FS_USERSPACE_CLUSTER OF_GPIO OF_PMEM OMFS_FS OPENVSWITCH OPENVSWITCH_GENEVE OPENVSWITCH_GRE OPENVSWITCH_VXLAN ORANGEFS_FS OSF_PARTITION OVERLAY_FS OVERLAY_FS_INDEX OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW OVERLAY_FS_REDIRECT_DIR PACKET_DIAG PADATA PAGE_IDLE_FLAG PAGE_POOL PAGE_REPORTING PAHOLE_HAS_BTF_TAG PAHOLE_HAS_LANG_EXCLUDE PAHOLE_HAS_SPLIT_BTF PARPORT PARPORT_NOT_PC PARTITION_ADVANCED PCCARD PCCARD_NONSTATIC PCIEAER PCI_ENDPOINT PCI_IOV PCMCIA PCMCIA_LOAD_CIS PERCPU_STATS PERSISTENT_KEYRINGS PHONET PHYLINK PHY_CPCAP_USB PHY_QCOM_USB_HS PHY_QCOM_USB_HSIC PHY_SAMSUNG_USB2 PHY_TUSB1210 PKCS7_TEST_KEY PKCS8_PRIVATE_KEY_PARSER PM_CLK PNFS_BLOCK PNFS_FILE_LAYOUT PNFS_FLEXFILE_LAYOUT PPP PPPOATM PPPOE PPPOE_HASH_BITS_4 PPPOL2TP PPP_ASYNC PPP_BSDCOMP PPP_DEFLATE PPP_FILTER PPP_MPPE PPP_MULTILINK PPP_SYNC_TTY PPTP PREEMPT PREEMPT_NOTIFIERS PRISM2_USB PROC_CHILDREN PSI PSTORE PSTORE_COMPRESS QCOM_QMI_HELPERS QNX4FS_FS QNX6FS_FS QRTR QRTR_TUN R8712U RADIO_ADAPTERS RADIO_SHARK RADIO_SHARK2 RADIO_TEA575X RAID_ATTRS RC_ATI_REMOTE RC_CORE RC_DEVICES RDMA_RXE RDMA_SIW RDS RDS_RDMA RDS_TCP READ_ONLY_THP_FOR_FS REALTEK_AUTOPM REED_SOLOMON REED_SOLOMON_DEC8 REGMAP REGMAP_I2C REGMAP_IRQ REGMAP_MMIO REGULATOR REGULATOR_TWL4030 REISERFS_FS REISERFS_FS_POSIX_ACL REISERFS_FS_SECURITY REISERFS_FS_XATTR REISERFS_PROC_INFO RESET_CONTROLLER RFKILL RFKILL_INPUT RFKILL_LEDS RMI4_2D_SENSOR RMI4_CORE RMI4_F03 RMI4_F03_SERIO RMI4_F11 RMI4_F12 RMI4_F30 ROMFS_BACKED_BY_BOTH ROMFS_FS ROMFS_ON_BLOCK ROMFS_ON_MTD ROSE RTC_DRV_HID_SENSOR_TIME RXKAD SCHED_CORE SCSI_FC_ATTRS SCSI_HPSA SCSI_ISCSI_ATTRS SCSI_LOGGING SCSI_NETLINK SCSI_SAS_ATA SCSI_SAS_ATTRS SCSI_SAS_LIBSAS SCSI_SCAN_ASYNC SCSI_SRP_ATTRS SCTP_COOKIE_HMAC_MD5 SCTP_COOKIE_HMAC_SHA1 SCTP_DEFAULT_COOKIE_HMAC_MD5 SECONDARY_TRUSTED_KEYRING SECURITY_INFINIBAND SECURITY_NETWORK_XFRM SECURITY_SMACK_NETFILTER SERIAL_DEV_BUS SERIAL_DEV_CTRL_TTYPORT SERIAL_MCTRL_GPIO SGI_PARTITION SIGNATURE SIGNED_PE_FILE_VERIFICATION SLHC SLIP SLIP_COMPRESSED SLIP_MODE_SLIP6 SLIP_SMART SMARTJOYPLUS_FF SMBFS SMC SMC_DIAG SMSC_PHY SMS_SIANO_MDTV SMS_SIANO_RC SMS_USB_DRV SND SND_ALOOP SND_BCD2000 SND_CTL_FAST_LOOKUP SND_CTL_LED SND_DEBUG SND_DMA_SGBUF SND_DRIVERS SND_DUMMY SND_DYNAMIC_MINORS SND_HDA SND_HDA_CODEC_ANALOG SND_HDA_CODEC_CA0110 SND_HDA_CODEC_CA0132 SND_HDA_CODEC_CIRRUS SND_HDA_CODEC_CMEDIA SND_HDA_CODEC_CONEXANT SND_HDA_CODEC_HDMI SND_HDA_CODEC_REALTEK SND_HDA_CODEC_SI3054 SND_HDA_CODEC_SIGMATEL SND_HDA_CODEC_VIA SND_HDA_COMPONENT SND_HDA_CORE SND_HDA_GENERIC SND_HDA_GENERIC_LEDS SND_HDA_HWDEP SND_HDA_I915 SND_HDA_INPUT_BEEP SND_HDA_INTEL SND_HDA_PATCH_LOADER SND_HDA_RECONFIG SND_HRTIMER SND_HWDEP SND_INTEL_DSP_CONFIG SND_INTEL_NHLT SND_INTEL_SOUNDWIRE_ACPI SND_JACK SND_JACK_INPUT_DEV SND_MIXER_OSS SND_OSSEMUL SND_PCI SND_PCM SND_PCMCIA SND_PCM_OSS SND_PCM_OSS_PLUGINS SND_PCM_TIMER SND_PCM_XRUN_DEBUG SND_PROC_FS SND_RAWMIDI SND_SEQUENCER SND_SEQUENCER_OSS SND_SEQ_DEVICE SND_SEQ_DUMMY SND_SEQ_HRTIMER_DEFAULT SND_SEQ_MIDI SND_SEQ_MIDI_EVENT SND_SEQ_VIRMIDI SND_SUPPORT_OLD_API SND_TIMER SND_USB SND_USB_6FIRE SND_USB_AUDIO SND_USB_AUDIO_USE_MEDIA_CONTROLLER SND_USB_CAIAQ SND_USB_CAIAQ_INPUT SND_USB_HIFACE SND_USB_LINE6 SND_USB_POD SND_USB_PODHD SND_USB_TONEPORT SND_USB_UA101 SND_USB_US122L SND_USB_USX2Y SND_USB_VARIAX SND_VERBOSE_PROCFS SND_VIRMIDI SND_VIRTIO SND_VMASTER SND_X86 SOCK_VALIDATE_XMIT SOLARIS_X86_PARTITION SONY_FF SOUND SOUND_OSS_CORE SOUND_OSS_CORE_PRECLAIM SPI SPI_DLN2 SPI_DYNAMIC SPI_MASTER SQUASHFS SQUASHFS_4K_DEVBLK_SIZE SQUASHFS_COMPILE_DECOMP_SINGLE SQUASHFS_DECOMP_SINGLE SQUASHFS_FILE_DIRECT SQUASHFS_LZ4 SQUASHFS_LZO SQUASHFS_XATTR SQUASHFS_XZ SQUASHFS_ZLIB SQUASHFS_ZSTD SSB SSB_PCIHOST_POSSIBLE SSB_PCMCIAHOST_POSSIBLE SSB_SDIOHOST_POSSIBLE STAGING STP STREAM_PARSER SUNRPC_BACKCHANNEL SUN_PARTITION SW_SYNC SYSFB SYSV68_PARTITION SYSV_FS TABLET_USB_ACECAD TABLET_USB_AIPTEK TABLET_USB_HANWANG TABLET_USB_KBTAB TABLET_USB_PEGASUS TAHVO_USB TAHVO_USB_HOST_BY_DEFAULT TASKS_TRACE_RCU TCG_CRB TCG_TIS TCG_TIS_CORE TCG_TPM TCP_CONG_BBR TCP_CONG_BIC TCP_CONG_CDG TCP_CONG_DCTCP TCP_CONG_HSTCP TCP_CONG_HTCP TCP_CONG_HYBLA TCP_CONG_ILLINOIS TCP_CONG_LP TCP_CONG_NV TCP_CONG_SCALABLE TCP_CONG_VEGAS TCP_CONG_VENO TCP_CONG_WESTWOOD TCP_CONG_YEAH TEXTSEARCH TEXTSEARCH_BM TEXTSEARCH_FSM TEXTSEARCH_KMP THERMAL_NETLINK THP_SWAP THRUSTMASTER_FF TIPC TIPC_CRYPTO TIPC_DIAG TIPC_MEDIA_IB TIPC_MEDIA_UDP TLS TLS_TOE TOUCHSCREEN_SUR40 TOUCHSCREEN_USB_3M TOUCHSCREEN_USB_COMPOSITE TOUCHSCREEN_USB_DMC_TSC10 TOUCHSCREEN_USB_E2I TOUCHSCREEN_USB_EASYTOUCH TOUCHSCREEN_USB_EGALAX TOUCHSCREEN_USB_ELO TOUCHSCREEN_USB_ETT_TC45USB TOUCHSCREEN_USB_ETURBO TOUCHSCREEN_USB_GENERAL_TOUCH TOUCHSCREEN_USB_GOTOP TOUCHSCREEN_USB_GUNZE TOUCHSCREEN_USB_IDEALTEK TOUCHSCREEN_USB_IRTOUCH TOUCHSCREEN_USB_ITM TOUCHSCREEN_USB_JASTEC TOUCHSCREEN_USB_NEXIO TOUCHSCREEN_USB_PANJIT TOUCHSCREEN_USB_ZYTRONIC TRANSPARENT_HUGEPAGE TRANSPARENT_HUGEPAGE_MADVISE TTPCI_EEPROM TTY_PRINTK TUN_VNET_CROSS_LE TWL4030_CORE TYPEC TYPEC_FUSB302 TYPEC_TCPCI TYPEC_TCPM TYPEC_TPS6598X TYPEC_UCSI UBIFS_ATIME_SUPPORT UBIFS_FS UBIFS_FS_ADVANCED_COMPR UBIFS_FS_LZO UBIFS_FS_SECURITY UBIFS_FS_XATTR UBIFS_FS_ZLIB UBIFS_FS_ZSTD UCSI_ACPI UDF_FS UDMABUF UFS_FS UFS_FS_WRITE UHID ULTRIX_PARTITION UNICODE UNIXWARE_DISKLABEL UNIX_DIAG USB4 USB4_NET USBIP_CORE USBIP_HOST USBIP_VHCI_HCD USBIP_VUDC USBPCWATCHDOG USB_ACM USB_ADUTUX USB_AIRSPY USB_ALI_M5632 USB_AN2720 USB_APPLEDISPLAY USB_ARMLINUX USB_BDC_UDC USB_BELKIN USB_C67X00_HCD USB_CATC USB_CDC_PHONET USB_CHAOSKEY USB_CHIPIDEA USB_CHIPIDEA_HOST USB_CHIPIDEA_PCI USB_CHIPIDEA_UDC USB_CONFIGFS USB_CONFIGFS_ACM USB_CONFIGFS_ECM USB_CONFIGFS_ECM_SUBSET USB_CONFIGFS_EEM USB_CONFIGFS_F_FS USB_CONFIGFS_F_HID USB_CONFIGFS_F_LB_SS USB_DWC2 USB_GADGET USB_MUSB_HDRC USB_NET_CDC_SUBSET USB_ROLE_SWITCH USB_STORAGE_REALTEK USB_ULPI_BUS USB_USBNET VIDEO_DEV VXLAN WIRELESS WLAN ZONE_DEVICE] disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing current HEAD d2f51b3516dade79269ff45eae2a7668ae711b25 testing commit d2f51b3516dade79269ff45eae2a7668ae711b25 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 47838e4b92263cbb88a9ad3ae2f98d49bc48795b9aa0de436fa5380556bb266e run #0: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #1: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #2: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #3: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #4: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #5: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #6: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #7: crashed: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage run #8: OK run #9: OK representative crash: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage, types: [KASAN] crash still not fixed/happens on the oldest tested release revisions tested: 8, total time: 3h3m21.08305938s (build: 1h36m3.369927334s, test: 1h19m51.834628321s) crash still not fixed or there were kernel test errors commit msg: Merge tag 'rtc-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux crash: KASAN: slab-out-of-bounds Write in udf_adinicb_writepage UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) ================================================================== BUG: KASAN: slab-out-of-bounds in memcpy_from_file_folio include/linux/highmem.h:510 [inline] BUG: KASAN: slab-out-of-bounds in udf_adinicb_writepage+0x224/0x3e0 fs/udf/inode.c:192 Write of size 4096 at addr ffff888079c53000 by task syz-executor.2/5523 CPU: 0 PID: 5523 Comm: syz-executor.2 Not tainted 6.6.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xf8/0x260 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:364 [inline] print_report+0x163/0x540 mm/kasan/report.c:475 kasan_report+0x142/0x170 mm/kasan/report.c:588 kasan_check_range+0x27e/0x290 mm/kasan/generic.c:187 __asan_memcpy+0x40/0x70 mm/kasan/shadow.c:106 memcpy_from_file_folio include/linux/highmem.h:510 [inline] udf_adinicb_writepage+0x224/0x3e0 fs/udf/inode.c:192 write_cache_pages+0x64a/0xe00 mm/page-writeback.c:2474 do_writepages+0x33b/0x5d0 mm/page-writeback.c:2553 filemap_fdatawrite_wbc+0xe1/0x140 mm/filemap.c:387 __filemap_fdatawrite_range mm/filemap.c:420 [inline] file_write_and_wait_range+0x1ca/0x290 mm/filemap.c:778 __generic_file_fsync+0x6d/0x110 fs/libfs.c:1396 generic_file_fsync+0x6e/0xd0 fs/libfs.c:1437 generic_write_sync include/linux/fs.h:2653 [inline] udf_file_write_iter+0x448/0x530 fs/udf/file.c:122 do_iter_write+0x76a/0xbc0 fs/read_write.c:860 iter_file_splice_write+0x7f9/0xff0 fs/splice.c:736 do_splice_from fs/splice.c:933 [inline] direct_splice_actor+0xe5/0x1a0 fs/splice.c:1142 splice_direct_to_actor+0x27c/0x790 fs/splice.c:1088 do_splice_direct+0x28c/0x3c0 fs/splice.c:1194 do_sendfile+0x501/0xc40 fs/read_write.c:1254 __do_sys_sendfile64 fs/read_write.c:1322 [inline] __se_sys_sendfile64 fs/read_write.c:1308 [inline] __x64_sys_sendfile64+0x19f/0x200 fs/read_write.c:1308 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x44/0xe0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fe78e67cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe78f4990c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fe78e79bf80 RCX: 00007fe78e67cae9 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000006 RBP: 00007fe78e6c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007fe78e79bf80 R15: 00007ffda2cbc5e8 Allocated by task 5523: kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4f/0x70 mm/kasan/common.c:52 ____kasan_kmalloc mm/kasan/common.c:374 [inline] __kasan_kmalloc+0x98/0xb0 mm/kasan/common.c:383 kasan_kmalloc include/linux/kasan.h:198 [inline] __do_kmalloc_node mm/slab_common.c:1007 [inline] __kmalloc+0xaa/0x1d0 mm/slab_common.c:1020 udf_new_inode+0x28d/0xc70 udf_create+0x18/0xd0 fs/udf/namei.c:380 lookup_open fs/namei.c:3477 [inline] open_last_lookups fs/namei.c:3546 [inline] path_openat+0x10bf/0x28a0 fs/namei.c:3776 do_filp_open+0x22a/0x440 fs/namei.c:3809 do_sys_openat2+0xf6/0x170 fs/open.c:1440 do_sys_open fs/open.c:1455 [inline] __do_sys_creat fs/open.c:1531 [inline] __se_sys_creat fs/open.c:1525 [inline] __x64_sys_creat+0x11e/0x160 fs/open.c:1525 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x44/0xe0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b The buggy address belongs to the object at ffff888079c53000 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 0 bytes inside of allocated 336-byte region [ffff888079c53000, ffff888079c53150) The buggy address belongs to the physical page: page:ffffea0001e71400 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x79c50 head:ffffea0001e71400 order:2 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0xfff00000000840(slab|head|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff00000000840 ffff888009041c80 ffffea0001eda300 dead000000000002 raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd2040(__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1673, tgid 1673 (cmp), ts 9299453114, free_ts 9059405139 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x26e/0x290 mm/page_alloc.c:1537 prep_new_page mm/page_alloc.c:1544 [inline] get_page_from_freelist+0x345c/0x35f0 mm/page_alloc.c:3312 __alloc_pages+0x255/0x650 mm/page_alloc.c:4568 alloc_pages_mpol+0x27f/0x4d0 mm/mempolicy.c:2133 alloc_slab_page+0x6a/0x160 mm/slub.c:1870 allocate_slab mm/slub.c:2017 [inline] new_slab+0x70/0x260 mm/slub.c:2070 ___slab_alloc+0x942/0xed0 mm/slub.c:3223 __slab_alloc mm/slub.c:3322 [inline] __slab_alloc_node mm/slub.c:3375 [inline] slab_alloc_node mm/slub.c:3468 [inline] __kmem_cache_alloc_node+0x1f7/0x2c0 mm/slub.c:3517 __do_kmalloc_node mm/slab_common.c:1006 [inline] __kmalloc+0x99/0x1d0 mm/slab_common.c:1020 kmalloc include/linux/slab.h:604 [inline] kzalloc include/linux/slab.h:721 [inline] tomoyo_init_log+0x19cf/0x1fe0 security/tomoyo/audit.c:275 tomoyo_supervisor+0x312/0xfa0 security/tomoyo/common.c:2089 tomoyo_audit_path_log security/tomoyo/file.c:168 [inline] tomoyo_path_permission security/tomoyo/file.c:587 [inline] tomoyo_path_perm+0x5d0/0x8a0 security/tomoyo/file.c:838 security_inode_getattr+0x7f/0xf0 security/security.c:2153 vfs_getattr fs/stat.c:169 [inline] vfs_fstat+0x39/0x970 fs/stat.c:194 __do_sys_newfstatat fs/stat.c:459 [inline] __se_sys_newfstatat+0xc5/0x750 fs/stat.c:453 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x44/0xe0 arch/x86/entry/common.c:82 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1137 [inline] free_unref_page_prepare+0x7f6/0x910 mm/page_alloc.c:2347 free_unref_page+0x37/0x3a0 mm/page_alloc.c:2487 discard_slab mm/slub.c:2116 [inline] __unfreeze_partials+0x1b1/0x1f0 mm/slub.c:2655 put_cpu_partial+0x150/0x1a0 mm/slub.c:2731 __slab_free+0x26b/0x330 mm/slub.c:3679 qlink_free mm/kasan/quarantine.c:168 [inline] qlist_free_all+0x75/0xe0 mm/kasan/quarantine.c:187 kasan_quarantine_reduce+0x14b/0x160 mm/kasan/quarantine.c:294 __kasan_slab_alloc+0x23/0x70 mm/kasan/common.c:305 kasan_slab_alloc include/linux/kasan.h:188 [inline] slab_post_alloc_hook+0x67/0x3c0 mm/slab.h:763 slab_alloc_node mm/slub.c:3478 [inline] slab_alloc mm/slub.c:3486 [inline] __kmem_cache_alloc_lru mm/slub.c:3493 [inline] kmem_cache_alloc+0x198/0x2f0 mm/slub.c:3502 anon_vma_chain_alloc mm/rmap.c:142 [inline] __anon_vma_prepare+0x52/0x3b0 mm/rmap.c:196 anon_vma_prepare include/linux/rmap.h:159 [inline] do_anonymous_page mm/memory.c:4169 [inline] do_pte_missing mm/memory.c:3728 [inline] handle_pte_fault mm/memory.c:5038 [inline] __handle_mm_fault mm/memory.c:5179 [inline] handle_mm_fault+0x3a18/0x4970 mm/memory.c:5344 do_user_addr_fault arch/x86/mm/fault.c:1413 [inline] handle_page_fault arch/x86/mm/fault.c:1505 [inline] exc_page_fault+0x354/0x8b0 arch/x86/mm/fault.c:1561 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 Memory state around the buggy address: ffff888079c53000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888079c53080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888079c53100: 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc ^ ffff888079c53180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888079c53200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================