Hello, kernel test robot noticed "WARNING:at_mm/highmem.c:#kunmap_local_indexed" on: commit: 018eeae5c2f650da68338bfc464de887af53ff1f ("splice: Fix corruption of spliced data after splice() returns") https://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git splice-fix-corruption in testcase: boot compiler: clang-15 test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G (please refer to attached dmesg/kmsg for entire log/backtrace) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-lkp/202306301511.4a9ae22a-oliver.sang@intel.com [ 7.489030][ T87] ------------[ cut here ]------------ [ 7.489354][ T87] WARNING: CPU: 0 PID: 87 at mm/highmem.c:611 kunmap_local_indexed+0xf5/0x120 [ 7.489798][ T87] Modules linked in: autofs4 [ 7.490034][ T87] CPU: 0 PID: 87 Comm: systemd-sysuser Not tainted 6.4.0-04248-g018eeae5c2f6 #1 [ 7.490483][ T87] EIP: kunmap_local_indexed+0xf5/0x120 [ 7.490758][ T87] Code: 83 f8 22 73 38 c7 84 be 34 13 00 00 00 00 00 00 83 86 34 13 00 00 fe 78 18 ff 0d a4 d4 96 82 5e 5f 5b 5d 31 c0 31 c9 31 d2 c3 <0f> 0b e9 5a ff ff ff 0f 0b 68 78 29 85 82 e8 68 a2 3c 00 50 68 70 [ 7.491727][ T87] EAX: fffba000 EBX: 00000263 ECX: 00000004 EDX: fffb8000 [ 7.492081][ T87] ESI: eb6be200 EDI: 00004000 EBP: ea38dd64 ESP: ea38dd58 [ 7.492434][ T87] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068 EFLAGS: 00210206 [ 7.492830][ T87] CR0: 80050033 CR2: 013bf7ec CR3: 6a165000 CR4: 00040690 [ 7.493186][ T87] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000 [ 7.493547][ T87] DR6: fffe0ff0 DR7: 00000400 [ 7.493783][ T87] Call Trace: [ 7.493951][ T87] ? show_regs+0x4d/0x60 [ 7.494167][ T87] ? __warn+0x9e/0x170 [ 7.494372][ T87] ? kunmap_local_indexed+0xf5/0x120 [ 7.494638][ T87] ? report_bug+0x76/0xe0 [ 7.494859][ T87] ? exc_overflow+0x40/0x40 [ 7.495088][ T87] ? handle_bug+0x29/0x50 [ 7.495310][ T87] ? exc_invalid_op+0x17/0x40 [ 7.495547][ T87] ? handle_exception+0x14a/0x14a [ 7.495803][ T87] ? exc_overflow+0x40/0x40 [ 7.496037][ T87] ? kunmap_local_indexed+0xf5/0x120 [ 7.496304][ T87] ? exc_overflow+0x40/0x40 [ 7.496533][ T87] ? kunmap_local_indexed+0xf5/0x120 [ 7.496800][ T87] splice_folio_into_pipe+0x1eb/0x3f0 [ 7.497072][ T87] filemap_splice_read+0x205/0x350 [ 7.497333][ T87] ? kmemleak_alloc+0x27/0x40 [ 7.497575][ T87] ? filemap_release_folio+0x50/0x50 [ 7.497841][ T87] splice_direct_to_actor+0x10f/0x320 [ 7.498113][ T87] ? direct_file_splice_eof+0x20/0x20 [ 7.498385][ T87] do_splice_direct+0x78/0xb0 [ 7.498623][ T87] ? do_splice_direct+0xb0/0xb0 [ 7.498869][ T87] ? lockdep_hardirqs_off+0xb0/0xb0 [ 7.499133][ T87] vfs_copy_file_range+0x4ed/0x710 [ 7.499403][ T87] __ia32_sys_copy_file_range+0x116/0x1b0 [ 7.499690][ T87] ? syscall_enter_from_user_mode+0x70/0x180 [ 7.499993][ T87] ? syscall_enter_from_user_mode+0x70/0x180 [ 7.500296][ T87] do_int80_syscall_32+0x2c/0x50 [ 7.500546][ T87] entry_INT80_32+0x107/0x107 [ 7.500785][ T87] EIP: 0x77f9f092 [ 7.500972][ T87] Code: 00 00 00 e9 90 ff ff ff ff a3 24 00 00 00 68 30 00 00 00 e9 80 ff ff ff ff a3 f8 ff ff ff 66 90 00 00 00 00 00 00 00 00 cd 80 8d b4 26 00 00 00 00 8d b6 00 00 00 00 8b 1c 24 c3 8d b4 26 00 [ 7.501937][ T87] EAX: ffffffda EBX: 00000009 ECX: 00000000 EDX: 0000000a [ 7.502290][ T87] ESI: 00000000 EDI: 7fffffff EBP: 00000000 ESP: 7fbdfdcc [ 7.502649][ T87] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b EFLAGS: 00200246 [ 7.503033][ T87] irq event stamp: 58781 [ 7.503250][ T87] hardirqs last enabled at (58789): [<8108d813>] __up_console_sem+0x53/0x60 [ 7.503688][ T87] hardirqs last disabled at (58796): [<8108d7fa>] __up_console_sem+0x3a/0x60 [ 7.504127][ T87] softirqs last enabled at (58406): [<8101826f>] do_softirq_own_stack+0x4f/0x60 [ 7.504582][ T87] softirqs last disabled at (58401): [<8101826f>] do_softirq_own_stack+0x4f/0x60 [ 7.505036][ T87] ---[ end trace 0000000000000000 ]--- To reproduce: # build kernel cd linux cp config-6.4.0-04248-g018eeae5c2f6 .config make HOSTCC=clang-15 CC=clang-15 ARCH=i386 olddefconfig prepare modules_prepare bzImage modules make HOSTCC=clang-15 CC=clang-15 ARCH=i386 INSTALL_MOD_PATH= modules_install cd find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz git clone https://github.com/intel/lkp-tests.git cd lkp-tests bin/lkp qemu -k -m modules.cgz job-script # job-script is attached in this email # if come across any failure that blocks the test, # please remove ~/.lkp and /lkp dir to run from a clean state. -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki