[Bug 215804] [xfstests generic/670] Unable to handle kernel paging request at virtual address fffffbffff000008

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

 



https://bugzilla.kernel.org/show_bug.cgi?id=215804

--- Comment #7 from Zorro Lang (zlang@xxxxxxxxxx) ---
Get below messages from aarch64 with linux v5.18-rc1 (which reproduced this bug
too):

# ./scripts/faddr2line vmlinux __split_huge_pmd+0x1d8/0x34c
__split_huge_pmd+0x1d8/0x34c:
_compound_head at
/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/./include/linux/page-flags.h:263
(inlined by) __split_huge_pmd at
/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/mm/huge_memory.c:2150

# ./scripts/decode_stacktrace.sh vmlinux <crash_calltrace.log
[ 2129.736862] Unable to handle kernel paging request at virtual address
fffffd1d59000008
[ 2129.780524] KASAN: maybe wild-memory-access in range
[0x0003e8eac8000040-0x0003e8eac8000047]
[ 2129.783285] Mem abort info:
[ 2129.783997]   ESR = 0x96000006
[ 2129.784732]   EC = 0x25: DABT (current EL), IL = 32 bits
[ 2129.786221]   SET = 0, FnV = 0
[ 2129.787015]   EA = 0, S1PTW = 0
[ 2129.787944]   FSC = 0x06: level 2 translation fault
[ 2129.789120] Data abort info:
[ 2129.789858]   ISV = 0, ISS = 0x00000006
[ 2129.790801]   CM = 0, WnR = 0
[ 2129.791542] swapper pgtable: 4k pages, 48-bit VAs, pgdp=00000000fa88b000
[ 2129.793131] [fffffd1d59000008] pgd=10000001bf22e003, p4d=10000001bf22e003,
pud=10000001bf22d003, pmd=0000000000000000
[ 2129.797297] Internal error: Oops: 96000006 [#1] SMP
[ 2129.798708] Modules linked in: tls rfkill sunrpc vfat fat drm fuse xfs
libcrc32c crct10dif_ce ghash_ce sha2_ce virtio_console virtio_blk sha256_arm64
sha1_ce virtio_net net_failover failover virtio_mmio
[ 2129.805211] Hardware name: QEMU KVM Virtual Machine, BIOS 0.0.0 02/06/2015
[ 2129.806925] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 2129.808682] pc : __split_huge_pmd
(/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/./include/linux/page-flags.h:263
/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/mm/huge_memory.c:2150) 
[ 2129.809909] lr : __split_huge_pmd
(/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/./arch/arm64/include/asm/pgtable.h:387
/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/mm/huge_memory.c:2150) 
[ 2129.811003] sp : ffff80000e5a6fe0
[ 2129.811834] x29: ffff80000e5a6fe0 x28: 0000000000000000 x27:
ffff4757455eede0
[ 2129.813645] x26: 0000000000000000 x25: 0000000000000000 x24:
fffffd1d5eeb4800
[ 2129.815412] x23: 1ffff00001cb4e0a x22: ffff4757943b0a50 x21:
ffff475755a56270
[ 2129.817219] x20: ffff80000e5a7080 x19: fffffd1d59000000 x18:
0000000000000000
[ 2129.819029] x17: 0000000000000000 x16: ffffb625b8e67e20 x15:
1fffe8eaf65232e9
[ 2129.820840] x14: 0000000000000000 x13: 0000000000000000 x12:
ffff700001cb4ded
[ 2129.822654] x11: 1ffff00001cb4dec x10: ffff700001cb4dec x9 :
dfff800000000000
[ 2129.824447] x8 : ffff80000e5a6f63 x7 : 0000000000000001 x6 :
0000000000000003
[ 2129.826256] x5 : ffff80000e5a6f60 x4 : ffff700001cb4dec x3 :
1fffe8eaf8fd6c01
[ 2129.828045] x2 : 1fffffa3ab200001 x1 : 0000000000000000 x0 :
fffffd1d59000008
[ 2129.829858] Call trace:
[ 2129.830506] __split_huge_pmd
(/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/./include/linux/page-flags.h:263
/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/mm/huge_memory.c:2150) 
[ 2129.831525] split_huge_pmd_address
(/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/mm/huge_memory.c:2199) 
[ 2129.832667] try_to_unmap_one
(/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/mm/internal.h:504
/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/mm/rmap.c:1452) 
[ 2129.833719] rmap_walk_file
(/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/mm/rmap.c:2323) 
[ 2129.834684] try_to_unmap
(/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/mm/rmap.c:2352
/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/mm/rmap.c:1726) 
[ 2129.835628] split_huge_page_to_list
(/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/./arch/arm64/include/asm/irqflags.h:70
/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/./arch/arm64/include/asm/irqflags.h:98
/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/mm/huge_memory.c:2567) 
[ 2129.836811] truncate_inode_partial_folio
(/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/mm/truncate.c:243) 
[ 2129.838119] truncate_inode_pages_range
(/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/mm/truncate.c:381) 
[ 2129.839360] truncate_pagecache_range
(/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/mm/truncate.c:868) 
[ 2129.840518] xfs_flush_unmap_range
(/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/fs/xfs/xfs_bmap_util.c:953)
xfs
[ 2129.842300] xfs_reflink_remap_prep
(/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/fs/xfs/xfs_reflink.c:1372)
xfs
[ 2129.843932] xfs_file_remap_range
(/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/fs/xfs/xfs_file.c:1129)
xfs
[ 2129.845495] do_clone_file_range
(/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/fs/remap_range.c:383) 
[ 2129.846573] vfs_clone_file_range
(/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/fs/remap_range.c:401) 
[ 2129.847646] ioctl_file_clone
(/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/fs/ioctl.c:241) 
[ 2129.848615] do_vfs_ioctl
(/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/fs/ioctl.c:823) 
[ 2129.849606] __arm64_sys_ioctl
(/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/fs/ioctl.c:869
/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/fs/ioctl.c:856
/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/fs/ioctl.c:856) 
[ 2129.850630] invoke_syscall.constprop.0
(/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/arch/arm64/kernel/syscall.c:38
/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/arch/arm64/kernel/syscall.c:52) 
[ 2129.851866] el0_svc_common.constprop.0
(/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/arch/arm64/kernel/syscall.c:158) 
[ 2129.853118] do_el0_svc
(/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/arch/arm64/kernel/syscall.c:182) 
[ 2129.853969] el0_svc
(/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/arch/arm64/kernel/entry-common.c:133
/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/arch/arm64/kernel/entry-common.c:142
/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/arch/arm64/kernel/entry-common.c:617) 
[ 2129.854850] el0t_64_sync_handler
(/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/arch/arm64/kernel/entry-common.c:635) 
[ 2129.855950] el0t_64_sync
(/mnt/tests/kernel/distribution/upstream-kernel/install/kernel/arch/arm64/kernel/entry.S:581) 
[ 2129.856898] Code: 91002260 d343fc02 38e16841 35000b41 (f9400660)
All code
========
   0:   91002260        add     x0, x19, #0x8
   4:   d343fc02        lsr     x2, x0, #3
   8:   38e16841        ldrsb   w1, [x2, x1]
   c:   35000b41        cbnz    w1, 0x174
  10:*  f9400660        ldr     x0, [x19, #8]           <-- trapping
instruction

Code starting with the faulting instruction
===========================================
   0:   f9400660        ldr     x0, [x19, #8]
[ 2129.858468] SMP: stopping secondary CPUs
[ 2129.862796] Starting crashdump kernel...
[ 2129.863839] Bye!

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux