Kernel crashes with a message "FS-Cache: 0 > 0 is false" and "fs/fscache/operation.c:449!" in Red Hat Enterprise Linux 7

Solution Verified - Updated -

Issue

  • Kernel crashes with following logs :

    [251294.745183] FS-Cache: 
    [251294.745190] FS-Cache: Assertion failed
    [251294.745194] FS-Cache: 0 > 0 is false
    [251294.745364] ------------[ cut here ]------------
    [251294.745369] kernel BUG at fs/fscache/operation.c:449!
    [251294.745373] invalid opcode: 0000 [#1] SMP 
    [251294.745509] CPU: 2 PID: 15106 Comm: kworker/u8:1 Kdump: loaded Not tainted 3.10.0-957.5.1.el7.x86_64 #1
    [251294.745513] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 09/19/2018
    [251294.745526] Workqueue: fscache_operation fscache_op_work_func [fscache]
    [251294.745531] task: ffff9dc19a38c100 ti: ffff9dc080a74000 task.ti: ffff9dc080a74000
    [251294.745534] RIP: 0010:[<ffffffffc084ff90>]  [<ffffffffc084ff90>] fscache_op_complete+0x160/0x1a0 [fscache]
    [251294.745545] RSP: 0018:ffff9dc080a77d70  EFLAGS: 00010246
    [251294.745549] RAX: 0000000000000018 RBX: ffff9dc16efd4780 RCX: 0000000000000006
    [251294.745552] RDX: 0000000000000000 RSI: 0000000000000246 RDI: ffff9dc1bfd13890
    [251294.745555] RBP: ffff9dc080a77d90 R08: 65686361432d5346 R09: 2030203e2030203a
    [251294.745558] R10: 0000000000010073 R11: 65736c6166207369 R12: ffff9dc188e60000
    [251294.745561] R13: ffff9dc0fcee3400 R14: ffff9dc16efd4780 R15: 0000000000000000
    [251294.745565] FS:  0000000000000000(0000) GS:ffff9dc1bfd00000(0000) knlGS:0000000000000000
    [251294.745568] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    [251294.745571] CR2: 000000000106c038 CR3: 000000021ae4c000 CR4: 00000000000007e0
    [251294.745674] Call Trace:
    [251294.745687]  [<ffffffffc0a4dfd7>] cachefiles_read_copier+0x337/0x3a0 [cachefiles]
    [251294.745697]  [<ffffffffc084f6a5>] fscache_op_work_func+0x25/0x50 [fscache]
    [251294.745773]  [<ffffffffbaeb9d8f>] process_one_work+0x17f/0x440
    [251294.745780]  [<ffffffffbaebae26>] worker_thread+0x126/0x3c0
    [251294.745785]  [<ffffffffbaebad00>] ? manage_workers.isra.25+0x2a0/0x2a0
    [251294.745790]  [<ffffffffbaec1c71>] kthread+0xd1/0xe0
    [251294.745795]  [<ffffffffbaec1ba0>] ? insert_kthread_work+0x40/0x40
    [251294.745848]  [<ffffffffbb574c37>] ret_from_fork_nospec_begin+0x21/0x21
    [251294.745853]  [<ffffffffbaec1ba0>] ? insert_kthread_work+0x40/0x40
    [251294.745856] Code: c0 31 c0 e8 1a b7 d0 fa 48 c7 c7 b0 48 85 c0 31 c0 e8 0c b7 d0 fa 49 63 74 24 20 31 d2 48 c7 c7 d0 3d 85 c0 31 c0 e8 f7 b6 d0 fa <0f> 0b 48 c7 c7 a2 48 85 c0 31 c0 e8 e7 b6 d0 fa 48 c7 c7 b0 48 
    [251294.745910] RIP  [<ffffffffc084ff90>] fscache_op_complete+0x160/0x1a0 [fscache]
    [251294.745919]  RSP <ffff9dc080a77d70>
    

Environment

  • Red Hat Enterprise Linux 7
  • Seen on kernel-3.10.0-957.5.1.el7
  • fscache / cachefiles / NFS

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