Warning at fs/locks.c:2431 locks_remove_file+0x202/0x210 in Red Hat Enterprise Linux 7

Solution Verified - Updated -


  • Warning printed as below and and crash might occur.
[71531.991584] ------------[ cut here ]------------
[71531.991601] WARNING: CPU: 6 PID: 20543 at fs/locks.c:2431 locks_remove_file+0x202/0x210
[71531.991608] leftover lock: dev=0:60 ino=16358 type=0 flags=0x1 start=0 end=9223372036854775807
[71531.991612] Modules linked in: cmac nls_utf8 cifs ccm dns_resolver vmw_vsock_vmci_transport vsock ppdev vmw_balloon sb_edac coretemp iosf_mbi crc32_pclmul ghash_clmulni_intel aesni_intel lrw gf128mul glue_helper ablk_helper cryptd joydev pcspkr sg vmw_vmci parport_pc i2c_piix4 parport auth_rpcgss binfmt_misc sunrpc ip_tables xfs libcrc32c sr_mod cdrom ata_generic pata_acpi sd_mod crc_t10dif crct10dif_generic vmwgfx drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm ahci drm ata_piix libahci crct10dif_pclmul libata crct10dif_common crc32c_intel serio_raw vmxnet3 vmw_pvscsi drm_panel_orientation_quirks floppy dm_mirror dm_region_hash dm_log dm_mod
[71531.991718] CPU: 6 PID: 20543 Comm: sas Kdump: loaded Not tainted 3.10.0-957.el7.x86_64 #1
[71531.991723] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 09/21/2015
[71531.991726] Call Trace:
[71531.991744]  [<ffffffffb2761dc1>] dump_stack+0x19/0x1b
[71531.991754]  [<ffffffffb2097648>] __warn+0xd8/0x100
[71531.991761]  [<ffffffffb20976cf>] warn_slowpath_fmt+0x5f/0x80
[71531.991768]  [<ffffffffb229feb2>] locks_remove_file+0x202/0x210
[71531.991778]  [<ffffffffb229e0c5>] ? vfs_lock_file+0x35/0x60
[71531.991791]  [<ffffffffb22433ad>] __fput+0xbd/0x260
[71531.991797]  [<ffffffffb224363e>] ____fput+0xe/0x10
[71531.991809]  [<ffffffffb20be79b>] task_work_run+0xbb/0xe0
[71531.991818]  [<ffffffffb202bc65>] do_notify_resume+0xa5/0xc0
[71531.991829]  [<ffffffffb2775124>] int_signal+0x12/0x17
[71531.991834] ---[ end trace 4786cfc83ee07723 ]---


  • Red Hat Enterprise Linux 7
  • Seen on 3.10.0-693 ~ 3.10.0-957.z
  • CIFS share mounted on the system

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In