CIFS: panic on concurrent mount operations due to null prepath and CIFS_MOUNT_USE_PREFIX_PATH set
Issue
- System panics while mounting cifs share with below call traces:
[5997829.724909] CIFS VFS: cannot query dirs between root and final path, enabling CIFS_MOUNT_USE_PREFIX_PATH
[5997829.730550] BUG: unable to handle kernel NULL pointer dereference at (null)
[5997829.731516] IP: [<ffffffffadf8b438>] strcmp+0x18/0x40
[5997829.731516] PGD 0
[5997829.731516] Oops: 0000 [#1] SMP
Environment
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 7
- cifs client
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.