The system crashed in `__list_add_valid` called from `ertp_cache_insert()`

Solution Unverified - Updated -

Issue

  • System was crashed with the below log.
...
[2700362.315358] list_add corruption. prev->next should be next (ffffaa8802647e18), but was ffff997358e117e0. (prev=ffffffffc08ec220).
[2700362.315476] ------------[ cut here ]------------
[2700362.315477] kernel BUG at lib/list_debug.c:28!
[2700362.315535] invalid opcode: 0000 [#1] SMP PTI
[2700362.315560] CPU: 0 PID: 1705551 Comm: rsync Kdump: loaded Tainted: G           OE    --------- -  - 4.18.0-425.10.1.el8_7.x86_64 #1
[2700362.315609] Hardware name: IIJ IIJ GIO Infrastructure P2 Public Resource, BIOS 0.5.1 01/01/2011
[2700362.315639] RIP: 0010:__list_add_valid.cold.0+0x26/0x28
[2700362.315664] Code: 20 ef 71 00 48 89 d1 48 c7 c7 e8 f6 72 a6 48 89 c2 e8 e2 1d c8 ff 0f 0b 48 89 c1 4c 89 c6 48 c7 c7 40 f7 72 a6 e8 ce 1d c8 ff <0f> 0b 48 89 fe 48 89 c2 48 c7 c7 d0 f7 72 a6 e8 ba 1d c8 ff 0f 0b
[2700362.315735] RSP: 0018:ffffaa8802647e10 EFLAGS: 00010246
[2700362.315759] RAX: 0000000000000075 RBX: 0000000000000000 RCX: 0000000000000000
[2700362.315785] RDX: 0000000000000000 RSI: ffff997493c16698 RDI: ffff997493c16698
[2700362.315822] RBP: ffffaa8802647e18 R08: 0000000000000000 R09: c0000000ffff7fff
[2700362.315854] R10: 0000000000000001 R11: ffffaa8802647c30 R12: ffffffffc08ece70
[2700362.315891] R13: 0000000000000002 R14: ffffaa8802647e18 R15: ffffffffc08ec220
[2700362.315919] FS:  00007fa982c17b80(0000) GS:ffff997493c00000(0000) knlGS:0000000000000000
[2700362.315959] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[2700362.315984] CR2: 000055ccbe954000 CR3: 0000000004f96003 CR4: 00000000001706f0
[2700362.316024] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[2700362.316053] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[2700362.316090] Call Trace:
[2700362.316146]  ertp_cache_insert+0x17c/0x280 [eset_rtp]
[2700362.316199]  ertp_cache_insert_new_file+0xa2/0xb0 [eset_rtp]
[2700362.316268]  ertp_process_request+0x5c/0x1f0 [eset_rtp]
[2700362.316285]  ? ertp_cache_lookup_inode+0x29/0x60 [eset_rtp]
[2700362.316321]  ertp_check_file+0x220/0x290 [eset_rtp]
[2700362.316371]  check_open_int.isra.5+0x28/0x60 [eset_rtp]
[2700362.316419]  __x64_sys_ertp_openat+0x2d/0x70 [eset_rtp]
[2700362.316453]  ? __x64_sys_ertp_renameat+0xd0/0xd0 [eset_rtp]
[2700362.316501]  do_syscall_64+0x5b/0x1b0
[2700362.316537]  entry_SYSCALL_64_after_hwframe+0x61/0xc6
[2700362.316585] RIP: 0033:0x7fa982134252
[2700362.316629] Code: 25 00 00 41 00 3d 00 00 41 00 74 4c 48 8d 05 55 43 2a 00 8b 00 85 c0 75 6d 89 f2 b8 01 01 00 00 48 89 fe bf 9c ff ff ff 0f 05 <48> 3d 00 f0 ff ff 0f 87 a2 00 00 00 48 8b 4c 24 28 64 48 33 0c 25
[2700362.316732] RSP: 002b:00007ffea5de8aa0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
[2700362.316786] RAX: ffffffffffffffda RBX: 000055c47ba3a9a0 RCX: 00007fa982134252
[2700362.316822] RDX: 0000000000000000 RSI: 00007ffea5de8c20 RDI: 00000000ffffff9c
[2700362.316859] RBP: 0000000000034d4a R08: 0000000000000000 R09: 000000000000a000
[2700362.316887] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000006
[2700362.316920] R13: 000055c47ca07070 R14: 0000000000000000 R15: 0000000000000006
[2700362.316957] Modules linked in: binfmt_misc eset_rtp(OE) nfsv3 nfs_acl rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace fscache sunrpc nf_tables nfnetlink intel_rapl_msr intel_rapl_common crct10dif_pclmul crc32_pclmul ghash_clmulni_intel joydev pcspkr i2c_piix4 xfs libcrc32c ata_generic cirrus drm_shmem_helper drm_kms_helper crc32c_intel syscopyarea sysfillrect sysimgblt fb_sys_fops virtio_net ata_piix virtio_blk drm net_failover serio_raw libata failover dm_mod fuse

Environment

  • Red Hat Enterprise Linux 8
  • 3rd party module: eset_rtp

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