Kernel shows "would truncate bmap result" when process issues FIBMAP

Solution Unverified - Updated -

Issue

  • The following messages are shown.

    ------------[ cut here ]------------
    would truncate bmap result
    WARNING: CPU: 1 PID: 1813834 at fs/iomap/fiemap.c:121 iomap_bmap_actor+0x3e/0x50
    Modules linked in: md4 cmac cifs rdma_cm iw_cm ib_cm ib_core libarc4 dns_resolver d2dctl(OE) sunrpc nls_utf8 isofs loop bmhook
    (OE) tmhook(OE) binfmt_misc sha512_ssse3 sha512_generic nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject 
    nft_ct nf_tables_set nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_set nf_tables nfnetlink vsock_loopback vmw_vsock_virtio_transport_common
    vmw_vsock_vmci_transport vsock intel_rapl_msr intel_rapl_common isst_if_mbox_msr isst_if_common nfit libnvdimm crct10dif_pclmul crc32_pclmul ghash_clmulni_inte
    l rapl vmw_balloon vfat fat vmw_vmci joydev pcspkr i2c_piix4 ip_tables xfs libcrc32c sr_mod cdrom ata_generic vmwgfx drm_kms_helper syscopyarea sysfillrect sysi
    mgblt fb_sys_fops ttm sd_mod drm t10_pi sg ahci libahci ata_piix libata crc32c_intel vmxnet3 serio_raw vmw_pvscsi dm_mirror dm_region_hash dm_log dm_mod fuse [l
    ast unloaded: tmhook]
    CPU: 1 PID: 1813834 Comm: d2dbackupvol Kdump: loaded Tainted: P           OE    --------- -  - 4.18.0-305.7.1.el8_4.x86_64 #1
    Hardware name: VMware, Inc. VMware7,1/440BX Desktop Reference Platform, BIOS VMW71.00V.18227214.B64.2106252220 06/25/2021
    RIP: 0010:iomap_bmap_actor+0x3e/0x50
    Code: 8f 90 00 00 00 49 2b 70 08 49 03 30 48 d3 ee 48 81 fe ff ff ff 7f 77 06 48 89 30 31 c0 c3 48 c7 c7 6a 84 2e a7 e8 bb 1d 
    d5 ff <0f> 0b 31 c0 c3 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 44 00
    RSP: 0018:ffffb91d9270bd58 EFLAGS: 00010282
    RAX: 0000000000000000 RBX: ffffb91d9270bd80 RCX: 0000000000000007
    RDX: 0000000000000007 RSI: 0000000000000086 RDI: ffff8c2c7f8567c0
    RBP: 0000000000000000 R08: 000000000000065e R09: 0000000000000004
    R10: 0000000000000000 R11: 0000000000000001 R12: ffff8c23c2c04548
    R13: 0000000000001000 R14: ffffffffc0655a60 R15: 0000000000000000
    FS:  00007fa62a41f280(0000) GS:ffff8c2c7f840000(0000) knlGS:0000000000000000
    CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    CR2: 00007fff8178db68 CR3: 0000000fca998001 CR4: 0000000000770ee0
    PKRU: 55555554
    Call Trace:
    iomap_apply+0xfb/0x330
    ? iomap_fiemap_actor+0xa0/0xa0
    ? __filemap_fdatawait_range+0x6d/0xe0
    iomap_bmap+0x68/0x80
    ? iomap_fiemap_actor+0xa0/0xa0
    do_vfs_ioctl+0x5a2/0x680
    ? handle_mm_fault+0xc2/0x1d0
    ? syscall_trace_enter+0x1d3/0x2c0
    ksys_ioctl+0x60/0x90
    __x64_sys_ioctl+0x16/0x20
    do_syscall_64+0x5b/0x1a0
    entry_SYSCALL_64_after_hwframe+0x65/0xca
    RIP: 0033:0x7fa628e5762b
    Code: 0f 1e fa 48 8b 05 5d b8 2c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 2d b8 2c 00 f7 d8 64 89 01 48
    RSP: 002b:00007fff81792d28 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
    RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa628e5762b
    RDX: 00007fff81792d50 RSI: 0000000000000001 RDI: 000000000000000a
    RBP: 00005574ab1fa2e0 R08: 000000000000025b R09: 0000000000000003
    R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000008000
    R13: 00005574ab249220 R14: 000000000000000a R15: 0000000000000000
    ---[ end trace ec44e66ed49e81b0 ]---
    

Environment

  • Red Hat Enterprise Linux 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content