Kernel panic in mutex_lock() due to an out-of-tree (O) kernel module [secfs2].
Issue
- Kernel panic in the
mutex_lock()function due to an out-of-tree (O) kernel module [secfs2].
[4100410.969943] BUG: unable to handle kernel NULL pointer dereference at 00000000000000a0
[4100410.970646] IP: [<ffffffffb8db6025>] mutex_lock+0x15/0x33
[4100410.971324] PGD 800000042faa7067 PUD 1580ec067 PMD 0
[4100410.971979] Oops: 0002 [#1] SMP
[4100410.972633] Modules linked in: vsock_diag tcp_diag ...
[4100410.980045] CPU: 7 PID: 25288 Comm: find Kdump: loaded Tainted: POE ------------ T 3.10.0-1160.99.1.el7.x86_64 #1
[4100410.981157] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 12/12/2018
[4100410.982024] task: ffff92c007360000 ti: ffff92bedf924000 task.ti: ffff92bedf924000
[4100410.982725] RIP: 0010:[<ffffffffb8db6025>] [<ffffffffb8db6025>] mutex_lock+0x15/0x33
[4100410.983436] RSP: 0018:ffff92bedf927868 EFLAGS: 00010246
[4100410.984157] RAX: 0000000000000000 RBX: 00000000000000a0 RCX: ffff92bedf927fd8
[4100410.984885] RDX: 0000000000000000 RSI: 000000000000031a RDI: 00000000000000a0
[4100410.985605] RBP: ffff92bedf927870 R08: 000000000001f180 R09: 0000000000000000
[4100410.986333] R10: ffff92befddd6394 R11: 0000000001000000 R12: 0000000000000000
[4100410.987085] R13: 000000000000031a R14: 0000000000000000 R15: ffff92bed73fcc48
[4100410.987854] FS: 00007efff4b2f840(0000) GS:ffff92c6ffdc0000(0000) knlGS:0000000000000000
[4100410.988610] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[4100410.989366] CR2: 00000000000000a0 CR3: 0000000161200000 CR4: 00000000007607e0
[4100410.990179] PKRU: 55555554
[4100410.990970] Call Trace:
[4100410.991813] [<ffffffffc0a8546e>] mds_rk_obj2_rktrans+0x12e/0x140 [secfs2]
[4100410.992658] [<ffffffffc0a88174>] mds_rkattr_discard+0x44/0x130 [secfs2]
[4100410.993491] [<ffffffffc0aa524a>] sfs_rkattr_discard+0x3a/0x70 [secfs2]
[4100410.994302] [<ffffffffc09d3303>] sf_protect_oxf+0xd43/0x1120 [secfs2]
[4100410.995126] [<ffffffffb88680c3>] ? lookup_fast+0xb3/0x230
[4100410.995924] [<ffffffffb8db7112>] ? down_read+0x12/0x40
[4100410.996786] [<ffffffffc0a55f72>] ? vmfs_filesys_find+0x72/0x80 [secfs2]
[4100410.997607] [<ffffffffb86cc745>] ? wake_up_bit+0x25/0x30
[4100410.998433] [<ffffffffc09d396d>] sf_protect+0x28d/0xf30 [secfs2]
[4100410.999262] [<ffffffffb886e15d>] ? putname+0x3d/0x70
[4100411.000116] [<ffffffffc09d4e4e>] op_lookup+0x2be/0x4a0 [secfs2]
[4100411.001014] [<ffffffffc0a0b755>] ? _vm_free+0x35/0x70 [secfs2]
[4100411.001844] [<ffffffffb8867cb2>] ? __inode_permission+0x52/0xe0
[4100411.002665] [<ffffffffb8835b75>] ? kmem_cache_alloc+0x35/0x1f0
[4100411.003453] [<ffffffffb8866d93>] lookup_real+0x23/0x60
[4100411.004264] [<ffffffffb88677e2>] __lookup_hash+0x42/0x70
[4100411.005088] [<ffffffffb8dae6fc>] lookup_slow+0x42/0xab
[4100411.005880] [<ffffffffb886bffe>] path_lookupat+0x89e/0x8d0
[4100411.006675] [<ffffffffb8db6022>] ? mutex_lock+0x12/0x33
[4100411.007510] [<ffffffffb8835b75>] ? kmem_cache_alloc+0x35/0x1f0
[4100411.008305] [<ffffffffb886e1df>] ? getname_flags+0x4f/0x1a0
[4100411.009073] [<ffffffffb886c05b>] filename_lookup+0x2b/0xd0
[4100411.009896] [<ffffffffb886f3a7>] user_path_at_empty+0x67/0xc0
[4100411.010757] [<ffffffffc088bd53>] ? xfs_free_eofblocks+0xd3/0x1e0 [xfs]
[4100411.011541] [<ffffffffb886f411>] user_path_at+0x11/0x20
[4100411.012286] [<ffffffffb8861913>] vfs_fstatat+0x63/0xd0
[4100411.012996] [<ffffffffb8861dd4>] SYSC_newfstatat+0x24/0x60
[4100411.013700] [<ffffffffb885e1ae>] ? ____fput+0xe/0x20
[4100411.014371] [<ffffffffb86c7f70>] ? task_work_run+0xc0/0xe0
[4100411.015015] [<ffffffffb886225e>] SyS_newfstatat+0xe/0x20
[4100411.015621] [<ffffffffb8dc539a>] system_call_fastpath+0x25/0x2a
[4100411.016218] Code: 1f 80 00 00 00 00 83 ea 01 89 50 10 eb d1 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 48 89 e5 53 48 89 fb e8 ee 1e 00 00 48 89 df <f0> ff 0f 79 05 e8 b1 0b 00 00 65 48 8b 04 25 c0 0e 01 00 48 89
[4100411.017508] RIP [<ffffffffb8db6025>] mutex_lock+0x15/0x33
[4100411.018101] RSP <ffff92bedf927868>
[4100411.018689] CR2: 00000000000000a0
Environment
- Red Hat Enterprise Linux 7
- Vormetric Encryption Expert Cryptographic Module
- Out-of-tree (O) kernel module: [
secfs2]
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.