RHEL9: Kernel panic at strcasecmp+0x3 with refresh_cache_worker
Issue
- Kernel panic with logs:
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 2 PID: 469174 Comm: kworker/u16:4 Not tainted 5.14.0-70.97.1.el9_0.x86_64 #1
Workqueue: cifs-dfscache refresh_cache_worker [cifs]
RIP: 0010:strcasecmp+0x3/0x50
Code: 1f 84 00 00 00 00 00 48 89 f8 31 d2 0f b6 0c 16 88 0c 10 48 83 c2 01 84 c9 75 f1 c3 cc cc cc cc 0f 1f 80 00 00 00 00 45 31 c8 <42> 0f b6 04 07 0f b6 c8 89 c2 83 c2 20 f6 81 80 b1 89 b9 01 42 0f
RSP: 0018:ffffc90008367958 EFLAGS: 00010246
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff873eda27
R10: ffffc900083679a0 R11: 0000000000000001 R12: ffff88812624c000
R13: dffffc0000000000 R14: ffff88810e6e9a88 R15: ffff888119bb9000
FS: 0000000000000000(0000) GS:ffff888151200000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000561a4d922418 CR3: 000000010aecc000 CR4: 0000000000350ee0
Call Trace:
refresh_cache_worker+0x895/0xd20 [cifs]
process_one_work+0x7bd/0x12d0
worker_thread+0x5ac/0xec0
? rescuer_thread+0x380/0x380
process_one_work+0x12d0/0x12d0
kthread+0x2a5/0x350
? set_kthread_struct+0x50/0x50
ret_from_fork+0x1f/0x30
RIP: 0010:strcasecmp+0x3/0x50
Environment
- Red Hat Enterprise Linux 9.0
kernel-5.14.0-70.97.1.el9_0
- [cifs]
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.