Kernel crashes after a WARNING due to invalid error code returned by `smb2_get_enc_key`

Solution Verified - Updated -

Issue

  • Kernel crashes after a WARNING due to invalid error code returned by smb2_get_enc_key
  • Kernel panic with an exception RIP: smb2_writev_callback
  • Kernel crashed after the following Warning message in the kernel ring buffer:
CIFS: VFS: \\trolleybackupaccount.file.core.windows.net crypt_message: Could not get encryption key
------------[ cut here ]------------
err = 1
WARNING: CPU: 3 PID: 1166056 at lib/errseq.c:74 errseq_set+0x5f/0x80

Environment

  • Red Hat Enterprise Linux 8.6 and earlier.
  • CIFS

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